Commit graph

173 commits

Author SHA1 Message Date
Ari Timonen
8c812df99c Add some forum testing 2020-03-22 14:22:10 +02:00
Ari Timonen
a41b28ae23 Update uers_contoller and add almost working spec. 2020-03-21 22:33:44 +02:00
Ari Timonen
4c5108bc4e Fix more tests 2020-03-20 01:31:04 +02:00
Ari Timonen
c9b7036047 Fix params + steamid bug 2020-03-18 23:23:30 +02:00
Ari Timonen
2bf16ba800 Fix topic params 2020-03-18 22:08:53 +02:00
Ari Timonen
5d4132ccbf Fix link_to_function in contesters
Fix params for comment and message
Fix tinymce errors
2020-03-18 21:41:54 +02:00
Ari Timonen
e59e8ac8e7 Lots of rails 4 updates
- Add .params to models and update controllers
- Add afk time to gather
- Reannotate models
- Fix rspec problem by using latest rspec plugins from github
2020-03-18 05:38:17 +02:00
Ari Timonen
76faa4d18c Fix articles and the tests
Fix user password
Add errors to production only
Improve tests
2020-03-17 21:31:57 +02:00
Ari Timonen
2d73f617bc Update to rails 6 2020-03-17 04:55:56 +02:00
Ari Timonen
a66cb599a1 JS fixes 2020-03-17 04:19:59 +02:00
Ari Timonen
93ab019d8c Fix more scopes and fix gather 2020-03-17 03:03:02 +02:00
Ari Timonen
fa4fbb589d Change before_filter and remove attr_protected 2020-03-17 01:57:47 +02:00
Ari Timonen
a6eb8bc7b1 More work on feature tests, remove readings 2020-03-16 04:36:06 +02:00
Ari Timonen
0e64bb9333 Temp. solution for movies 2020-03-16 03:08:21 +02:00
Ari Timonen
4a2b4d6c71 Fix rails4 stuff 2020-03-15 22:59:08 +02:00
Ari Timonen
5fcf4b2a72 Update to unread gem 2020-03-15 20:31:00 +02:00
Ari Timonen
bdbdef1635 Update to FactoryBot and fix admin panel spec 2020-03-15 15:33:58 +02:00
Ari Timonen
b35ba51910 More test fixes for rails 4 2020-03-15 09:53:52 +02:00
Ari Timonen
88721b28df Fixes for development
Temporary fix for puma.rb
Rename .env.dev
Fix more merge conflicts

Dev env runs and tests run (with fails)
2020-03-14 21:43:19 +02:00
Ari Timonen
2c71b1147d Merge rails-4 to rails4 2020-03-14 21:10:24 +02:00
Ari Timonen
4e3009b5c2 Rails 4 updates 2020-03-09 00:07:12 +02:00
Absurdon
db9d4c1564
Added Contributor Group Treatment
* Logrotation for production
* added contributors class method to Group
* added contributor? method to User
* added contributor flag to User-API
* added Contributor-Tab to staff-page
2019-11-12 23:27:54 +01:00
Ari Timonen
fc94c8b8e7 Add some upgrades and pending upgrade 2019-10-10 22:12:17 +03:00
Ari Timonen
11fcea3259 Add docker dev version
Add env and docker files for development

Fix some random things related to rails upgrade
2019-09-24 22:55:34 +03:00
Ari Timonen
91a8cdca59 Partially fix gather removal bug 2019-06-07 22:47:21 +03:00
Ari Timonen
f156ed3060 More progress on upgrade 2019-06-07 11:04:16 -04:00
Ari Timonen
ce9797aed8 More progress on Rails 4.1 update
Just fix scopes mostly.

Add binstubs.
2019-06-03 15:38:24 -04:00
Ari Timonen
768d3faa1b Update scopes for rails 4 2019-06-02 04:26:36 +03:00
Absurdon
dec054eed8 removed shoutmsg history
removed compmod council group from staff page
fixed some errors with missing database entries
2018-09-21 17:30:43 +02:00
Absurdon
f695db4bb1 Fix updating of custom urls 2018-05-03 19:26:18 +02:00
Absurdon
97755834f8 Prevent setting teammembers back to joining 2017-12-03 20:53:07 +01:00
Absurdon
1c22ba3482 Fix logical flaw in match proposal msg texts 2017-12-03 20:34:34 +01:00
Absurdon
8c0378579b Implementing custom_url logic 2017-11-12 18:02:53 +01:00
Absurdon
0f0393ecc5 Fixing path to administrate view and added permission checks to controller 2017-11-12 18:02:53 +01:00
Absurdon
29d447e97b Implemented #show 2017-11-12 18:02:53 +01:00
Absurdon
8e58a30285 Renaming because old unused stuff is getting in the way 2017-11-12 18:02:53 +01:00
Absurdon
6b334ced39 Create stubs for controller and model 2017-11-12 18:02:53 +01:00
Absurdon
60779b8c05 Fixing contests with closed signups are still joinable 2017-10-30 13:23:12 +01:00
Absurdon
7baac43cbb Fixing bug in match proposals, that prevents admins from checking them 2017-10-18 21:26:25 +02:00
Absurdon
632ed2b831 Resolves #105 - Give admins possibility to search users by their lastip 2017-10-16 19:34:28 +02:00
Absurdon
fe60bcea49 Fixed an error with proposal update messages not getting sent properly 2017-10-15 14:14:53 +02:00
Absurdon
e85cf3a18d Make System send a message to opposing team whenever state of an proposal changes, sent message is dependend on new state 2017-10-13 18:22:33 +02:00
Absurdon
fa68d2ef06 Made System send a message to opposing team on proposal creation, created a clean migration for match_proposals table 2017-10-13 17:53:48 +02:00
Absurdon
a065db9159 Adding link to scheduled matches on contest page and bug fixing 2017-10-08 14:46:45 +02:00
Absurdon
52e0d9ad71 Improving and fixing status updating via ajax request, prevent creation of new proposals when there is a confirmed one (not tested yet) 2017-10-07 14:02:14 +02:00
Absurdon
62bc78274a Creating view to show confirmed matches, fixing bugs in permission logic and making proposal status updates ajax requests 2017-10-07 12:28:06 +02:00
Absurdon
548b15489c Merge branch 'master' into MatchScheduler 2017-10-06 15:35:44 +02:00
Prommah
8717173797 Return error in JSON for users API 2017-10-01 19:22:52 +02:00
Prommah
56087b09f3 404 bad user API requests & spec 2017-10-01 19:22:52 +02:00
Absurdon
6b5cafcbf0 Made API return 404 when no user was found 2017-09-30 01:06:19 +02:00