Commit Graph

281 Commits

Author SHA1 Message Date
Daoud Clarke cfe18162f1 Blacklist another domain 2023-11-21 11:24:48 +00:00
Daoud Clarke b868b6284b Encode URLs properly 2023-11-21 10:45:50 +00:00
Daoud Clarke a2fd3d95d8 Use CSRF only for curation requests 2023-11-19 20:48:18 +00:00
Daoud Clarke da787a67db Unused setting 2023-11-19 10:01:48 +00:00
Daoud Clarke 56ee43e730 Remove unused settings 2023-11-19 10:01:04 +00:00
Daoud Clarke 69f6a16cce Reinstate old API 2023-11-19 10:00:31 +00:00
Daoud Clarke 8c45b94aa6 Outdated settings file 2023-11-18 20:21:57 +00:00
Daoud Clarke 204304e18e Add term info to index 2023-11-18 18:49:41 +00:00
Daoud Clarke a2b872008f Add a script to evaluate how much it costs to add the term to the index
Old sizes mean 33.3673 0.08148019988498635
New sizes mean 32.1322 0.07700185221489449
2023-11-16 17:42:18 +00:00
Daoud Clarke 7b19273fe2 Improve usability on mobile 2023-11-11 21:01:50 +00:00
Daoud Clarke f62b8c3cf2 WIP: buttons overlap text 2023-11-11 10:35:06 +00:00
Daoud Clarke 619f7631d9 Hide branding on small screens 2023-11-10 13:54:43 +00:00
Daoud Clarke 86ffcbb039 Don't allow reordering items on main page; fix adding an item 2023-11-09 21:31:44 +00:00
Daoud Clarke 6b8d0b0161 Update input value from URL 2023-11-09 14:16:28 +00:00
Daoud Clarke 4583304c86 Sort activity groups by most recent 2023-11-09 13:59:11 +00:00
Daoud Clarke 1b23076286 Specify manifest path in prod 2023-11-09 13:43:34 +00:00
Daoud Clarke 7dd131df9f Use sortable js instead of jquery 2023-11-09 10:48:41 +00:00
Daoud Clarke c0605e6bf7 Redo footer 2023-11-08 12:49:17 +00:00
Daoud Clarke dc2bd082cf Show activity list when there are no queries 2023-11-08 09:59:29 +00:00
Daoud Clarke cce962e845 Add no results found 2023-11-08 08:59:22 +00:00
Daoud Clarke 6263e65bb9 Fix title on deleting query 2023-11-08 08:56:58 +00:00
Daoud Clarke ae39eb98e9 Add logout button 2023-11-08 08:45:39 +00:00
Daoud Clarke 6d8facf977 Improve login and signup buttons 2023-11-07 21:39:17 +00:00
Daoud Clarke d8a3e29282 Reinstate save 2023-11-07 21:06:44 +00:00
Daoud Clarke b28ec062ca Fix search bar width; consisting capitalization 2023-11-07 20:49:25 +00:00
Daoud Clarke 787c36bcfe Make search bar compact 2023-11-07 20:40:14 +00:00
Daoud Clarke 28b326aedf Fix broken JS 2023-11-07 18:59:38 +00:00
Daoud Clarke e54f55ad8e Remove some unused code 2023-11-06 18:42:49 +00:00
Daoud Clarke 3678f0117a Handle no results in all cases 2023-11-06 18:27:22 +00:00
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 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 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 949f66e2b4 Keep secret key private in prod 2023-10-27 07:01:06 +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 bb9e6aa4bd Implement curation API using Django Ninja 2023-10-25 16:39:42 +01:00