Commit graph

251 commits

Author SHA1 Message Date
Ari Timonen
d44c04534b Fixed tests, all tests pass 2020-11-15 05:11:41 +02:00
Ari Timonen
0ea0bca438 Bring back ELO score func, fix ladder view 2020-04-19 06:04:05 +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
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
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
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
f29eb22aa9 Add WIP login via Steam + omniauth 2020-04-10 18:32:18 +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
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
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
d3ef9db9e9 Fix team validation 2020-03-26 03:52:13 +02:00
Ari Timonen
56303d39ba Fix models and views related to matches/contets 2020-03-26 01:34:31 +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
b15e1f888c Fix more conditions and tests 2020-03-23 04:22:12 +02:00
Ari Timonen
85d96b3388 Update and fix specs 2020-03-23 04:10:31 +02:00
Ari Timonen
84a1e13c95 Fix moveis and rmove flowplayer 2020-03-22 19:47:24 +02:00
Ari Timonen
b0b103a518 Remove acts_as_rateable 2020-03-22 14:55:47 +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
5a2324166e Fix steamid validation 2020-03-18 23:36:21 +02:00
Ari Timonen
c9b7036047 Fix params + steamid bug 2020-03-18 23:23:30 +02:00
Ari Timonen
f51af16ca2 User profile param fix 2020-03-18 22:03:56 +02:00
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