Commit graph

672 commits

Author SHA1 Message Date
Ari Timonen
d44c04534b Fixed tests, all tests pass 2020-11-15 05:11:41 +02:00
Ari Timonen
54dec5685f Add WIP gather spec 2020-04-19 06:13:39 +03:00
Ari Timonen
0ea0bca438 Bring back ELO score func, fix ladder view 2020-04-19 06:04:05 +03:00
Ari Timonen
96a7135b76 Fix match proposals and reorder contest page 2020-04-19 04:59:39 +03:00
Ari Timonen
68de617f0e Add a workaround for profile deletion 2020-04-19 04:20:46 +03:00
Ari Timonen
2a21f70603 Do not show join contest header 2020-04-19 04:20:31 +03:00
Ari Timonen
9a7ec83f65 Fix a missing route and confirm issue in gathers 2020-04-18 08:03:27 +03:00
Ari Timonen
703f4c83d2 Fix error in user.rb preformat 2020-04-18 08:01:32 +03:00
Ari Timonen
31372ce3c8 Fix gather view 2020-04-18 08:00:49 +03:00
Ari Timonen
1c59cac569 Set email on empty 2020-04-14 01:47:02 +03:00
Ari Timonen
e1747cac83 Fix steam registering
- Allow updating SteamID of previous profile easily via steam login
- Fix bug with empty profile
- Redirect on login error on steam id update
- Fix styles and spacing in register form
2020-04-14 01:47:02 +03:00
Ari Timonen
3dc2de0fd6 Fix exception on missing user 2020-04-14 01:47:02 +03:00
Absurdon
8d16792bd5 FIX User#send_new_password
* add to_i to password length as nil.to_i == 0 but nil > 0 throws error
2020-04-13 16:01:48 +00:00
Absurdon
6f05d47a8d FIX
in User#authenticate:
* make search by username case sensitive as in prod there already are
  usernames diffing only in case
* use guard clause instead of nesting
2020-04-13 15:34:12 +00:00
Ari Timonen
a0c701bcb9 Update style for new button 2020-04-11 17:18:59 +03:00
Ari Timonen
154fafff32 Update steam button 2020-04-11 16:36:01 +03:00
Ari Timonen
752073b1eb Add steam login password message 2020-04-10 20:46:52 +03:00
Ari Timonen
5c6d40c18a Add cleanup function 2020-04-10 19:58:57 +03:00
Ari Timonen
1abc42851a Fix a bug when user was deleted 2020-04-10 19:58:36 +03:00
Ari Timonen
f29eb22aa9 Add WIP login via Steam + omniauth 2020-04-10 18:32:18 +03:00
Ari Timonen
abea0c6573 Fix fast reply button 2020-04-07 00:46:15 +03:00
Ari Timonen
0e9e1044e3 Fix maps 2020-04-07 00:33:09 +03:00
Ari Timonen
848866f883 Fix grouper params 2020-04-07 00:15:10 +03:00
Ari Timonen
dd0e3c2c38 Add protection for important groups 2020-04-07 00:12:51 +03:00
Ari Timonen
8b2ce91625 Update data_file correctly on recreate 2020-04-06 23:54:10 +03:00
Ari Timonen
2297e8c4d1 Allow manual password hash MD5 for testing 2020-04-06 23:41:42 +03:00
Ari Timonen
bfd866fa88 Fix group
Fix scrypt time for production
Fix nginx template path
2020-04-06 06:51:27 +03:00
Ari Timonen
0ec3da7bf6 Add .env to repo
Add template handling for password failure
2020-04-06 05:19:39 +03:00
Ari Timonen
2e6453dc6e Fix gathers 2020-04-03 09:48:32 +03:00
Ari Timonen
e855b46bd9 Fix deprecated finds 2020-04-02 05:51:37 +03:00
Ari Timonen
39ce9c613f Random view updates 2020-04-02 05:50:54 +03:00
Ari Timonen
3a4aa11d84 Add scrypt 2020-04-02 03:08:19 +03:00
Ari Timonen
b0c9697109 Fix a few pages in views 2020-04-01 05:40:17 +03:00
Ari Timonen
ce5dfcfa6a Finish recreate, Fix file browsing
Add it to adminpanel
2020-04-01 05:00:53 +03:00
Ari Timonen
bb49ab765f Annotations 2020-03-31 20:27:34 +03:00
Ari Timonen
2aea81d063 Add semi-working recreate for dirs 2020-03-31 20:27:28 +03:00
Ari Timonen
b79220466b Semi-working version of directories 2020-03-31 06:36:19 +03:00
Ari Timonen
dc332a8062 Fix recalc and contest edit page 2020-03-30 03:26:32 +03:00
Ari Timonen
df719dee40 Update contester header 2020-03-30 02:18:44 +03:00
Ari Timonen
2627e43e26 Fix random things
Add users to adminpanel, cleanup routes, remove byebugs
2020-03-30 02:17:34 +03:00
Ari Timonen
4d06c80bfe Fix up/down functions 2020-03-30 02:16:34 +03:00
Ari Timonen
f6b30be278 Improve contest page and match list for maps
Improve brackets
Update gitignore and docs.
2020-03-28 22:39:41 +02:00
Ari Timonen
f37dc8cdaa Fix match proposals 2020-03-27 03:00:29 +02:00
Ari Timonen
6c3648cafe Fix user.rb, applicaiton.rb and routes.rb 2020-03-26 20:50:45 +02:00
Ari Timonen
dcac8e067a Improve gather archive 2020-03-26 20:50:14 +02:00
Ari Timonen
fa7c32c507 Belongs_to has optional true 2020-03-26 04:26:30 +02:00
Ari Timonen
676c817236 Update contester edit 2020-03-26 04:24:17 +02:00
Ari Timonen
d3ef9db9e9 Fix team validation 2020-03-26 03:52:13 +02:00
Ari Timonen
8c21aef762 Add message for non-production envs 2020-03-26 03:52:05 +02:00
Ari Timonen
533be0af2c Random small fixes 2020-03-26 02:34:27 +02:00