Jason Denney
7736ac5c34
Added credit tracking and stats
Added credit_conversions table so conversions can change over time
Added default credit conversion fixture
Added User#transaction_logs
Added User#total_credits (earned minus spent)
Added User#total_credits_spent (through transaction_logs)
Added User#total_earned_credits (complicated query which finds the conversion rate for a log depending on its created_at date)
12 years ago
Jason Denney
f713c6bacd
Forgot to remove nickname from registration form
12 years ago
Jason Denney
ac24711289
Rename User History to User Timesheet
12 years ago
Jason Denney
ff60fdd67f
Removing nickname from user
12 years ago
Jason Denney
cd41735cee
Bug in User#completed_build_bikes query. inner
12 years ago
Jason Denney
0f89cf057a
Display User roles by username, then full name
Also set the default_fields_for_forms
12 years ago
Jason Denney
8172b04805
12 years ago
Jason Denney
2c548ff63c
User#completed_build_bikes method, and stats page list
12 years ago
Jason Denney
1defca3668
Fixing some bike logs permissions
12 years ago
Jason Denney
88d3160e29
Fixing logs add_in_form and search
12 years ago
Jason Denney
edff478204
Reordering Admin tab panel, putting logs last
12 years ago
Jason Denney
84ca3a6f96
Search form requires :field_label when overriding default_fields_for_forms
12 years ago
Jason Denney
51caa93afa
Some js wasn't getting loaded at login. and other fixes
12 years ago
Jason Denney
854c8efaa9
only admins can see checkins
12 years ago
Jason Denney
f6f932f63a
Fixing some cancan permission issues… i think
12 years ago
John N. Milner
b25a4520f9
Correct log criteria for Check Ins view
12 years ago
John N. Milner
adeca0e08a
Corrected Check Ins view to show the checked-in user, not the user who logged the check in
12 years ago
Jason Denney
db1732f7bf
Bug in user_stats queries
12 years ago
Jason Denney
d5662284ab
Added link for users to update email/password
12 years ago
Jason Denney
0ef4e81474
Added reset password action column to users comp.
12 years ago
Jason Denney
761ab81b56
Added reset password api method
12 years ago
Jason Denney
687cb33974
Added color blocks to grid view
12 years ago
Jason Denney
7f029f2a83
Removing commented js
12 years ago
Jason Denney
c7974c52e8
Adding color picker for bikes view/forms
12 years ago
Jason Denney
8c864e2006
Measurements will be in inches for the time being
12 years ago
Jason Denney
6d2e7686d6
Remove unneeded if
12 years ago
Jason Denney
9021294c4b
Auth by username instead of email
Added username to User table/model
12 years ago
Jason Denney
a07d6345e8
Mildly better looking signup page w/ errors.
12 years ago
Jason Denney
db6b7ff7da
Adjusting how javascript is loaded
Now js is loaded per controller
12 years ago
Jason Denney
75734a075c
Moving new_user.js to devise/registrations.s
12 years ago
Jason Denney
73bb35de88
Moving bootstrap.js
12 years ago
Jason Denney
8c5132814f
New User Sign up now annoys user to input contact info
12 years ago
Jason Denney
2e08f655ea
Registration form now remembers field values for nested form errors
12 years ago
John N. Milner
b67062fb32
New view to show the current day's check ins
12 years ago
Jason Denney
145a731ed2
Remove puts
12 years ago
Jason Denney
a00c1ed925
Finished Checkin/out feature for now
-Checkin/out api methods can be used while signed in
-Added checkout button in Netzke App, which also signs out in addition to checking out.
12 years ago
Jason Denney
d7755f00ed
Initial stab at check-in feature
12 years ago
Jason Denney
c504252541
Add bootstrap css to login page
12 years ago
Jason Denney
65c8cf8cf1
Fix setting default log action
12 years ago
Jason Denney
81217f1ea8
Give better names to columns, add last name col
12 years ago
Jason Denney
bc1eeea16e
Make the title of user roles tab
12 years ago
John N. Milner
8f988b2cf1
Use `self.table_name = ` instead of set_table_name to avoid deprecation warning
12 years ago
Jason Denney
a614b28558
Make it possible to limit roles by date
12 years ago
Jason Denney
6f6902dd82
Update Ability to get user roles, not role
12 years ago
Jason Denney
a083ed715b
Renamed UserRoles to UserRole Joins, Needed ID column in user_role_joins table
12 years ago
Jason Denney
91bb2ea43e
Changing UserRole to UserRoleJoin
Beware, this breaks the view for some reason
12 years ago
John N. Milner
a3fcdec10c
WIP adding user roles view; adding end datetime to user roles
12 years ago
John N. Milner
59e45fa4d3
Initial work on permissions with cancan
12 years ago
John N. Milner
6a29eda8d9
WIP: cancan permissions; it breaks stuff!
12 years ago
John N. Milner
55fbd06305
Closes #1
12 years ago