Commit graph

1382 commits

Author SHA1 Message Date
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
Ari Timonen
5c75422c6f Update docs and add nginx redirect 2020-04-11 15:08:34 +03:00
Ari Timonen
a869c97c3b Fix deprecations in env-rbs and move options to root file 2020-04-11 04:38:15 +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
bfe19eb5e9 Update docs 2020-04-10 19:57:08 +03:00
Ari Timonen
f29eb22aa9 Add WIP login via Steam + omniauth 2020-04-10 18:32:18 +03:00
Ari Timonen
4583136768 Remove secret_token.rb 2020-04-10 07:43:06 +03:00
Ari Timonen
72782585be Update migrations to entry.sh and and dump script 2020-04-09 04:21:50 +03:00
Ari Timonen
7fcfe27084 Fix SSL for staging nginx 2020-04-09 03:36:19 +03:00
Ari Timonen
c1797204b5 Add a note about db 2020-04-08 23:20:28 +03:00
Ari Timonen
a09416e0ae Add password to staging (not used) 2020-04-08 23:01:43 +03:00
Ari Timonen
30b9198b6d Add staging that works
Tune env vars
Fix logs in gitignore
Rename DEPLOY_PATH env var
2020-04-08 22:25:24 +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
2628cfe10e Update scrypt migration 2020-04-06 05:52:39 +03:00