Commit graph

265 commits

Author SHA1 Message Date
Thomas Sileo
643ba9e775 Bugfix 2019-04-08 17:30:24 +02:00
Thomas Sileo
55a1c2dd88 Setup cron for the cleanup 2019-04-08 17:24:50 +02:00
Thomas Sileo
849a6c4ea0 Tweak gridfs cleanup task 2019-04-08 16:55:46 +02:00
Thomas Sileo
12faea3c29 Tweak tasks 2019-04-08 16:54:07 +02:00
Thomas Sileo
27622813ec More work for cleaning up old activities 2019-04-08 16:41:09 +02:00
Thomas Sileo
363dbf4b6a Start working on a clenaup task for old activities 2019-04-07 21:24:52 +02:00
Thomas Sileo
523b8686c7 Fix regression from debug 2019-04-07 16:49:35 +02:00
Thomas Sileo
41876c1d9c Improve task errors 2019-04-07 14:37:05 +02:00
Thomas Sileo
87a1144f88 Tweak the admin 2019-04-07 12:53:16 +02:00
Thomas Sileo
63ebf6ecf2 Fix task 2019-04-07 12:41:27 +02:00
Thomas Sileo
9206f778b5 Disable debug stuff 2019-04-07 12:33:26 +02:00
Thomas Sileo
51bc885a81 Show poussetaches tasks in the admin 2019-04-07 12:27:48 +02:00
Thomas Sileo
0e41ae50d5 Fix empty attchment issue 2019-04-07 11:01:46 +02:00
Thomas Sileo
eb92169de9 More poussetaches integrations 2019-04-07 11:01:46 +02:00
Thomas Sileo
ec64d24449 Re-enable Celery for the migration 2019-04-07 11:01:46 +02:00
Thomas Sileo
84997b564f Fix tests 2019-04-07 11:01:46 +02:00
Thomas Sileo
6e7bfdd5c1 Fix CI 2019-04-07 11:01:46 +02:00
Thomas Sileo
3289e91786 Try poussetaches 2019-04-07 11:01:46 +02:00
Thomas Sileo
1a7a02a221
Bugfixes by @cwt (#42)
* check for missing actor in stream item

* reply on my own status

* fix img exceed div

* check for "actor" key in item.meta before render

* force UTF-8 text encoding

* check if a is a dict or string

* check d object must be dict to get url or id

* json/atom/rss feed

* handle missing root_id

* fix newer-link hover

* fix older-link position

* quick hack to support peertube video

* enable IndieAuth endpoint

* fix 500 when remote follow
2019-02-24 21:04:09 +01:00
Thomas Sileo
7237fbcc68 Improve caching 2018-09-03 20:21:33 +02:00
Thomas Sileo
2ee3fc0c67 Start playing with caching 2018-09-03 09:38:29 +02:00
Thomas Sileo
8e43f4a230 Fix the Delete support for actors 2018-09-03 08:20:43 +02:00
Thomas Sileo
f100750382 Start delete support for actors 2018-09-02 20:32:15 +02:00
Thomas Sileo
3b186f23d3 Video support 2018-09-02 19:43:09 +02:00
Thomas Sileo
2464dd8782 Fixes invalid likes/boost 2018-08-28 22:14:48 +02:00
Thomas Sileo
5dce025700 Tasks cleanup 2018-08-05 13:49:49 +02:00
Thomas Sileo
53e5a9e237 Add debug logs 2018-08-01 08:29:08 +02:00
Thomas Sileo
29a2cc23ff Fix pagination 2018-07-31 23:23:20 +02:00
Thomas Sileo
8f3208175c Allow to reply to external activities 2018-07-31 22:42:50 +02:00
Thomas Sileo
ff7211ae72 Tweak the like query 2018-07-30 18:30:47 +02:00
Thomas Sileo
cbd9d4e6da Show likes in the notifications 2018-07-30 18:12:27 +02:00
Thomas Sileo
88186e2306 Tweak the lookup 2018-07-30 09:41:04 +02:00
Thomas Sileo
d3db16c63d Add support for Article 2018-07-29 20:24:46 +02:00
Thomas Sileo
6cc30f622a Add Announce support for the lookup 2018-07-29 20:10:15 +02:00
Thomas Sileo
7e94d15827 Bugfix 2018-07-29 17:20:57 +02:00
Thomas Sileo
efc26fb2a0 Fix delete 2018-07-29 17:19:06 +02:00
Thomas Sileo
55ff15ff86 Move more DB stuff to celery 2018-07-29 16:07:27 +02:00
Thomas Sileo
e3b8c4f63c Tweak threads for ghost replies 2018-07-26 23:11:38 +02:00
Thomas Sileo
6d8097d112 Add debug mode to help debug thread issues 2018-07-26 22:58:28 +02:00
Thomas Sileo
d5ee0e3fa5 Fix unfollow in the admin 2018-07-26 22:44:31 +02:00
Thomas Sileo
619044d285 Tweak/fix the attachment caching 2018-07-24 23:58:13 +02:00
Thomas Sileo
7e0ff187a2 Make the per page for the admin stream configurable 2018-07-24 22:47:53 +02:00
Thomas Sileo
0c60612407 Tweak/debug 2018-07-23 22:25:51 +02:00
Thomas Sileo
c55cfa1f8a Add stream debug option 2018-07-23 22:11:03 +02:00
Thomas Sileo
b4e5bda62e Tweak/debug 2018-07-23 08:30:51 +02:00
Thomas Sileo
f7a5f56955 Fix the index 2018-07-22 22:25:28 +02:00
Thomas Sileo
a5e0983ca8 Finish support for pinned/featured note 2018-07-22 22:22:30 +02:00
Thomas Sileo
f23dbcaf05 Add support for the featured collection 2018-07-22 21:54:24 +02:00
Thomas Sileo
d26d6ba70e Formatting 2018-07-22 21:35:42 +02:00
Thomas Sileo
e2d814a456 Use the toot namespace/AP extension 2018-07-22 21:34:42 +02:00
Thomas Sileo
42466ddfba Support actor without URL 2018-07-22 12:42:36 +02:00
Thomas Sileo
f92a6ea3dc Improve error logging 2018-07-22 12:25:56 +02:00
Thomas Sileo
dbabbfc55d Fix login flow 2018-07-22 12:17:55 +02:00
Thomas Sileo
648e385c49 Add Open Graph metadata support 2018-07-21 23:16:40 +02:00
Thomas Sileo
3ba14d938f Use the cache for the following page 2018-07-21 11:45:24 +02:00
Thomas Sileo
4a22ac12a8 Add webfinger support for the lookup, fix forwarding 2018-07-21 11:41:49 +02:00
Thomas Sileo
ea6be0ed8e Formatting 2018-07-21 01:05:51 +02:00
Thomas Sileo
a3cb459ae0 Tweak the admin UI, start new lookup UI 2018-07-21 00:04:15 +02:00
Thomas Sileo
dc8365ff53 Allow content negotiation for the note permalink 2018-07-20 12:14:11 +02:00
Thomas Sileo
3e7b09b7a8 More caching 2018-07-20 10:56:39 +02:00
Thomas Sileo
610262d7b6 Properly cache the actor 2018-07-20 01:12:02 +02:00
Thomas Sileo
11fcf2dfb0 Fix the follower page 2018-07-18 23:18:39 +02:00
Thomas Sileo
ce4ff0b92e Fix exception logging 2018-07-18 00:20:32 +02:00
Thomas Sileo
fcf7b9f939 Fix the logging 2018-07-18 00:13:58 +02:00
Thomas Sileo
8b0a1ea368 Make the "With replies" section private 2018-07-18 00:06:42 +02:00
Thomas Sileo
4877e955d0 More logging 2018-07-18 00:04:40 +02:00
Thomas Sileo
13cee5dbae Tweak the tasks flow 2018-07-17 23:46:12 +02:00
Thomas Sileo
ac5f349d0f Add an config item to hide following 2018-07-17 23:42:21 +02:00
Thomas Sileo
c01cc39e20 Template tweak 2018-07-17 23:38:37 +02:00
Thomas Sileo
f44f9992c9 Add new debug endpoint 2018-07-16 22:24:14 +02:00
Thomas Sileo
1c778dbd38 Fix the template filter 2018-07-15 21:38:15 +02:00
Thomas Sileo
5323995633 Tweak the login page 2018-07-15 21:25:09 +02:00
Thomas Sileo
e3284416d2 Better Link support 2018-07-15 21:12:57 +02:00
Thomas Sileo
a9379a5205 Tweak the logging 2018-07-14 13:19:30 +02:00
Thomas Sileo
3497c09035 Tweak the admin stream 2018-07-14 12:54:24 +02:00
Thomas Sileo
0a53cba5f5 Display threads locally when possible 2018-07-14 12:29:46 +02:00
Thomas Sileo
d8f7967e6a Tweak the admin UI 2018-07-14 12:14:08 +02:00
Thomas Sileo
ff55b9e9dc Fix thread issue 2018-07-12 08:05:23 +02:00
Thomas Sileo
6b464d2a6d Fix thread issue 2018-07-11 23:49:43 +02:00
Thomas Sileo
63ca0b68e1 Fix the tasks and formatting 2018-07-11 23:22:47 +02:00
Thomas Sileo
d6d20a972e Bugfix following page 2018-07-11 20:27:16 +02:00
Thomas Sileo
01e165640e Remote the object service, use the backend instead 2018-07-11 19:38:24 +02:00
Thomas Sileo
c9a10bddb4 Formatting 2018-07-10 23:04:05 +02:00
Thomas Sileo
6aee810a1f Handle deleted actors in the notifications 2018-07-10 23:02:06 +02:00
Thomas Sileo
108b957dcc More work on Tombstone handling 2018-07-10 00:49:52 +02:00
Thomas Sileo
c573f48873 Fix replying in the admin UI
Fixes #22
2018-07-08 12:31:59 +02:00
Thomas Sileo
da029c1566 Fix collection parsing 2018-07-08 12:24:49 +02:00
Thomas Sileo
bf208d0422 Fix followers 2018-07-07 14:07:29 +02:00
Thomas Sileo
f6c26abccb Tweak the admin, finish the pagination
Fixes #14
2018-07-07 13:56:00 +02:00
Thomas Sileo
354a9ad13f Also update the nodeinfo endpoint 2018-07-07 13:08:16 +02:00
Thomas Sileo
285d2fa890 Filter the outbox when not authenticated 2018-07-07 13:06:57 +02:00
Thomas Sileo
b31994dae7 Fix the admin redirect 2018-07-07 00:12:35 +02:00
Thomas Sileo
97fdcca06e Move admin stuff URL to /admin 2018-07-07 00:08:44 +02:00
Thomas Sileo
6826e833fa Change default page size to 25 2018-07-06 23:54:41 +02:00
Thomas Sileo
10f26d0350 More pagination 2018-07-06 23:53:33 +02:00
Thomas Sileo
acafc1cc85 Store uplaods in MongoDB too, start pagination 2018-07-06 23:15:49 +02:00
Thomas Sileo
e8ee900c60 Cache attachments and actor icons
Fixes #17
2018-07-05 22:27:29 +02:00
Thomas Sileo
a2a64a54fd Remove duplicate webfinger entry 2018-07-05 01:45:56 +02:00
Thomas Sileo
13c63e473a Start to cache actor icon 2018-07-05 01:02:51 +02:00
Thomas Sileo
8556cd29ef Add avatar to the webfinger response 2018-07-04 21:08:45 +02:00
Thomas Sileo
0b8e0896c1 Tweak the webfinger response 2018-07-04 00:40:23 +02:00
Thomas Sileo
d31e2f8d1d Add support for Link object 2018-07-03 23:29:55 +02:00
Thomas Sileo
c6ae9793d5 Allow to attach files from the admin UI when posting a note 2018-07-01 23:46:58 +02:00
Thomas Sileo
9332b348eb Bugfix template 2018-07-01 21:32:12 +02:00
Thomas Sileo
cd6f8727c0 fix formatting 2018-07-01 12:49:40 +02:00
Thomas Sileo
3bf77b2e82 Fix the migration 2018-07-01 11:05:33 +02:00
Thomas Sileo
340d915599 Fix the migration handler 2018-06-30 11:12:03 +02:00
Thomas Sileo
68695fed39 Allow br tags for note content 2018-06-29 22:42:53 +02:00
Thomas Sileo
eb4d795ede HUGE cleanup 2018-06-29 22:16:26 +02:00
Thomas Sileo
0780bf3691 More design tweaks, fix the index
Fixes #12
2018-06-26 22:52:19 +02:00
Thomas Sileo
2bb4cadc93 Tweaked the header CSS, started to work on the liked public page 2018-06-25 23:45:43 +02:00
Thomas Sileo
c85fb8530e Fix remote follow (fixes #10) 2018-06-24 19:22:40 +02:00
Thomas Sileo
be68208056 Bugfixes 2018-06-23 01:04:58 +02:00
Thomas Sileo
01c7edc517 Add badges in the menu, tweak the design 2018-06-22 22:27:28 +02:00
Thomas Sileo
dae538196d Tweak the remote follow
Previously, it was 500ing if the profile already started with an @
2018-06-22 00:23:05 +02:00
Thomas Sileo
ad2007c154 Re-enable request verification 2018-06-20 23:42:12 +02:00
Thomas Sileo
1338d99994 More bugfixes and re-handle replies 2018-06-18 22:01:21 +02:00
Thomas Sileo
986edbd35e Fix fetch_iri 2018-06-17 22:05:38 +02:00
Thomas Sileo
781ed8efe2 Some tests are passing 2018-06-17 21:54:16 +02:00
Thomas Sileo
7f65fdfc90 Switched little_boxes 2018-06-17 20:51:23 +02:00
Thomas Sileo
6220064951 More cleanup 2018-06-17 19:21:59 +02:00
Thomas Sileo
4e669620bc [WIP] Continue migration 2018-06-16 22:33:51 +02:00
Thomas Sileo
d9362adb25 Black/isort 2018-06-16 22:02:10 +02:00
Thomas Sileo
c5295524c7 Start migration to little_boxes 2018-06-16 21:24:53 +02:00
Thomas Sileo
070e39bdfe Disable IndieAuth for now 2018-06-05 07:33:17 +02:00
Thomas Sileo
b89ee21e49 Remove @context in embedded collection 2018-06-04 19:10:04 +02:00
Thomas Sileo
d2e62ed5b6 Add delete and block in the UI 2018-06-04 18:53:44 +02:00
Thomas Sileo
c17a9a5a0c Dedup the cc of new note before storage 2018-06-04 18:06:04 +02:00
Thomas Sileo
362e9c660f Re-enable the remote follow 2018-06-04 17:59:38 +02:00
Thomas Sileo
8e645c6190 Also display boost/announce actors 2018-06-03 23:36:16 +02:00
Thomas Sileo
8027a36359 Start displaying the acor that liked a particular note 2018-06-03 23:11:43 +02:00
Thomas Sileo
a160a95e82 Fixes replies, and hide them on the homepage 2018-06-03 22:44:19 +02:00
Thomas Sileo
63b2d2870a Improve the replies/thread display 2018-06-03 21:28:06 +02:00
Thomas Sileo
786816f0a2 Tweak replies management, improve tombstone support 2018-06-03 14:34:04 +02:00
Thomas Sileo
31300e20d7 Fix logging 2018-06-03 12:51:57 +02:00
Thomas Sileo
526725fc24 Bugfix 2018-06-03 12:50:51 +02:00
Thomas Sileo
7db48800a2 Tweak the UI (make it use the new user API) and bugfixes 2018-06-03 11:41:18 +02:00
Thomas Sileo
ef5b32a33c Add NodeInfo support 2018-06-03 10:15:11 +02:00
Thomas Sileo
791e55c7f5 Add more security check/verification 2018-06-02 09:07:57 +02:00
Thomas Sileo
2befde27d5 Enable the CSRF check for the login page 2018-06-01 21:54:43 +02:00
Thomas Sileo
f8ee19b4d1 User API cleanup 2018-06-01 20:29:44 +02:00
Thomas Sileo
6711722bd0 Add new shares/likes/replies collection for notes 2018-06-01 01:26:23 +02:00
Thomas Sileo
fc1bd190ef Tweak the config 2018-05-30 23:47:01 +02:00
Thomas Sileo
a148ec6068 Bugfix 2018-05-29 22:16:09 +02:00
Thomas Sileo
48ab7137ab Fix type annotation and README 2018-05-29 21:47:28 +02:00
Thomas Sileo
6aea610fb6 Lot of cleanup 2018-05-29 21:36:05 +02:00
Thomas Sileo
559c65f474 More tests 2018-05-29 18:59:37 +02:00
Thomas Sileo
b727c8c9c7 Add tests for block, and start test for replies 2018-05-29 00:12:44 +02:00
Thomas Sileo
bba598be66 Add federation test case for note deletion 2018-05-28 22:38:48 +02:00
Thomas Sileo
9f9f79edb5 Tests tests tests and bugfixes 2018-05-28 19:46:23 +02:00