Commit graph

473 commits

Author SHA1 Message Date
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
Daoud Clarke
d716cb347f
Merge pull request #114 from mwmbl/exclude-domains-by-keyword
Exclude domains by keyword
2023-10-04 20:20:51 +01:00
Daoud Clarke
41061a695b Add tests 2023-10-04 20:19:42 +01:00
Daoud Clarke
593c71f689 Exclude domains by keyword 2023-10-04 19:51:33 +01:00
Daoud Clarke
a77dc3eb4c
Merge pull request #113 from mwmbl/more-stats
Add more stats
2023-10-02 22:19:20 +01:00
Daoud Clarke
988f3fd2a9 Add more stats 2023-10-02 22:19:02 +01:00
Daoud Clarke
7c3aea5ca0 Temporary just select some URLs at random for initialization 2023-09-29 22:32:31 +01:00
Daoud Clarke
826d3d6ba9
Merge pull request #112 from mwmbl/stats
Stats
2023-09-29 21:49:28 +01:00
Daoud Clarke
ab527c4b58 Use stats manager from redis URL 2023-09-29 21:48:36 +01:00
Daoud Clarke
0d795b7c64 Fix bugs with date method 2023-09-29 21:27:32 +01:00
Daoud Clarke
e1bf423e69 Get stats 2023-09-29 13:58:26 +01:00
Daoud Clarke
a55a027107 Store stats in redis 2023-09-29 13:37:54 +01:00
Daoud Clarke
db658daa88 Store stats in redis 2023-09-28 17:48:29 +01:00
Daoud Clarke
86a6524f0a WIP add search API to Django 2023-09-24 08:09:18 +01:00
Daoud Clarke
177324353f Merge branch 'main' into django-rewrite 2023-09-23 12:56:22 +01:00
Daoud Clarke
bec00cdab5 Exclude additional domain 2023-09-22 23:06:04 +01:00
Daoud Clarke
7e054d0854 Better blacklist 2023-09-22 23:04:37 +01:00
Daoud Clarke
ed96386f05
Merge pull request #110 from mwmbl/update-blacklist
Exclude blacklisted domains
2023-09-22 21:54:12 +01:00