Ari Timonen
25761db2f3
Fix user params
2020-03-18 21:48:08 +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
46fab90cf4
Fix more scopes due to AR upgrades
2020-03-18 06:41:13 +02:00
Ari Timonen
9a6db89139
Fix bug on user page slow way
2020-03-18 05:53:19 +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
c0a7c88b8d
Fix model + temp fix for view
2020-03-17 04:31: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
160d29a569
Fix more scopes
2020-03-16 22:57:41 +02:00
Ari Timonen
143e364812
Fix more scopes for rails 4 + add rubocop
2020-03-16 22:46:27 +02:00
Ari Timonen
a6eb8bc7b1
More work on feature tests, remove readings
2020-03-16 04:36:06 +02:00
Ari Timonen
9952bf52b5
Fix country for undefined
2020-03-16 03:12:22 +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
322001f8d3
Rails 4 fixes
...
Update to ruby 2.3.8
Update gems
Fix tests
2020-03-15 20:31:46 +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
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
8760116bef
Make tests work a bit more
2019-10-22 01:57:48 +03:00
Ari Timonen
758dfda988
Update for rails 4
...
Mostly tests
2019-10-17 21:29:15 +03: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
Absurdon
e93588591b
Fix #131 Updating users may fail
...
Issue:
When a team gets deleted team_id is not properly cleared from users who
have set the team to be deleted as their main. When now someone trys
an operation that validates the user it fails as the team_id set on that
user is not valid anymore.
Solution:
To prevent this from happening in the future update users and set
team_id to nil.
Clean up:
To clean up existing users run
UPDATE users SET team_id=NULL WHERE team_id NOT IN(SELECT id FROM
teams);
2019-08-24 20:17:14 +02:00
Ari Timonen
23b545779d
Fix a few typos in views and models
2019-08-14 09:30:56 +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
Ari Timonen
0b53968d3d
Temporary commit
2019-06-01 13:56:09 +03:00
Ari Timonen
6122caa125
Add gather moderators
...
Fix few gather issues
2019-05-19 18:04:18 -04:00
Jiriki
b67c18dd90
Merge branch 'master' into lamefix
2018-11-24 23:44:05 +00:00
b
d5aef89bb0
add gathermod to gatherpage permissions
2018-11-15 20:59:36 +01: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
811b49bc20
Make ladders 'work', they are still not rly working like a ladder
...
Change contester ordering: taking amount of played games into account
2018-02-12 23:21:08 +01:00
Absurdon
8a29678907
Allow higher amount of points for matches... ask Mega why this is needed
2018-02-12 00:15:38 +01:00
Absurdon
d601d8643f
Fixing Tests
2017-12-06 22:20:55 +01:00
Absurdon
aef90cb0bf
Users only get messages sent to their primary team and removed some duplicated methods in User model
2017-12-05 22:21:16 +01:00
Absurdon
8c0378579b
Implementing custom_url logic
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
1257df3322
Make rules link in navigation point to current rules
2017-10-30 13:26:51 +01:00
Absurdon
60779b8c05
Fixing contests with closed signups are still joinable
2017-10-30 13:23:12 +01: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
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
781132781a
Added delayed status and reworked update permissions for match_proposals
2017-09-01 17:52:16 +02:00
Absurdon
fa27e9fae4
Merge branch 'master' into MatchScheduler
2017-08-30 20:14:10 +02:00
Absurdon
a43914e815
Migrated countries to use country_select gem and reworked how flags get displayed
2017-08-23 22:45:09 +02:00
Absurdon
0dd9308134
Redefined access control
2017-08-13 00:06:16 +02:00
Absurdon
9fe485cd71
refined access control for updating proposals
2017-07-07 17:10:28 +02:00
Absurdon
9c9ae32a9c
Merge branch 'master' into MatchScheduler
2017-07-07 16:05:02 +02:00
Absurdon
784c5832cf
fixed issues with NULL category not showing
2017-07-02 22:48:33 +02:00
Absurdon
9312a90585
refined issue to have more clear permission logic
2017-07-02 21:16:16 +02:00
Absurdon
f06dfc025a
show count for users signed in the last 30 days on users page
2017-07-02 17:14:07 +02:00
Absurdon
3edf8cc5e7
added comp mod council to staff page
2017-07-02 16:31:36 +02:00
Absurdon
dfbe4686ff
reworked match proposal update to allow stricter controll
2017-06-30 14:03:46 +02:00
Absurdon
8579d0b569
gave gathermods the possibility to respond to gather issues
2017-06-24 20:43:42 +02:00
Absurdon
313500c257
added gather mod tab to staff page
2017-06-21 09:39:30 +02:00
Absurdon
df5c6b1a7a
fixed parsed signatures might be bigger than allowed by database
2017-06-12 20:30:10 +02:00
Absurdon
ca9cdeb200
Fixed Syntax Error and error in Access Control
2017-06-04 20:30:33 +02:00
Absurdon
04f2fd77ff
Added view for creating proposals and added some controller functionality
2017-05-11 22:26:18 +02:00
Absurdon
0f05829bcc
started to shape out the controllers
2017-05-05 17:17:00 +02:00
Absurdon
160fccd118
Added model and controller stub
2017-05-01 16:57:32 +02:00
Absurdon
9989e840aa
fixed logical flaw in last commit
2017-03-08 02:21:49 +01:00
Absurdon
839aae732a
fixed logical flaw in last commit
2017-03-08 02:21:49 +01:00
Absurdon
035f15648a
fixed error for old bans that don't have a creator
...
validation failed on editing older bans that do not have a creator. Added a check to make sure this is still working.
2017-03-08 01:45:33 +01:00
Absurdon
4ce05f2563
fixed error for old bans that don't have a creator
...
validation failed on editing older bans that do not have a creator. Added a check to make sure this is still working.
2017-03-08 01:45:33 +01:00
Absurdon
569122862f
Gave Gathermods simple banning permissions
2017-03-06 02:33:12 +01:00
Absurdon
39758ff86c
Gave Gathermods simple banning permissions
2017-03-06 02:33:12 +01:00
Absurdon
9a0d2c6a25
Added creator to ban modell
2017-03-04 22:45:05 +01:00
Absurdon
c6a0ed106f
Added creator to ban modell
2017-03-04 22:45:05 +01:00
Absurdon
f17af42bfd
Update to new rules and updated categories
2017-02-27 23:21:59 +01:00
Absurdon
4a863ee5f4
Update to new rules and updated categories
2017-02-27 23:21:59 +01:00
Absurdon
0f397f9e7c
added link to comp mod article
2017-01-14 22:30:19 +02:00
Absurdon
cffa92e845
added link to comp mod article
2017-01-14 22:30:19 +02:00
Prommah
97f9366403
Fixed profle query error when there are zero results
2015-11-07 06:11:26 +00:00
Prommah
7a41f1294c
Fixed profle query error when there are zero results
2015-11-07 06:11:26 +00:00
Prommah
71424d9207
Fix rubocop offenses
2015-11-05 08:25:54 +00:00
Prommah
1b0de57cc3
Fix rubocop offenses
2015-11-05 08:25:54 +00:00
Prommah
a4f4f074ae
Cleaned up match model
2015-11-05 07:57:55 +00:00
Prommah
0e12505f9d
Cleaned up match model
2015-11-05 07:57:55 +00:00
Chris Blanchard
95deb32e05
Added moderator group
2015-10-20 18:04:50 +01:00
Chris Blanchard
39ff2b66d8
Added moderator group
2015-10-20 18:04:50 +01:00
Prommah
27aebc2a29
Fix styling and tidy validations
2015-09-24 10:19:00 +01:00
Prommah
aafbc4e657
Fix styling and tidy validations
2015-09-24 10:19:00 +01:00
Prommah
65cf350231
Improve & clean SteamID validation
2015-09-24 07:23:05 +01:00
Prommah
29ed865b27
Improve & clean SteamID validation
2015-09-24 07:23:05 +01:00
Prommah
3948541f10
Stricter SteamID validation
2015-09-24 01:35:30 +01:00
Prommah
798484af96
Stricter SteamID validation
2015-09-24 01:35:30 +01:00
Prommah
03538de390
Stricter SteamID validation
2015-09-24 01:32:16 +01:00
Prommah
758b0250fe
Stricter SteamID validation
2015-09-24 01:32:16 +01:00
Chris Blanchard
d4db1aafdf
Limit by 200
2015-09-05 19:16:14 +01:00
Chris Blanchard
c51ec2447c
Limit by 200
2015-09-05 19:16:14 +01:00
Chris Blanchard
fc7dd7286e
Return distinct topics
2015-09-05 17:09:20 +01:00
Chris Blanchard
a5cfa4df74
Return distinct topics
2015-09-05 17:09:20 +01:00
Chris Blanchard
bafb67f702
Rewrite recent_topic sql to return unique topics on subquery
2015-09-05 16:23:50 +01:00
Chris Blanchard
e0eaa89fbf
Rewrite recent_topic sql to return unique topics on subquery
2015-09-05 16:23:50 +01:00