Commit Graph

722 Commits (8c2062c84cdfaff8ee807f4b1d359117be9cec9f)

Author SHA1 Message Date
Bob Mottram dc98dc514d Detect media mime types 2020-11-13 13:34:14 +00:00
Bob Mottram 4a3a2c2319 Calendar module 2020-11-09 20:15:17 +00:00
Bob Mottram a3a022c917 Splitting webapp into smaller modules 2020-11-09 19:41:01 +00:00
Bob Mottram 2b15de6ee7 Function sequence 2020-11-08 10:52:07 +00:00
Bob Mottram 30e63970f6 Include description in newswire rss feed 2020-11-08 10:45:33 +00:00
Bob Mottram 49414c7012 Include description within rss feeds 2020-11-08 10:30:25 +00:00
Bob Mottram cd64d747d1 CSS cache 2020-10-29 12:48:58 +00:00
Bob Mottram 3fd0723684 Remove html before checking for hashtags 2020-10-25 12:47:16 +00:00
Bob Mottram 32758ffe62 Option to archive news posts 2020-10-21 11:39:09 +01:00
Bob Mottram ee539416bb Remove debug 2020-10-18 21:10:45 +01:00
Bob Mottram ee6b6b7662 Remove from recent posts cache when clearing post 2020-10-18 21:06:52 +01:00
Bob Mottram dcf34cd3c2 Fix cache filename 2020-10-18 20:41:18 +01:00
Bob Mottram 0bbede6a83 Debug 2020-10-18 20:35:47 +01:00
Bob Mottram 20dd5e069a Clear post from caches before updating 2020-10-18 17:19:28 +01:00
Bob Mottram 511f5cf192 Check for invalid characters 2020-10-15 09:59:08 +01:00
Bob Mottram 1bd0a70218 Get boolean value from config 2020-10-13 21:33:23 +01:00
Bob Mottram e64620a876 More verbose 2020-10-13 12:13:32 +01:00
Bob Mottram 22f31f0356 More checks that admin user is defined 2020-10-10 17:10:32 +01:00
Bob Mottram e0ec134810 Delete arrived files 2020-10-09 13:57:45 +01:00
Bob Mottram 513d0784e4 Remove debug 2020-10-09 13:52:56 +01:00
Bob Mottram 9a7a6db47b Double date 2020-10-09 13:41:32 +01:00
Bob Mottram 31bc48df9e Arrived 2020-10-09 13:38:58 +01:00
Bob Mottram fe9047929f Debug 2020-10-09 13:35:37 +01:00
Bob Mottram 947a13fba2 Voting time period 2020-10-09 13:15:20 +01:00
Bob Mottram cc642557f4 Apply voting threshold to timeline 2020-10-08 20:47:23 +01:00
Bob Mottram b07ce27a03 Locate news posts 2020-10-08 14:07:17 +01:00
Bob Mottram eca0cbe982 Indicate that imported posts contain news 2020-10-08 10:07:45 +01:00
Bob Mottram 3928340dc9 Move rss posts to news account 2020-10-07 17:55:15 +01:00
Bob Mottram 9d30158618 News instance type 2020-10-07 10:10:42 +01:00
Bob Mottram 092be5c5c5 Remove votes file if post is deleted 2020-10-06 22:00:53 +01:00
Bob Mottram 164e949125 # not permitted in nickname 2020-10-06 17:30:37 +01:00
Bob Mottram ebb760a3c3 Create a dictionary of blog posts to be moderated 2020-10-06 11:34:56 +01:00
Bob Mottram f4cb24490a Tidying 2020-10-06 09:58:44 +01:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram b064d6f4d6 Deprecate capabilities module 2020-09-27 19:35:35 +01:00
Bob Mottram b1672fb9d5 Return lists 2020-09-25 15:14:59 +01:00
Bob Mottram e5eaf42a36 Move functions 2020-09-25 14:21:56 +01:00
Bob Mottram 99893e5e23 Don't insist on lowercase handle 2020-09-15 10:16:03 +01:00
Bob Mottram e12b6483c3 Support AVIF image format
See https://jakearchibald.com/2020/avif-has-landed
2020-09-09 16:09:38 +01:00
Bob Mottram 2135525d2b Tidying 2020-09-05 17:35:50 +01:00
Bob Mottram 949f54f5f3 Unit test for adding new follow to calendar 2020-09-03 13:16:24 +01:00
Bob Mottram 8d642fe267 Avoid confusing variable name 2020-09-03 11:12:11 +01:00
Bob Mottram b54c9e52f7 Improve handling of the first follow 2020-09-03 11:09:40 +01:00
Bob Mottram c47a046c95 Default to adding new follows to the calendar 2020-09-03 11:04:44 +01:00
Bob Mottram fc062e0342 Extra invalid nickname 2020-08-31 20:21:52 +01:00
Bob Mottram 3179a37975 Tidying to reduce file reads 2020-08-29 20:54:30 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 01397b3dad More configurability when loading json 2020-08-29 10:09:15 +01:00
Bob Mottram 41607d1542 Check that replyTo field is a string 2020-08-28 15:45:07 +01:00
Bob Mottram dcefa585bb Event edit button 2020-08-26 18:41:38 +01:00
Bob Mottram 3b7bc19dba Removing old posts from cache 2020-08-26 13:42:17 +01:00
Bob Mottram 9c7895e43a Debug 2020-08-24 15:17:16 +01:00
Bob Mottram 3bd8f96994 Unbreak the unit tests 2020-08-23 15:45:58 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram 25e1724691 Extra event attributes 2020-08-21 16:10:47 +00:00
Bob Mottram ec9941d7ca More actor parsing 2020-08-13 17:41:02 +01:00
Bob Mottram 1c62500763 Don't allow accounts as a username 2020-08-13 17:21:09 +01:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram db64ceb87d Tidying 2020-07-08 16:17:00 +01:00
Bob Mottram b02ddbaed0 Use secrets for password generation 2020-07-08 16:09:27 +01:00
Bob Mottram aec28278cf Add new follows to the calendar by default 2020-07-03 22:33:51 +01:00
Bob Mottram bdb13540d2 Remove stray indentation 2020-06-28 12:12:38 +01:00
Bob Mottram 01338dd85d Less indentation 2020-06-28 12:09:38 +01:00
Bob Mottram a17e2b1ad2 Check if index exists 2020-06-24 15:11:10 +01:00
Bob Mottram 0e3c41db2b When deleting a post also remove it from the recent posts cache in memory 2020-06-24 14:30:50 +01:00
Bob Mottram 72fdb90d17 Try trapping socket errors 2020-06-23 14:28:41 +01:00
Bob Mottram 2d970cc377 Function to check if a domain is resolvable 2020-06-22 17:57:57 +01:00
Bob Mottram dc9ae0c117 qrcode dependencies on parabola 2020-06-22 17:55:19 +01:00
Bob Mottram d523a6354d Avoid duplicate prefixes 2020-06-11 13:46:44 +01:00
Bob Mottram 6e769484aa Reduce duplicate prefixes 2020-06-11 13:26:15 +01:00
Bob Mottram d352b27dd8 Tidying 2020-06-11 13:04:42 +01:00
Bob Mottram bee0d99ce6 Support for gnunet 2020-06-09 12:51:51 +01:00
Bob Mottram 9729b37be0 Like url 2020-06-07 10:10:10 +01:00
Bob Mottram a927d4ef58 Likes debug 2020-06-07 09:53:34 +01:00
Bob Mottram 51f2b060c9 Avoid race condition when repeating post 2020-06-06 19:34:39 +01:00
Bob Mottram ec07f83e5a Fix circular dependency 2020-06-06 19:16:16 +01:00
Bob Mottram 1943419e27 Fonts and icons are reserved names 2020-05-25 13:36:23 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram e4a9db57ce Don't remove replies to blog posts, including attachments 2020-05-18 17:21:10 +01:00
Bob Mottram fbb7ed2a53 Don't remove cached html if it is a reply to a blog post 2020-05-18 16:59:11 +01:00
Bob Mottram ca76479059 Single line 2020-05-18 11:59:45 +01:00
Bob Mottram 21c5db8ab4 Tidying 2020-05-18 11:19:31 +01:00
Bob Mottram 664d087b01 Tidying 2020-05-18 11:14:29 +01:00
Bob Mottram 4608678cae Support hypercore protocol 2020-05-17 10:37:59 +01:00
Bob Mottram e8b5a26189 Return original path if not matched 2020-05-04 19:29:30 +01:00
Bob Mottram a9206ee855 Case insensitive avatar image search 2020-05-04 19:24:30 +01:00
Bob Mottram 8fdf1908db debug 2020-04-11 14:45:53 +01:00
Bob Mottram 6933692348 Ignore case in history search 2020-04-11 14:38:28 +01:00
Bob Mottram f2707d43ac Extra continue 2020-04-11 14:35:22 +01:00
Bob Mottram f556c69ea0 Search your posts with multiple keywords 2020-04-11 14:30:54 +01:00
Bob Mottram 70443f4d04 Add cw script to history search 2020-04-11 14:20:52 +01:00
Bob Mottram 1831af8226 Simple match 2020-04-11 14:14:53 +01:00
Bob Mottram 82c859852f slash 2020-04-11 14:07:05 +01:00
Bob Mottram 4e9077547b Search function 2020-04-11 11:19:35 +01:00
Bob Mottram b63bf2c72d flake8 format 2020-04-04 14:44:49 +01:00
Bob Mottram 36267ac5f4 Faster checking for blocked domains 2020-03-28 10:33:04 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram 80066532b9 Avoid beautifulsoup 2020-03-03 11:02:34 +00:00
Bob Mottram cf3899b58f Warn if account does not exist 2020-03-03 09:56:48 +00:00
Bob Mottram ca5c0d5f20 Fix network unit test 2020-03-02 21:28:22 +00:00
Bob Mottram 63a5c76cbe Sending dms to onion domains 2020-03-02 16:11:34 +00:00
Bob Mottram 30eb7bcd6d onion on http 2020-03-02 14:51:30 +00:00
Bob Mottram 3c5b549db7 Onion webfinger requests 2020-03-02 14:35:44 +00:00
Bob Mottram 5e1e5f8961 Handle invalid ports 2020-03-01 10:01:15 +00:00
Bob Mottram e36b6a8646 Different link for blog posts 2020-02-24 23:14:49 +00:00
Bob Mottram fd24aee2fc Save blogs to a separate box 2020-02-24 22:07:13 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram 26ebd73b0e Function to get weekly events 2020-02-22 16:00:27 +00:00
Bob Mottram 9ce41424c2 Don't change case of follow handle 2020-02-22 10:59:41 +00:00
Bob Mottram 4db44418be Add unfollowed file
This prevents received follow accepts from refollowing after an unfollow
2020-02-22 10:50:07 +00:00
Bob Mottram cc0b6f48e2 Extra emoji fields 2020-02-21 10:19:02 +00:00
Bob Mottram 55dcdd546d Fix opposite addresses 2020-02-19 13:16:38 +00:00
Bob Mottram 0277b309d9 Check if port is already used 2020-02-19 11:37:33 +00:00
Bob Mottram dfdf4c032e Support use on i2p addresses 2020-02-17 17:18:21 +00:00
Bob Mottram 972727cc8b Clearing avatar images from cache before storing updated ones 2020-02-04 19:34:52 +00:00
Bob Mottram aff29e1f70 Warning message 2020-01-17 23:21:56 +00:00
Bob Mottram 656589a620 Type check 2020-01-17 23:19:17 +00:00
Bob Mottram 10fde1cb21 Improve manual follow approval 2019-12-29 12:59:13 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 7b96e12e2b Removing tag from file 2019-12-12 19:02:06 +00:00
Bob Mottram 95f46cf276 Check that hashtag name exists 2019-12-12 12:57:08 +00:00
Bob Mottram 1a94e9b239 Handling removal of hashtags 2019-12-12 12:54:39 +00:00
Bob Mottram 72192282dd Make replies to non-public posts non-public 2019-12-10 17:19:53 +00:00
Bob Mottram 1c2a643522 Remove etag when post is deleted 2019-12-04 13:00:34 +00:00
Bob Mottram c948effb85 Missing argument 2019-12-02 16:10:18 +00:00
Bob Mottram 964b8524b3 Check object 2019-12-02 16:08:26 +00:00
Bob Mottram c29dbe4dae Add muted field 2019-12-01 16:15:41 +00:00
Bob Mottram 7ee0f39767 Missing domain 2019-12-01 13:55:24 +00:00
Bob Mottram ec6bd97e1c Mute button 2019-12-01 13:45:30 +00:00
Bob Mottram 96775d6d66 Remove debug 2019-11-29 23:34:21 +00:00
Bob Mottram 8283edd34e cache post filename 2019-11-29 23:20:56 +00:00
Bob Mottram 8dc02ae340 Check for invalid directory 2019-11-29 23:04:37 +00:00
Bob Mottram aa8956827d Debug 2019-11-29 22:57:30 +00:00
Bob Mottram 7186100126 Debug 2019-11-29 22:55:18 +00:00
Bob Mottram 915288c7e1 Debug 2019-11-29 22:52:55 +00:00
Bob Mottram fe3fb78801 Receiving question updates 2019-11-26 10:43:37 +00:00
Bob Mottram d73f40c8f2 Remove any hash from cached post id 2019-11-25 14:09:47 +00:00
Bob Mottram efacbc0d0c Avoid nicknames which could confuse the system 2019-11-25 12:37:11 +00:00
Bob Mottram 7ffc14e0fb Check that index exists 2019-11-24 23:52:29 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram f6f35d69d6 Update announce posts in cache 2019-11-24 13:46:28 +00:00
Bob Mottram ae1ce9080f Remove commentjson entirely 2019-11-23 10:28:36 +00:00
Bob Mottram ac2ab89aa6 Use dumps to save json 2019-11-23 10:20:30 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram bddd03beec Strip 2019-11-18 14:44:36 +00:00
Bob Mottram 8ead5da34a More debug 2019-11-18 14:42:18 +00:00
Bob Mottram eacef272d3 Remove any trailing activity 2019-11-18 10:18:59 +00:00
Bob Mottram 8d4f6ea60a Don't delete bookmarked posts 2019-11-17 15:19:34 +00:00
Bob Mottram 26d561d4d7 Fix removals from moderation index 2019-11-16 22:09:54 +00:00
Bob Mottram 5fdb836cf5 Constant list 2019-11-16 12:14:14 +00:00
Bob Mottram fb2eb659e2 Check signature before domains 2019-11-16 12:07:57 +00:00
Bob Mottram cfd468c595 Show number of tries 2019-11-15 22:42:50 +00:00
Bob Mottram 4e97b26bfa int convert to be sure 2019-11-13 15:17:08 +00:00
Bob Mottram edc004b0ab Specify months 2019-11-13 15:16:24 +00:00
Bob Mottram 383d633d7d Function for monthly active accounts 2019-11-13 15:15:08 +00:00
Bob Mottram 32f4f9a77c Include @ 2019-11-13 14:07:11 +00:00
Bob Mottram 74a0b0b2c1 Get published time 2019-11-06 14:50:17 +00:00
Bob Mottram b2f926eaa3 Archive based on creation date of post files 2019-11-06 13:35:25 +00:00
Bob Mottram 841367fa76 prepend to follow/followers files 2019-10-26 16:15:38 +01:00
Bob Mottram a65b8bf644 savejson error handling 2019-10-26 14:31:42 +01:00
Bob Mottram e7f377698a Catch all commentjson load errors 2019-10-26 14:01:32 +01:00
Bob Mottram 5f94b413a7 json loading error handling 2019-10-26 13:47:27 +01:00
Bob Mottram cf2be50b48 commentjson exceptions 2019-10-26 13:19:34 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 255a32c0dc Remove cached post on like update 2019-10-19 18:50:05 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram 385a0ee31d Another block 2019-10-17 17:00:34 +01:00
Bob Mottram b0be557047 Fix status number using sequence data 2019-10-12 13:45:53 +01:00
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram 6ec9946a29 More reserved names 2019-10-10 19:30:25 +01:00
Bob Mottram 4ac811e584 Obtain preferred name from cached actor 2019-10-09 14:24:14 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram cd30e547b8 Unit test for emoji 2019-09-29 19:48:34 +01:00
Bob Mottram aa56da14b6 Extra site 2019-09-09 18:38:15 +01:00
Bob Mottram a90039b57a Tidying 2019-09-09 16:53:23 +01:00
Bob Mottram 8877202ac1 Locate within announce cache 2019-09-02 17:23:03 +01:00
Bob Mottram d5a660cb8b Parse actors with 'profile' instead of 'user; 2019-09-02 09:47:56 +01:00
Bob Mottram a94a332ff1 Comment 2019-08-31 14:34:43 +01:00
Bob Mottram 52ba22e7ad Improve handling of evil 2019-08-31 14:26:59 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram 97487eeb54 Timeline for DMs 2019-08-25 17:09:56 +01:00
Bob Mottram 2186b5e1cd Remove unused ostatus stuff 2019-08-24 17:40:28 +01:00
Bob Mottram 377940a31f Shared inbox actor on @domain@domain 2019-08-23 14:47:29 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 99ed86566d Sequence 2019-08-22 14:29:57 +01:00
Bob Mottram 4e3d868b10 split first half 2019-08-22 14:21:16 +01:00
Bob Mottram 1dc1ee9d3b Remove status when getting preferred name 2019-08-22 14:00:51 +01:00
Bob Mottram 0cf6dfd87b Preferred name from within actor 2019-08-22 13:56:33 +01:00
Bob Mottram 5e7fe5d54a Reverse logic 2019-08-22 13:44:24 +01:00
Bob Mottram 53bd98075e Use preferred names in posts 2019-08-22 13:41:16 +01:00
Bob Mottram 58f78f1751 Handle https://domain/@nick searches 2019-08-21 17:23:06 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram cc332f316b Deletion of moderation reports 2019-08-12 19:02:29 +01:00
Bob Mottram cc81de178f Moderate button 2019-08-12 14:22:17 +01:00
Bob Mottram 2941b9df33 Tidying 2019-08-10 12:31:42 +01:00
Bob Mottram 43137d2e9b Remove hashtag index entry when a post is deleted 2019-08-09 12:39:53 +01:00
Bob Mottram 13dc4e889b Register button 2019-08-08 12:24:26 +01:00
Bob Mottram fcf8399b5a Posting via web interface 2019-07-28 14:30:19 +01:00
Bob Mottram e6c246fc8e Connect new posts to web interface 2019-07-27 23:48:34 +01:00
Bob Mottram 744b345b30 Save image when receiving new post 2019-07-27 21:30:58 +01:00
Bob Mottram 3813809958 Fix follower ports 2019-07-16 23:57:45 +01:00
Bob Mottram 090f8eacc3 Remove attachments for deleted posts 2019-07-14 18:02:41 +01:00
Bob Mottram e1a6528307 Tidying 2019-07-14 17:57:06 +01:00
Bob Mottram 9fab084e20 Recursive delete 2019-07-14 17:37:01 +01:00
Bob Mottram d2fcb37dd9 Handle displaying replies 2019-07-13 20:28:14 +01:00
Bob Mottram d8ed70f7d2 Domain permissions 2019-07-12 21:56:26 +01:00
Bob Mottram 5d80b5adbc Check that announce activity arrives 2019-07-11 20:31:02 +01:00
Bob Mottram c301f45b33 Move shared inbox account into daemon 2019-07-11 13:29:31 +01:00
Bob Mottram 9856f414b4 Like functions 2019-07-10 10:47:07 +01:00
Bob Mottram 76e8167ce7 Updating of capabilities 2019-07-09 15:20:23 +01:00
Bob Mottram 1b10d7ef4b Removed unused capabilities functions 2019-07-09 10:20:04 +01:00
Bob Mottram 1d820e2199 Include the handle within the capability id. This improves the matching confidence for shared inbox 2019-07-09 09:39:50 +01:00
Bob Mottram e9cf9dfc27 Add capabilities to follow requests 2019-07-07 12:53:32 +01:00
Bob Mottram 03ecaf9a8a Follow request test passes 2019-07-06 20:24:52 +01:00
Bob Mottram e3be2f4328 Receive follow accept 2019-07-06 16:17:21 +01:00
Bob Mottram c9d62e8361 Adding capabilities to posts 2019-07-06 11:33:57 +01:00
Bob Mottram 640cf71416 Save posts to inbox to a queue 2019-07-04 11:02:56 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00
Bob Mottram faaccbe1db Consolidate permissions functions 2019-07-02 11:39:55 +01:00
Bob Mottram f609e365da Announce function 2019-07-02 10:25:29 +01:00