Commit Graph

799 Commits

Author SHA1 Message Date
codl 3c372a2afb docker: add .git
it's dirty but it's needed for versioneer

I will figure out a better way to do this later
2022-08-05 02:23:54 +02:00
codl c82c15e0da further dockerfile caching and size optim
nodejs and js libraries are only needed at build time
2022-08-05 02:23:54 +02:00
codl 3497a63cff update changelog 2022-08-05 02:23:54 +02:00
codl 30b7b24e68 lots of docker nitpicks
- changed all service names to not include "forget", let docker-compose
  generate container names

- gave the image a single name

- listen on 127.0.0.1 by default, provide documented override file that
  reverses it

- docs: on that note: don't tell folks to edit docker-compose.yml directly

- docs: explicitly say "run docker-compose build" because docker-compose
  is janky and it can be surprising that downloading a new version of
  the code and running `docker-compose up` doesn't do anything
2022-08-05 02:23:54 +02:00
codl fddcbbe8a0 reorganize dockerfile for better build cache usage
also lock some versions

ideally I wouldn't have to copy each of these directories separately and
have a janky stage to hide all the resulting layers, but docker do be like that.
`COPY dir1 dir2 ./` copies *the contents of* dir1 and dir2 to the
working directory :(

maybe one day i will switch to having a src directory
2022-08-05 01:39:36 +02:00
shibao 59095ae1ef get rid of celery logfiles 2022-07-30 19:21:52 -04:00
shibao de2329d041 remove queue from worker 2022-07-30 19:13:59 -04:00
shibao 69cb8db391 build locally 2022-07-30 18:32:15 -04:00
shibao 4f2770e4e2 remove unnecessary pid file location 2022-07-30 16:03:49 -04:00
shibao d2bb9094f0 fix celery beat 2022-07-30 15:40:41 -04:00
shibao b89122edb5 grammar 2022-07-30 12:53:17 -04:00
shibao 5872ce6da8 use image in docker-compose.yml 2022-07-30 03:39:47 -04:00
shibao 659bb1dfb8 add docker stuff 2022-07-30 03:39:39 -04:00
codl f195ed3261
codacy is no longer allowed in my house 2022-03-04 23:39:54 +01:00
codl 5fdb99256f limit workflow to pushes and prs to master 2022-03-04 20:38:23 +01:00
codl 916a47ef9d update versioneer 2022-03-04 20:22:55 +01:00
codl 9c035d5132 actions: cache deps 2022-03-04 20:22:55 +01:00
codl 38a1c543af tests & github actions: replace pytest-redis with local redis 2022-03-04 20:22:55 +01:00
codl 1354d415d3 add github actions workflow, remove travis.yml 2022-03-04 20:22:55 +01:00
codl 44632934a7 Merge branch 'feature/instance-hidelist' 2022-03-04 14:20:00 +01:00
codl 299a99844f update changelog 2022-03-04 14:05:03 +01:00
codl c621982424 remove method to upgrade known instances from cookie to localstorage
it's been over three years since the old forget_known_instances cookie
is no longer being set, any cookie that hasn't been upgraded to
localstorage by now has surely expired
2022-03-04 14:03:08 +01:00
codl 82a72bfd32 fix 500s on login pages 2022-03-04 13:28:38 +01:00
codl 917202de1d update changelog 2022-03-04 13:20:20 +01:00
codl bbbb2470ed add instance hidelist 2022-03-04 13:12:35 +01:00
codl 77bb52cb9e release v2.1.0 2022-03-04 12:34:17 +01:00
codl 688b787c16 fix logged in template 2022-03-02 20:47:47 +01:00
Johann150 88760deb6f
add permission to read reactions 2022-03-02 13:30:40 +01:00
Johann150 aacc5100de
clarify what favourite means on misskey
This implementation does not actually read favourites, but reactions,
because reading favourites is more involved as they are like bookmarks
on Mastodon and not attached to the post itself.

Also removing the respective erroneous authentication scope.
2022-03-01 15:44:16 +01:00
Johann150 4efe6ec316
also display direct message settings for misskey 2022-03-01 15:38:23 +01:00
codl d5e0a364a8 mellow dependabot out (daily → monthly) 2022-03-01 01:13:25 +01:00
codl ce1990cd0d fix promo image in readme 2022-03-01 01:12:06 +01:00
codl 61700f3dd9 fix deps 2022-03-01 00:59:55 +01:00
codl a66ad7db9c deps update 2022-03-01 00:16:24 +01:00
codl 1eacfca8b4 upgrade package-lock to v2 2022-03-01 00:10:50 +01:00
codl a6a4416254 copyedit README, /about/ 2022-03-01 00:09:04 +01:00
codl c7762e839b update changelog 2022-02-28 22:45:25 +01:00
codl 6a14b70d88 fix migration 2022-02-28 22:39:10 +01:00
codl 1c65cd2556 also update date when updating batch end 2022-02-27 13:20:24 +01:00
codl a85095cd00 remove fk from fetch_current_batch_end_id
an attempt at fixing #584
2022-02-27 13:12:47 +01:00
codl 825313091c Merge branch 'cleanup-readme' 2022-02-27 00:43:08 +01:00
codl 9d2147e905 Merge branch 'misskey' 2022-02-27 00:38:03 +01:00
codl 20c0c93a5e update README, CHANGELOG 2022-02-27 00:34:29 +01:00
codl 1cade39fb9 misskey: fetch 100 notes at a time 2022-02-27 00:25:25 +01:00
codl 21eff570a0 fix default misskey known instances 2022-02-26 23:14:40 +01:00
codl 00bf83388f
bump maintenance year, remove messed up codacy badge 2022-02-26 22:10:29 +01:00
Johann150 b54a26cf8f
fix exception when no posts are in database
Instead of using Query.one use Query.one_or_none. The check after
setting the variable suggests this was the intended behaviour instead
of throwing errors if there are no posts in the database.
2021-12-09 18:57:00 +01:00
codl f7f2276cec
known_instances+misskey: actually record mk instances when logged into 2021-12-09 17:45:45 +01:00
codl e5971e3848
add misskey support to known instances 2021-12-09 16:31:48 +01:00
Johann150 e7744a1964
remove Miauth authentication
When using the "log out" functionality of Miauth and logging back
in again on forget, a new API token will be generated instead of
using the old one.
2021-11-16 19:03:01 +01:00