Ilya Konanykhin
b7729ae29a
BikeCsvImporter: add comments
8 years ago
Ilya Konanykhin
a6a616cf6d
BikeCsvImporter: add status logs
8 years ago
Ilya Konanykhin
ae79a34652
BikeCsvImporter: colorize importer output to highlight individual row statuses
8 years ago
Ilya Konanykhin
072f303c65
BikeCsvImporter: refactor importer to output log messages to stdoud
8 years ago
Ilya Konanykhin
c1ca501204
BikeCsvImporter: fix incorrect method signatures
8 years ago
Ilya Konanykhin
0a338a2485
BikeCsvImporter: refactor BikeAttrs for methods to receive a single value, not the whole hash
8 years ago
Ilya Konanykhin
b5e8aa554f
BikeCsvImporter: refactor by splitting into parts
8 years ago
Ilya Konanykhin
cfe81d6e65
BikeCsvImporter: add dummy field values for "bike_condition_id", "bike_wheel_size_id", "bike_style_id", "serial_number", "seat_tube_height"
8 years ago
Ilya Konanykhin
802db2ba34
BikeCsvImporter: print successfull matches & fix "unknown" model
8 years ago
Ilya Konanykhin
0083dd9bca
BikeCsvImporter: add dry run
8 years ago
Ilya Konanykhin
95dbe162f7
BikeCsvImporter: make Bike#bike_model_id field accessible and specify it as a foreign key explicitly
8 years ago
Ilya Konanykhin
c171598354
BikeCsvImporter: add "bike_brand_id", "bike_model_id", "model"
8 years ago
Ilya Konanykhin
ae8b5cccd0
BikeCsvImporter: add "value"
8 years ago
Ilya Konanykhin
c79ec57684
BikeCsvImporter: add "purpose_id", temporary remove "gone"
8 years ago
Ilya Konanykhin
5564a1931f
BikeCsvImporter: import bikes, first step (main code, shop_id)
8 years ago
Ilya Konanykhin
904b824c8b
Create rake task (import:bikes:csv, import:bikes:analyze_csv) & importing class
8 years ago
Ilya Konanykhin
45e14a1070
Fix: user email should be null instead of empty string
8 years ago
Ilya Konanykhin
66fee66db0
Fix: validate username presence & uniqueness
8 years ago
Ilya Konanykhin
5f7eb43f63
Bike photo upload
8 years ago
Ilya Konanykhin
a68e7eca56
User avatar upload at sign up
8 years ago
Jason Denney
3e480981c7
Fix User being able to add bikes
11 years ago
Jason Denney
ca3026e7c5
Added delete time entry feature spec
11 years ago
Jason Denney
5e0d678ea1
Finish time entry delete JS/html
11 years ago
Jason Denney
894423e66f
Fixed bug in user credits available
Personal work was counting toward credits, now it’s possible to add a
column to user actions to denote if a user action can count to credits.
11 years ago
Jason Denney
57d72c04a7
Fix TimeEntry scope
11 years ago
Jason Denney
4224f0de40
Added Time entries index page
11 years ago
Jason Denney
1191014471
WIP, cleaned up api/time_entries, added TimeEntry
* Added scoped TimeEntry model
* Removed setting defaults in TimeEntry controller
* Still working on tests…
11 years ago
Jason Denney
062ed9c2d1
Added tests for user checkin/checkout on index
11 years ago
Jason Denney
3b904f95f2
Adding api task_lists#show and spec, edit.haml updates
11 years ago
Jason Denney
d0c05a0244
Fix validations for creating a bike, view respond to errors
11 years ago
Jason Denney
83a4e4e9c1
Make bike color not required
11 years ago
Jason Denney
9edb90203c
Remove whitespace
11 years ago
Jason Denney
a11f5a1b91
Needed to add task_list_id as attr_accessible
Also improved labels for adding task
11 years ago
Jason Denney
852a00881e
Velocipede changed their wording to CLASS
Can't find purpose by name, will have to rely on default ID in case wording is changed.
11 years ago
Jason Denney
ea79c167eb
Don't attempt to show a wheel size if it's blank
11 years ago
Jason Denney
1f9bd4f3a0
Don't validate top tube on bike model
11 years ago
Jason Denney
4aed82cf80
Make wheel size an combobox option on bikes
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
087325c444
Whoops, only create once… not for every update...
11 years ago
Jason Denney
cecb3b1a32
Changing bike_status to bike_purporse
11 years ago
Jason Denney
a9fb3487a1
Remove unique constraint on bike_serial
bike serial index was already removed.
12 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
ff60fdd67f
Removing nickname from user
12 years ago
Jason Denney
cd41735cee
Bug in User#completed_build_bikes query. inner
12 years ago
Jason Denney
2c548ff63c
User#completed_build_bikes method, and stats page list
12 years ago
Jason Denney
f6f932f63a
Fixing some cancan permission issues… i think
12 years ago
Jason Denney
db1732f7bf
Bug in user_stats queries
12 years ago
Jason Denney
2e08f655ea
Registration form now remembers field values for nested form errors
12 years ago