Commit graph

1353 commits

Author SHA1 Message Date
Ari Timonen
85468b68d6 Update docker-compose 2020-10-10 00:16:00 +03:00
Ari Timonen
fa164a7afc Update docker-compose 2020-10-09 23:45:18 +03:00
Ari Timonen
7cf4636a1c Update docker-compose 2020-10-09 23:37:16 +03:00
Ari Timonen
b25f45d3d3 Update docker-compose 2020-10-09 23:20:12 +03:00
Ari Timonen
49455672e9 Update docker-compose 2020-10-09 23:17:33 +03:00
Ari Timonen
0891552af1 Update docker-compose to include nginx
Also fix .env.production ENV var name
2020-10-09 23:08:00 +03:00
Ari Timonen
506caad06a Add cmd to add dirs 2020-10-09 23:08:00 +03:00
Ari Timonen
132cd59011 Update env vars and nginx conf for deployment 2020-05-09 23:12:51 +02:00
Ari Timonen
4bb15ffd56 Create necessary dirs 2020-05-03 13:16:02 +03:00
Ari Timonen
66f012f3ec Doc update 2020-05-03 12:49:25 +03:00
Ari Timonen
997f505151 Doc update 2020-05-03 12:49:25 +03:00
Ari Timonen
263cc2279e Add some WIP demo download script 2020-05-03 10:30:14 +02:00
Ari Timonen
a8e3fc9bb7 Add production nginx 2020-05-03 08:34:28 +02:00
Ari Timonen
e48bc5bed1 Update production ENV 2020-05-02 16:04:21 +03: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
1057403f6c Improve session helper for rspec 2020-04-19 04:21:16 +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
ae1e2ef833 Move gather shoutbox spec 2020-04-18 08:04:23 +03:00
Ari Timonen
9a7ec83f65 Fix a missing route and confirm issue in gathers 2020-04-18 08:03:27 +03:00
Ari Timonen
494f341cad Fix more specs 2020-04-18 08:02:26 +03:00
Ari Timonen
3712aebaee NGINX header only set in prod+staging 2020-04-18 08:02:03 +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
49e9b3524c Update docs 2020-04-18 07:39:36 +03:00
Ari Timonen
f9928abcf1 Comment entry.sh 2020-04-14 02:08:48 +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
Ari Timonen
3b616698a6 Update docs 2020-04-14 01:47:02 +03:00
Ari Timonen
54d913e69c Make staging assets expire fast. 2020-04-14 01:47:02 +03:00
Ari Timonen
c5021c3c0a Add puma-killer to Gemfile 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
88a6c697cc Fix MariaDB issues
Use different root password
Use correct database for setup
Change precedence for setup SQL scripts
Remove deprececated options from my.cnf
2020-04-12 13:39:10 +03:00
Ari Timonen
5e9c725ab5 Doc update 2020-04-12 01:14:19 +03:00
Ari Timonen
d487f5e70b Dont force SSL 2020-04-11 17:26:02 +03:00
Ari Timonen
a0c701bcb9 Update style for new button 2020-04-11 17:18:59 +03:00
Ari Timonen
83dee237f4 Update steam icon 2020-04-11 17:11:25 +03:00
Ari Timonen
0342bf7c61 No cache in staging and force ssl 2020-04-11 16:40:49 +03:00
Ari Timonen
78797b94ba Add numeric UID's to docs and Dockerfile 2020-04-11 16:40:38 +03:00
Ari Timonen
154fafff32 Update steam button 2020-04-11 16:36:01 +03:00
Ari Timonen
2c0bde6219 Updat .env docs 2020-04-11 16:17:07 +03:00
Ari Timonen
f8d6368f10 Add a default random for secrets
Add a default random for APP_SECRET_KEY_BASE to avoid startup issues.
2020-04-11 16:01:56 +03:00
Ari Timonen
3e22b06f30 Add staging to secrets.yml 2020-04-11 15:57:37 +03:00
Ari Timonen
ffb9a6d688 Update docs and entry.sh 2020-04-11 15:53:52 +03:00
Ari Timonen
d582b0dbc5 Use entry-script 2020-04-11 15:45:17 +03:00
Ari Timonen
a602a611ab Add secrets back, update docs 2020-04-11 15:44:57 +03:00