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
John N. Milner
6a29eda8d9
WIP: cancan permissions; it breaks stuff!
12 years ago
John N. Milner
55fbd06305
Closes #1
12 years ago
Jason Denney
ad26dab160
Finished adding default Bike task list
12 years ago
Jason Denney
cd65e34ae1
Altered Bikes view to show a bike's task list.
Need to create a default task list for all bikes.
12 years ago
Jason Denney
1fbf183603
Use latest acts_as_loggable, switch to not wrapping bikes_border because, netzke?
12 years ago
Jason Denney
873bccb030
Completed adding transactions
12 years ago
Jason Denney
55d0b8f2f7
Some Transactions view adjustments
-moved js to customers and users components, in order to use accordion.
-Made the transaction form a little prettier
12 years ago
Jason Denney
2d51bd1d9a
Creating Transactions works
-Need to scope transactions for users
-Only Admins should be able to create transactions
12 years ago
Jason Denney
1b7daa45ca
Nested isn't working, another approach, add trans validations
User a transactions border, select the customer from a view of users and customers
12 years ago
Jason Denney
31935f6f7e
Nested attributes on Transactions isn't working so well
12 years ago
Jason Denney
11e738b428
Adding transactions
-Need to create a customers table to store contact information of customers who are not a user.
-Need to scope "User Transactions" for users, staff, and admin. Need to have a "All Shop Transactions" tab.
-Need to add conditional UX to form.
12 years ago
Jason Denney
cee461ebd9
Breaking out javascript into js files instead of inline
12 years ago
Jason Denney
92f7a3178c
Changed tab titles, and removed some redundant panel headers(titles)
12 years ago
Jason Denney
c00c8fa3df
Fixed user profiles and added NOTE action to bike_logs
12 years ago
Jason Denney
b11d04a397
Removing puts and console.logs
12 years ago
Jason Denney
665cc9f97a
Update stats when user log grid updated, and other stuff
12 years ago
Jason Denney
189137ba9d
Almost usable, still a lot of work left
-Moved bikes to User model instead of profile
-User can copy user log to a bike log with new actsasloggable
-Added user stats
-some css was messing up checkboxes, need to figure out which stylesheet was doing that
12 years ago
Jason Denney
db9982dcd2
Added user roles and authentication, sign in/out
12 years ago
Jason Denney
a626395648
Fixed associated attribute headers
12 years ago