Commit graph

662 commits

Author SHA1 Message Date
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
Ari Timonen
56303d39ba Fix models and views related to matches/contets 2020-03-26 01:34:31 +02:00
Ari Timonen
63b20f4046 Add options to disable google calendar 2020-03-26 01:33:23 +02:00
Ari Timonen
420930f2b9 Fix teams and weeks 2020-03-25 04:30:37 +02:00
Ari Timonen
2529a23650 Fix a forum bug
Update docs + gitignore
2020-03-25 03:47:54 +02:00
Ari Timonen
0b033be5ca Fix more tests related to time 2020-03-25 03:13:38 +02:00
Ari Timonen
4304104fc4 Use root for parent ID for dirs 2020-03-24 23:55:11 +02:00
Ari Timonen
3a890b8803 Update docs + comment out debug 2020-03-23 05:24:44 +02:00
Ari Timonen
36595f0ff8 All tests pass after commenting out a few, fixme 2020-03-23 05:11:36 +02:00
Ari Timonen
b15e1f888c Fix more conditions and tests 2020-03-23 04:22:12 +02:00
Ari Timonen
89c1afb926 Fix datetime for movie 2020-03-23 04:10:50 +02:00