Jason Denney
4eae374aa9
Fix column title while we're at it
11 years ago
Jason Denney
dc60630d2d
On second thought, don't want to default this one.
11 years ago
Ron Warholic
ba0f84a97c
Added forceFit option to all the grids so they resize nicely
11 years ago
Jason Denney
4aed82cf80
Make wheel size an combobox option on bikes
11 years ago
Ron Warholic
83bdaf5973
Removed errant whitespace
11 years ago
Ron Warholic
da176e00ba
Added default values for most add-item forms
11 years ago
Jason Denney
3faa19bc0c
Adding min chars to forms
11 years ago
Jason Denney
bbba67d7d5
remove trailing whitespace
11 years ago
Ron Warholic
86ada003d6
Fixed default sort and added migration for shop_id => Integer
11 years ago
Jason Denney
ec5db646a0
Use models to sort data when possible
11 years ago
Jason Denney
47f616b7b0
Moving bike model to the bikes table
Leaving the bike_models table and bikes.bike_model_id column as a backup.
11 years ago
Jason Denney
69c01b8225
Bike log events are instanteous, remove end_date
11 years ago
Jason Denney
e491c0530c
Set default sort order on users, bikes, userroles
11 years ago
Jason Denney
cecb3b1a32
Changing bike_status to bike_purporse
11 years ago
Jason Denney
5e80c8866a
set username to read only
11 years ago
Jason Denney
4d008163e1
Changing min_chars for autocomplete to 1 char
11 years ago
Jason Denney
cd4f891c95
User roles added by full name instead of username
11 years ago
Jason Denney
f1214ab7e6
remove hours, created_at, updated_at in bike logs
11 years ago
Jason Denney
4a7751959c
Added end date to user timesheet, removed created & updated
11 years ago
Jason Denney
cf922be1b1
Quick workflow short term fix
11 years ago
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
ac24711289
Rename User History to User Timesheet
12 years ago
Jason Denney
ff60fdd67f
Removing nickname from user
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
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
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
687cb33974
Added color blocks to grid view
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
John N. Milner
b67062fb32
New view to show the current day's check ins
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
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
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