Commit graph

490 commits

Author SHA1 Message Date
Daoud Clarke
9e9ef8c36c Add rewrite log 2023-10-22 10:31:32 +01:00
Daoud Clarke
0db4158317
Merge pull request #121 from mwmbl/allow-no-bg-in-prod
Add settings without background computation for prod
2023-10-19 14:34:13 +01:00
Daoud Clarke
b583e18d6a Add settings without background computation for prod 2023-10-19 14:33:10 +01:00
Daoud Clarke
4917b882d2 Exclude more spam sites 2023-10-18 17:02:45 +01:00
Daoud Clarke
78a9bfbb11 Filter out more spam domains 2023-10-17 22:05:53 +01:00
Daoud Clarke
8c7ddda7d9 Use blacklist on initialisation, add tests 2023-10-17 21:51:23 +01:00
Daoud Clarke
ce844b59ae
Merge pull request #120 from mwmbl/temporary-fix-seo-spam
Exclude domains with bad pattern
2023-10-17 17:47:00 +01:00
Daoud Clarke
b426fa3b7e Exclude domains with bad pattern 2023-10-17 17:45:26 +01:00
Daoud Clarke
f00eacf8aa
Merge pull request #119 from mwmbl/fix-nginx-config
Fix nginx config
2023-10-17 13:18:45 +01:00
Daoud Clarke
755c1362d0 Revert nginx.conf 2023-10-17 13:17:57 +01:00
Daoud Clarke
734f0abe5a Allow mwmbl.org 2023-10-15 16:47:23 +01:00
Daoud Clarke
a4ee3cb195 Use default config file 2023-10-15 16:43:36 +01:00
Daoud Clarke
66cdbd3d47 disable ipv6 2023-10-15 16:41:31 +01:00
Daoud Clarke
2310e32636 Try a default config 2023-10-15 16:30:33 +01:00
Daoud Clarke
f0d6a11ca1 Reenable 2023-10-15 16:21:49 +01:00
Daoud Clarke
cac78d8e70 Disable redirect 2023-10-15 16:06:43 +01:00
Daoud Clarke
d65875642e Revert "Try a different approach"
This reverts commit 0601bd526a.
2023-10-14 21:24:33 +01:00
Daoud Clarke
0601bd526a Try a different approach 2023-10-14 20:53:46 +01:00
Daoud Clarke
cc93c7ddc3 Redirect all http to https 2023-10-14 19:22:03 +01:00
Daoud Clarke
70c06b78da
Merge pull request #118 from mwmbl/new-api-url
Duplicate the API at /api/v1/
2023-10-14 11:44:37 +01:00
Daoud Clarke
f883ea9f7a Duplicate the API at /api/v1/ 2023-10-14 11:43:15 +01:00
Daoud Clarke
8f1484d381 Only match stats at the beginning 2023-10-13 21:08:24 +01:00
Daoud Clarke
597093bb0f More try files 2023-10-13 20:58:54 +01:00
Daoud Clarke
64c9aa120f Set the root 2023-10-13 20:54:31 +01:00
Daoud Clarke
1620322118 Use try_files instead of root 2023-10-13 20:41:39 +01:00
Daoud Clarke
a409c240e1 Missed semicolongs 2023-10-13 13:48:56 +01:00
Daoud Clarke
c30fd607d4 Special cases for home and stats pages 2023-10-13 13:41:17 +01:00
Daoud Clarke
973fe8198c There may not be files there, so use -rf 2023-10-12 22:12:58 +01:00
Daoud Clarke
b182e92b75 Extra comme 2023-10-12 22:06:57 +01:00
Daoud Clarke
bd496aeab2 Add the app.json in Dockerfile 2023-10-12 22:02:27 +01:00
Daoud Clarke
ef6b87e9cd Use a predeploy script instead 2023-10-12 21:44:34 +01:00
Daoud Clarke
64f0d0a04a typo 2023-10-12 21:32:16 +01:00
Daoud Clarke
09de4a918e Copy to the mounted volume in python code 2023-10-12 21:21:30 +01:00
Daoud Clarke
88c3437456
Merge pull request #117 from mwmbl/include-front-end
Include front end
2023-10-12 20:53:40 +01:00
Daoud Clarke
2e4456a338 Build the front end 2023-10-12 20:52:51 +01:00
Daoud Clarke
013c007bb0 Serve front end 2023-10-12 17:38:19 +01:00
Daoud Clarke
536487b3d2 Add front end 2023-10-12 17:17:42 +01:00
Daoud Clarke
0b380b50bf Move the static spec down 2023-10-11 21:15:23 +01:00
Daoud Clarke
040921836c Add static hosting 2023-10-11 21:09:58 +01:00
Daoud Clarke
8494b746e7 Add api.mwmbl.org to allowed hosts 2023-10-10 20:39:31 +01:00
Daoud Clarke
8f0061f0c3 Fix port 2023-10-10 20:35:30 +01:00
Daoud Clarke
c3fd328237
Merge pull request #116 from mwmbl/django-rewrite-fixes
Fix some paths, use prod settings in Dockerfile
2023-10-10 20:23:15 +01:00
Daoud Clarke
1227ae33c8 Run poetry lock 2023-10-10 20:21:37 +01:00
Daoud Clarke
c6d9e6ebb0 Fix some paths, use prod settings in Dockerfile 2023-10-10 20:18:43 +01:00
Daoud Clarke
213bdaa365
Merge pull request #115 from mwmbl/django-rewrite
Django rewrite
2023-10-10 16:25:36 +01:00
Daoud Clarke
918eaa8709 Rename django app to mwmbl 2023-10-10 13:51:06 +01:00
Daoud Clarke
fab5e5c782 Use different dev and prod settings 2023-10-08 21:42:04 +01:00
Daoud Clarke
a1d6fd8bb1 Start background processes 2023-10-08 21:20:32 +01:00
Daoud Clarke
b6fd27352b Add crawler router 2023-10-08 14:13:38 +01:00
Daoud Clarke
ed64ca6c91 Merge branch 'main' into django-rewrite 2023-10-07 19:19:34 +01:00