Commit graph

512 commits

Author SHA1 Message Date
Daoud Clarke
fb27053295 WIP: implement search using htmx 2023-10-30 08:53:25 +00:00
Daoud Clarke
ff212d6e15 Add template for results; remove some unused code 2023-10-29 14:22:25 +00:00
Daoud Clarke
95f9c56ba6
Merge pull request #122 from mwmbl/login-ui
Login UI
2023-10-29 14:03:43 +00:00
Daoud Clarke
03293384aa Fix static files location 2023-10-28 18:23:46 +01:00
Daoud Clarke
372d780da7 No input 2023-10-28 16:45:14 +01:00
Daoud Clarke
03fd7e8d9d Collect static files 2023-10-28 16:38:56 +01:00
Daoud Clarke
b39264d131 Add default from email 2023-10-27 19:39:09 +01:00
Daoud Clarke
999e7d599b Add email settings for Sendgrid 2023-10-27 19:28:33 +01:00
Daoud Clarke
5be536274f Trusted origin should include schema 2023-10-27 13:26:47 +01:00
Daoud Clarke
aa8761eeb7 Set debug to true temporarily 2023-10-27 13:19:29 +01:00
Daoud Clarke
68e28d2e92 Trusted origins needed for CSRF (https://stackoverflow.com/a/70509982) 2023-10-27 08:30:08 +01:00
Daoud Clarke
4f0b1c44cb Static files hosted in different place 2023-10-27 07:26:35 +01:00
Daoud Clarke
949f66e2b4 Keep secret key private in prod 2023-10-27 07:01:06 +01:00
Daoud Clarke
0f1f1d64f4 Revert "Temp remove nginx config"
This reverts commit 191a0db758.
2023-10-27 06:44:04 +01:00
Daoud Clarke
191a0db758 Temp remove nginx config 2023-10-27 06:39:28 +01:00
Daoud Clarke
fa847d0bf9 Add beta.mwmbl.org as an allowed host 2023-10-27 06:30:48 +01:00
Daoud Clarke
d845b53429 Run migrate in main script 2023-10-27 06:18:26 +01:00
Daoud Clarke
36ec3ae4e5 Add database config 2023-10-26 17:32:46 +01:00
Daoud Clarke
911b243239 Fix curation 2023-10-25 23:12:41 +01:00
Daoud Clarke
4d823497a6 Add original curation front-end 2023-10-25 19:17:02 +01:00
Daoud Clarke
bb9e6aa4bd Implement curation API using Django Ninja 2023-10-25 16:39:42 +01:00
Daoud Clarke
bd017079d5 Add login using allauth 2023-10-24 10:32:06 +01:00
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