Skip to content
Open

Rey #281

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
bc5d641
Create rake task importing data
gemstone496 Sep 8, 2024
27b7a78
Add initializers for Bike, Station, and StationController. Debug rake…
gemstone496 Sep 8, 2024
4ece677
i am a being of chaos and actually the previous commit had an extrane…
gemstone496 Sep 8, 2024
0339876
rake task works successfully now!
gemstone496 Sep 9, 2024
a7ac335
futz with order reversal and other features. All failed
gemstone496 Sep 10, 2024
368ca03
Add bike views and render them. TODO fix rake task to find bikes appr…
gemstone496 Sep 17, 2024
c5b07b5
Fix bike view and docked bikes
gemstone496 Sep 17, 2024
a14b226
Purge features-in-progress and finalize bike lists and available bikes
gemstone496 Sep 21, 2024
929859d
gitignore Gemfiles
gemstone496 Oct 17, 2024
cb39beb
Initial commit
LynnHaDo Oct 17, 2024
13b4c6e
Delete Gemfile and Gemfile.lock
gemstone496 Oct 17, 2024
e74d7ee
Delete Gemfile and Gemfile.lock
gemstone496 Oct 17, 2024
b5a5a75
whoops deleted Gemfiles on accident, time to fix it
gemstone496 Oct 17, 2024
eb34c0a
changed gemfiles
stingrey2244 Oct 17, 2024
015783a
added name to README
kat1eV Oct 31, 2024
7cdc8f3
Add signup page and user database
LynnHaDo Oct 31, 2024
08d9296
Set up site skeleton, adde pages for account, pricing, contact, home,…
stingrey2244 Nov 2, 2024
ba84575
Merge pull request #2 from gemstone496/rey
stingrey2244 Nov 2, 2024
c6909d3
forgot to add these files to the last commit
stingrey2244 Nov 2, 2024
a62b6ef
Merge pull request #3 from gemstone496/rey
stingrey2244 Nov 2, 2024
09d4854
Add reset password and log in
LynnHaDo Nov 2, 2024
85d5fee
Should be no changes here but just checking...
gemstone496 Nov 2, 2024
a13dd24
Revert "Should be no changes here but just checking..."
gemstone496 Nov 2, 2024
ac6b0f6
gitignore emacs backups
gemstone496 Nov 2, 2024
5deb69a
Protect password reset route
LynnHaDo Nov 2, 2024
eb39af6
Merge branch 'master' into lynn-p2
gemstone496 Nov 2, 2024
c270a46
Merge pull request #5 from gemstone496/lynn-p2
gemstone496 Nov 2, 2024
af36bdc
Merge remote-tracking branch 'origin' into jlil
gemstone496 Nov 2, 2024
4b2d918
Reset gemfiles
LynnHaDo Nov 2, 2024
731ba71
Gemfile doesn't work. Have to change it
LynnHaDo Nov 2, 2024
1e788e9
Add back routes
LynnHaDo Nov 2, 2024
a7495e3
Fix Gemfile.lock
LynnHaDo Nov 2, 2024
f26aebb
Configure gitattributes
LynnHaDo Nov 2, 2024
41667bf
attempted to create indiviudla station pages
stingrey2244 Nov 3, 2024
dfacf3f
new controller added
stingrey2244 Nov 3, 2024
f0ccf1e
fix Gemfile.lock, hopefully for the last time
gemstone496 Nov 3, 2024
ab861a8
Add precompiles as demanded by rails and fix duplicate migration func…
gemstone496 Nov 3, 2024
3395741
Merge branch 'master' into jlil
gemstone496 Nov 3, 2024
3d335a8
added new controller ad route
stingrey2244 Nov 3, 2024
2e28914
Remove insecure password field from the user table in schema.rb
gemstone496 Nov 3, 2024
6e32271
DRY main views
gemstone496 Nov 3, 2024
49c2f78
DRY station code
gemstone496 Nov 3, 2024
e9fede1
Revert "added new controller ad route"
stingrey2244 Nov 3, 2024
eb602fb
Fix bike rendering bug
gemstone496 Nov 3, 2024
798cbd3
added .gitignore file
stingrey2244 Nov 3, 2024
8b6edc5
Merge branch 'master' into rey
stingrey2244 Nov 4, 2024
07337ea
Merge remote-tracking branch 'origin' into katievalet
kat1eV Nov 4, 2024
ffbc3ea
Add signup and login links to acct page
gemstone496 Nov 4, 2024
7bbe398
Fix database bug where bikes.current_station_id was populated as null
gemstone496 Nov 4, 2024
7c41e6f
Revert "Should be no changes here but just checking..."
gemstone496 Nov 2, 2024
e0b32a6
gitignore emacs backups
gemstone496 Nov 2, 2024
ba04b46
DRY main views
gemstone496 Nov 3, 2024
5d972f2
DRY station code
gemstone496 Nov 3, 2024
c162a4b
Fix bike rendering bug
gemstone496 Nov 3, 2024
0c6a79d
Add signup and login links to acct page
gemstone496 Nov 4, 2024
993945d
Fix database bug where bikes.current_station_id was populated as null
gemstone496 Nov 4, 2024
507d2fb
resolve .gitignore conflict
gemstone496 Nov 4, 2024
e5403a5
Fix migration
LynnHaDo Nov 4, 2024
235877a
Sync up with master
LynnHaDo Nov 4, 2024
0a6cb4e
Why does Gemfile get deleted?
LynnHaDo Nov 4, 2024
f6ced51
fixed bug in load_data
stingrey2244 Nov 4, 2024
a159119
Merge branch 'master' into rey
stingrey2244 Nov 4, 2024
da344dc
Merge branch 'master' into lynn-p2
LynnHaDo Nov 6, 2024
17bac64
Merge pull request #6 from gemstone496/master
gemstone496 Nov 7, 2024
5afaf98
schema.rb modified with migrations
kat1eV Nov 7, 2024
200c60d
Merge branch 'katievalet' of https://github.com/gemstone496/valetbike…
kat1eV Nov 7, 2024
0fd564b
Added resourceful routes, and edited the station and bike controller …
stingrey2244 Nov 10, 2024
49bac7c
see last commit message (I forgot to add my files in!)
stingrey2244 Nov 10, 2024
7872ae5
nest layouts to DRY code
gemstone496 Nov 10, 2024
c70a0f9
Merge pull request #7 from gemstone496/rey
gemstone496 Nov 10, 2024
0a5f3f5
Embed simple map to valleybike stations
gemstone496 Nov 10, 2024
20bdb52
Merge pull request #8 from gemstone496/master
kat1eV Nov 10, 2024
b65b2cc
Create scripts to initialize and mark maps
gemstone496 Nov 10, 2024
9c08084
tried to use onload or execute function directly from html failed
gemstone496 Nov 10, 2024
3fc7fd2
map working with script embedded in erb file
gemstone496 Nov 10, 2024
d91460a
prepare even more nightmarish js usage until i can get my imports right
gemstone496 Nov 10, 2024
8ce7357
added new model (trip), added is_available column for bikes (and disp…
stingrey2244 Nov 11, 2024
d7ba32c
Merge pull request #9 from gemstone496/rey
gemstone496 Nov 11, 2024
b69f9b6
Merge branch 'master' into lynn-p2
LynnHaDo Nov 11, 2024
b522e7c
Add option to cancel registration and add account page
LynnHaDo Nov 11, 2024
430aacc
changed the favicon AGAIN </3
stingrey2244 Nov 11, 2024
d309f08
Merge pull request #11 from gemstone496/master
stingrey2244 Nov 11, 2024
de7db75
Merge pull request #12 from gemstone496/katievalet
kat1eV Nov 11, 2024
7d6b843
Remove gemfiles from commit
LynnHaDo Nov 12, 2024
d90cc9d
Fix layout for account
LynnHaDo Nov 12, 2024
7bd0f00
delete diagnostics zip
gemstone496 Nov 12, 2024
20a5af3
Move menu to application.html.erb
gemstone496 Nov 12, 2024
15240ab
made account data accessible in all of the controllers
stingrey2244 Nov 12, 2024
c6bf3dc
Add log out button
LynnHaDo Nov 12, 2024
1a50348
Merge pull request #14 from gemstone496/lynn-p2
gemstone496 Nov 12, 2024
e62c4d4
Add geocoder and successfully geocode stations
gemstone496 Nov 12, 2024
ba9a0d3
got javascript tag working properly
gemstone496 Nov 12, 2024
3cd4171
Would work if erb worked inside script tags T-T
gemstone496 Nov 12, 2024
4076a0f
setup lat and long arrays in stations/index for easier passing
gemstone496 Nov 13, 2024
8f73144
Merge pull request #15 from gemstone496/master
stingrey2244 Nov 13, 2024
85512bd
added a few methods for accesing user data, added buttons, started wo…
stingrey2244 Nov 14, 2024
0133953
set up 'new' action for reservation system (still need create)
stingrey2244 Nov 15, 2024
117c23a
fixed some small bugs, added a create action
stingrey2244 Nov 16, 2024
7c8c074
Pass lats and longs from controller to partial view
LynnHaDo Nov 16, 2024
5b27966
Add marker for each station
LynnHaDo Nov 16, 2024
70cde56
fixed errors with reservation, rendered layout, added confirmation page
stingrey2244 Nov 17, 2024
76911b5
Remove empty line
LynnHaDo Nov 17, 2024
d5d3898
THE LOCATIONS SHOW UP ON THE MAP
gemstone496 Nov 17, 2024
6eb4321
merge master into g-maps and fix layout nesting
gemstone496 Nov 17, 2024
a254360
Fix bike rendering to check if user == nil
LynnHaDo Nov 17, 2024
3f19013
merged in reservation system. probably stole a bike
gemstone496 Nov 17, 2024
049f0ab
Merge branch 'master' into lynn-p2
LynnHaDo Nov 17, 2024
e335b22
Adjust layout for account controller
LynnHaDo Nov 17, 2024
b6b9df4
Merge pull request #19 from gemstone496/master
stingrey2244 Nov 17, 2024
e9710ea
removed test code
stingrey2244 Nov 18, 2024
8ff3cb8
forgot to add these files (see last commit message)
stingrey2244 Nov 18, 2024
7a2f622
css and html changes for some pages
kat1eV Nov 19, 2024
a2bc555
changes
stingrey2244 Nov 19, 2024
3ccb64f
started shifting the user database to have trip data
stingrey2244 Nov 20, 2024
9142621
added some styling and altered te user database
stingrey2244 Nov 20, 2024
ab890e3
Merge branch 'rey' into master
stingrey2244 Nov 20, 2024
34604cd
Merge pull request #20 from gemstone496/master
stingrey2244 Nov 20, 2024
f3c12fd
redid the reservation end system to function without the previous bug…
stingrey2244 Nov 21, 2024
9139d36
Merge pull request #21 from gemstone496/rey
stingrey2244 Nov 21, 2024
ca84525
Merge pull request #22 from gemstone496/master
stingrey2244 Nov 21, 2024
bf935d0
fixed error w accessing stations when not logged in
stingrey2244 Nov 21, 2024
2d338a7
Merge pull request #23 from gemstone496/rey
stingrey2244 Nov 21, 2024
b920230
Merge pull request #24 from gemstone496/master
stingrey2244 Nov 21, 2024
2633e7b
some text and photos
kat1eV Nov 21, 2024
09fc71a
cache edits to fix map load bug
gemstone496 Nov 21, 2024
d5af9d6
Merge branch 'master' into katievalet
gemstone496 Nov 21, 2024
d9f10cf
Merge branch 'master' into katievalet
kat1eV Nov 21, 2024
c7812cf
Merge branch 'katievalet' of https://github.com/gemstone496/valetbike…
gemstone496 Nov 21, 2024
185191b
resolve Gemfile.lock duplicates
gemstone496 Nov 21, 2024
ce38434
Merge branch 'katievalet'
gemstone496 Nov 21, 2024
bab8477
fix geocoding for addresses that missed
gemstone496 Nov 22, 2024
d2994ce
render map through stimulus controller
gemstone496 Nov 22, 2024
c1e2bff
working targets for stimulus
gemstone496 Nov 22, 2024
26e0fec
bind popups for map markers
gemstone496 Nov 22, 2024
f46e8d6
map markers customized by station name, data transfer smoothing
gemstone496 Nov 22, 2024
c044841
swap in container object
gemstone496 Nov 22, 2024
dd55286
Replace popup name with popup button!!!!
gemstone496 Nov 22, 2024
bd41632
Merge branch 'master' into map-popups
gemstone496 Nov 22, 2024
fcec7d6
Change fonts for title and body
LynnHaDo Nov 22, 2024
8f81672
Merge pull request #26 from gemstone496/lynn-p2
gemstone496 Nov 22, 2024
14a98ae
station page cleaning
gemstone496 Nov 22, 2024
8188525
logout and delete account confirmations
gemstone496 Nov 22, 2024
0b498be
initialize stripe gem and config
gemstone496 Nov 22, 2024
36a819a
add missed config line
gemstone496 Nov 22, 2024
efffddd
Add styling & restructure HTML for all pages
LynnHaDo Nov 23, 2024
9f302fc
Merge pull request #28 from gemstone496/master
stingrey2244 Nov 23, 2024
10556fd
Disable navigation for access controllers' actions
LynnHaDo Nov 23, 2024
5fd56c0
changed database schema (no more curr bike id)
lizziedelmonico Nov 23, 2024
e3c5437
Allow users to edit account details and add validations to phone and …
LynnHaDo Nov 23, 2024
5e91b9e
Redirect user to account page after logging in
LynnHaDo Nov 23, 2024
88ad432
fixed typo
stingrey2244 Nov 24, 2024
dd81307
Merge pull request #31 from gemstone496/rey
stingrey2244 Nov 24, 2024
1f92f16
Merge pull request #32 from gemstone496/master
stingrey2244 Nov 24, 2024
02f7f4b
fix indent on bikes/_row
gemstone496 Nov 24, 2024
3d38854
resolve merge conflicts from contact.html.erb
gemstone496 Nov 24, 2024
e357a22
ok actually resolve conflicts correctly
gemstone496 Nov 24, 2024
0b49f32
add empty .erb for payment processing
gemstone496 Nov 24, 2024
bab948a
Merge branch 'rey' into stripe-api
gemstone496 Nov 24, 2024
1223ac6
merge conflicts from master
gemstone496 Nov 24, 2024
89ce801
ok properly set up payment pages with no content
gemstone496 Nov 24, 2024
5fd9d44
added some basic styling
stingrey2244 Nov 24, 2024
3547253
Set up profile uploader feature and change styling for account
LynnHaDo Nov 24, 2024
43423bb
Add edit button to pfp upload and allow users to remove avatar
LynnHaDo Nov 25, 2024
533b5d9
Merge pull request #33 from gemstone496/master
stingrey2244 Nov 26, 2024
d552b2b
added styling to station page
stingrey2244 Nov 26, 2024
945bbfb
added purple map markers!
stingrey2244 Nov 29, 2024
dca7f5f
Merge pull request #34 from gemstone496/rey
stingrey2244 Nov 29, 2024
5ff88b9
Merge branch 'master' into lynn-p2
LynnHaDo Dec 2, 2024
a120ee8
Merge pull request #29 from gemstone496/lynn-p2
LynnHaDo Dec 2, 2024
c9297ae
Add closing tag
LynnHaDo Dec 2, 2024
97d3175
Merge pull request #35 from gemstone496/master
stingrey2244 Dec 3, 2024
047cadb
Merge branch 'master' of https://github.com/gemstone496/valetbike
gemstone496 Dec 3, 2024
8caf670
fix Gemfile
gemstone496 Dec 3, 2024
8cd4008
migrations
gemstone496 Dec 3, 2024
05324ab
subscription controller
gemstone496 Dec 4, 2024
0bd21ad
add subscription files
gemstone496 Dec 4, 2024
d3987e9
created part of the trip history
stingrey2244 Dec 4, 2024
b9e3e6d
added trip history and styling to stations
stingrey2244 Dec 5, 2024
804cff8
Merge branch 'master' into stripe-api
LynnHaDo Dec 5, 2024
2c8aca3
touchup routes
gemstone496 Dec 5, 2024
08595d3
Add product/plan model and import plan data
LynnHaDo Dec 5, 2024
a6311fd
modify map marker generation to accept image paths
gemstone496 Dec 5, 2024
5bceb3f
Configure Stripe API keys
LynnHaDo Dec 5, 2024
8c26011
theoretically geocode by ip address
gemstone496 Dec 5, 2024
c68bf1d
marker with default pfp size
gemstone496 Dec 5, 2024
160b645
Allow user to pay for a subscription plan and set up stripe price id …
LynnHaDo Dec 5, 2024
9dd3044
TODO why does the controller not recognize the image path
gemstone496 Dec 5, 2024
5e72abf
Fix styling for pricing page
LynnHaDo Dec 5, 2024
5ac9385
pfp now pulled directly from user where possible
gemstone496 Dec 5, 2024
df905a7
merge you-are-here marker
gemstone496 Dec 5, 2024
1920116
fix typo
gemstone496 Dec 5, 2024
07647aa
Configure mailer for production mode
LynnHaDo Dec 5, 2024
183dbb8
Configure credentials for forgot email host
LynnHaDo Dec 5, 2024
c974243
Configure credentials for forgot email host
LynnHaDo Dec 5, 2024
5c88c01
Configure credentials for forgot email host
LynnHaDo Dec 5, 2024
4433fa4
Assign customer id to user
LynnHaDo Dec 5, 2024
67b77a7
Merge remote-tracking branch 'refs/remotes/origin/stripe-api' into st…
LynnHaDo Dec 5, 2024
b74ace5
Make one pricing page only
LynnHaDo Dec 5, 2024
569b775
Make payments the only controller that handles payment
LynnHaDo Dec 6, 2024
98fcf5f
Associate user to the current stripe session
LynnHaDo Dec 6, 2024
4f90425
Add success page after successful checkout
LynnHaDo Dec 6, 2024
164e778
gitignore master.key
gemstone496 Dec 6, 2024
7825722
Merge branch 'master' of https://github.com/gemstone496/valetbike
gemstone496 Dec 6, 2024
0af12db
add user
gemstone496 Dec 6, 2024
99452de
Merge branch 'master' into stripe-api
gemstone496 Dec 6, 2024
8f98491
Add mobile header i'm so happy
LynnHaDo Dec 6, 2024
3e93251
changed station page to reserve bikes directly, added info to leaflet…
stingrey2244 Dec 6, 2024
6da692e
Merge pull request #37 from gemstone496/lynn-p2
gemstone496 Dec 6, 2024
d88f82f
Fix plan details
LynnHaDo Dec 7, 2024
9eb3360
Merge branch 'lynn-p2' into stripe-api
LynnHaDo Dec 7, 2024
9fbc364
update password mailer language
gemstone496 Dec 7, 2024
7f1ac93
user now signs in automatically on account creation
gemstone496 Dec 7, 2024
f762b25
touchup map and controller for defaults
gemstone496 Dec 7, 2024
6370ea0
Add meter event creation on trip end. Set up db to support meter
LynnHaDo Dec 7, 2024
e12ad68
Modify account page to display plan details. Add option to cancel sub…
LynnHaDo Dec 7, 2024
020774e
finished the reserve bike from leaflet popup, added unstyled toggle b…
stingrey2244 Dec 7, 2024
d37200b
added some styling to toggle
stingrey2244 Dec 7, 2024
fbc914b
Limit customers to 1 subscription only
LynnHaDo Dec 7, 2024
4e93053
Merge branch 'master' into stripe-api
gemstone496 Dec 7, 2024
b1a067e
debugged toggle buttons (they work) fixed issue with font not changing
stingrey2244 Dec 7, 2024
9fad080
Remove quantity from checkout session
LynnHaDo Dec 7, 2024
94d1395
db update
gemstone496 Dec 8, 2024
41f006a
resolve the worst merge conflict of my life
gemstone496 Dec 8, 2024
6c6b801
payments update
gemstone496 Dec 8, 2024
d200105
payment merge conflict
gemstone496 Dec 8, 2024
c342bc6
Merge branch 'rey'
gemstone496 Dec 8, 2024
bfcf4d9
Merge pull request #39 from gemstone496/master
gemstone496 Dec 8, 2024
999bb0f
Add trips to mobile nav and fix leaflet default pfp url
LynnHaDo Dec 8, 2024
b36f357
fixed some modal popup issues, added styling,
stingrey2244 Dec 8, 2024
7b32171
Reformat the rows for stations and bikes
LynnHaDo Dec 8, 2024
b316e02
Merge pull request #40 from gemstone496/rey
stingrey2244 Dec 8, 2024
d3f3895
Fix the end trip controller
LynnHaDo Dec 8, 2024
91b89dd
Reorganize confirmation & account pages. Add invoice details
LynnHaDo Dec 8, 2024
84d1265
Fix breadcrumb link color
LynnHaDo Dec 8, 2024
34b3ec6
Add confirm modal before returning
LynnHaDo Dec 8, 2024
201a68e
Fix styling for buttons
LynnHaDo Dec 8, 2024
8a528b7
resolve conflicts but need to fix map_controller
gemstone496 Dec 8, 2024
732d2f8
map_controller update
gemstone496 Dec 8, 2024
da728e0
re-update leaflet partial (wtf git?\!?
gemstone496 Dec 8, 2024
e1c85e4
failed to debug map_controller
gemstone496 Dec 8, 2024
eea4bdb
map can't find pfp image but has pins
gemstone496 Dec 8, 2024
6fb52ce
working trip code, todo reroute
gemstone496 Dec 8, 2024
feb35fa
update product data for ordering purposes
gemstone496 Dec 8, 2024
86768b4
Merge pull request #42 from gemstone496/master
stingrey2244 Dec 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ yarn.lock linguist-generated

# Mark any vendored files as having been vendored.
vendor/* linguist-vendored

Gemfile merge=ours
Gemfile.lock merge=ours
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,16 @@
.tool-versions

# Ignore ENV variable file
.env
.env

# Ignore Gemfiles
Gemfile
Gemfile.lock

# ignore emacs backup files
*~
\#*\#
.idea

config/master.key

5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.exclude": {
"**/.git": false
}
}
19 changes: 16 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,22 @@ gem "jbuilder"
gem "redis", "~> 4.0"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"
gem "kredis"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"
gem "bcrypt", "~> 3.1.7"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false

# Boostrap
gem 'bootstrap', '~> 4.1.1'

# Use Sass to process CSS
# gem "sassc-rails"
gem "sass-rails", '~> 5.0'

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"
Expand Down Expand Up @@ -83,3 +86,13 @@ gem 'dotenv-rails'
# gem 'paperclip
# gem 'uniquify'
# gem 'will_paginate'

gem "nio4r", "~> 2.5"

gem 'geocoder', '~> 1.3', '>= 1.3.7'

gem 'stripe'

# for pfp
gem 'carrierwave', '~> 3.0'
gem 'rmagick'
Loading