Commit graph

1285 commits

Author SHA1 Message Date
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
Ari Timonen
98db32e0fb Add nginx sample conf 2020-04-03 09:51:28 +03:00
Ari Timonen
2e6453dc6e Fix gathers 2020-04-03 09:48:32 +03:00
Ari Timonen
b24d2e987d Add staging and init scripts for DB 2020-04-03 01:52:58 +03:00
Ari Timonen
c273a30047 Add staging 2020-04-02 22:50:57 +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
7ec70323bf Fix migration - scrypt 2020-04-02 05:08:58 +03:00
Ari Timonen
3569f52d4a Add missing schema.rb for read_marks migration 2020-04-02 03:26:17 +03:00
Ari Timonen
8cac6510da Truncate readmarks on migration 2020-04-02 03:24:23 +03:00
Ari Timonen
cd7b62a39f Skip article int. tests for now 2020-04-02 03:21:08 +03:00
Ari Timonen
5c60ee7013 Fix migration for readings 2020-04-02 03:16:03 +03:00
Ari Timonen
7ae3487d59 Update scrypt migration 2020-04-02 03:15:28 +03:00
Ari Timonen
af5b4140dd Migrate readings to read_marks 2020-04-02 03:08:34 +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
b571d6e2c2 Update docs 2020-03-31 21:46:49 +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
79533b19a3 Update docker-compose to work with DB out of box 2020-03-31 05:31:42 +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
747ef21d5b Update some gems
Update .env.example
2020-03-28 22:06:22 +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
0bf8898f30 Try something for cirlce 2020-03-26 03:58:59 +02:00
Ari Timonen
00354fe6b3 Update puma for debug 2020-03-26 03:52:20 +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
333de3854b Add default ENV for prod. 2020-03-26 02:34:15 +02:00