Commit graph

471 commits

Author SHA1 Message Date
Daoud Clarke
9933a529c3 Work without JS 2023-11-06 18:09:54 +00:00
Daoud Clarke
e3371233b5 Use replace header instead of push 2023-11-05 21:52:09 +00:00
Daoud Clarke
8293a7afa4 Update query string 2023-11-05 21:45:13 +00:00
Daoud Clarke
5dbe792579 Update title in response 2023-11-05 21:20:48 +00:00
Daoud Clarke
932579ead3 Remove more unused code 2023-11-05 18:51:55 +00:00
Daoud Clarke
60b27d639e Missing chart.js dependency 2023-11-05 14:08:56 +00:00
Daoud Clarke
19a8c8ac79
Merge pull request #123 from mwmbl/use-htmx-for-search-results
Use htmx for search results
2023-11-05 13:24:34 +00:00
Daoud Clarke
f25f7057a2 Remove unused code 2023-10-30 16:44:15 +00:00
Daoud Clarke
6e39893bc1 Fix fetch url to return HTML instead of JSON 2023-10-30 16:39:58 +00:00
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