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
Ari Timonen
4da3f38d25
Update more reasonable/helpful scrypt migration
2020-04-06 05:50:30 +03:00
Ari Timonen
c3ceb7853d
Add placeholder tmp+log
2020-04-06 05:37:26 +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
1ffca4e7a2
Use memcached for staging
2020-04-06 04:38:45 +03:00
Ari Timonen
4513bc9f84
Fix env vars issues
...
Dockerfile clean up + comments
entry.sh more env vars
Fix env* rbs
Comment out SSL for now in nginx
Doc updates
2020-04-06 03:31:05 +03:00
Ari Timonen
172285f03a
Update docs
2020-04-05 06:36:21 +03:00
Ari Timonen
464c6de87e
Remove flash
2020-04-05 06:30:36 +03:00
Ari Timonen
14d087b913
Fix dotenv load
2020-04-05 06:30:14 +03:00
Ari Timonen
75b33e760a
Move back to docker-compose + fix env vars
...
Fix env vars. Rely on inheritance.
Add a script to load env vars as above.
Fix staging env
Add nginx conf and SSL directory
Reorganize .gitignore
Use multi-staged docker-compose + dockerfile
Substitute env vars for static values
2020-04-05 05:58:41 +03:00