Commit Graph

427 Commits (d3fc9ee45ed9c42230e7797a861eb02ba4f3e8bb)

Author SHA1 Message Date
Bob Mottram 0068b2b8cd Unit test for user agent domain 2021-06-20 16:45:29 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram 4d849f33a8 Change paths for avatars and backgrounds to be similar to Mastodon icon/image 2021-06-10 10:37:44 +01:00
Bob Mottram f4b0491c34 Get forwarded IP address 2021-06-09 15:01:26 +01:00
Bob Mottram 2eb101823d Move function out of daemon 2021-06-07 20:18:13 +01:00
Bob Mottram fc3a5c664c Function to test for account directories 2021-06-07 10:10:52 +01:00
Bob Mottram 1c732f5d70 Resolving smithereen actors 2021-06-03 19:49:09 +01:00
Bob Mottram ca17ba9fe3 Additional users path 2021-06-03 19:30:48 +01:00
Bob Mottram 0f81cc6ef8 Tidying 2021-06-02 20:38:12 +01:00
Bob Mottram 41a291c40b Remove unused functions 2021-05-31 17:05:32 +01:00
Bob Mottram 3b2237dc44 Clearing cache when new announce is received 2021-05-19 20:42:45 +01:00
Bob Mottram bbde34144f Clearing cache when new like is received 2021-05-19 20:35:07 +01:00
Bob Mottram 8bae4c7e2d Remove from memory cache first 2021-05-19 19:58:27 +01:00
Bob Mottram 6765f7b02f Also remove noscript markup 2021-05-19 12:32:31 +01:00
Bob Mottram fd30083696 Detect encoded script markup 2021-05-19 12:29:37 +01:00
Bob Mottram 7a78f8e7d8 Graphic design section on edit profile screen 2021-05-17 18:52:33 +01:00
Bob Mottram 65b0a6b728 Change how roles are represented 2021-05-16 16:10:39 +01:00
Bob Mottram 019f885c01 Tidying 2021-05-07 16:58:39 +01:00
Bob Mottram ea588262ef Bookmarks search 2021-05-03 23:31:06 +01:00
Bob Mottram 01ae322139 Boolean return 2021-04-22 11:54:49 +01:00
Bob Mottram 91c955006a Permitted DM instances within edit profile screen 2021-04-22 10:56:40 +01:00
Bob Mottram 702fa3167f Instance allow list for receiving DMs 2021-04-22 10:27:20 +01:00
Bob Mottram 35205a9309 Include news account 2021-04-21 17:09:56 +01:00
Bob Mottram abf822abac Check that cache entry exists before deleting 2021-03-25 22:02:31 +00:00
Bob Mottram 5c1db15723 Highlight inbox posts addressed to you 2021-03-23 11:22:09 +00:00
Bob Mottram 02cbf4a2b9 Convert html paragraphs 2021-03-23 10:52:10 +00:00
Bob Mottram dbad3f2fbd Adding spaces after full stops 2021-03-23 10:38:03 +00:00
Bob Mottram eaf179f704 Space after full stop 2021-03-23 10:18:47 +00:00
Bob Mottram 96cbed7dd1 Remove leading space from links 2021-03-22 14:36:27 +00:00
Bob Mottram f6a07cde76 Re-adding notifications to the desktop client 2021-03-22 13:09:17 +00:00
Bob Mottram d98dc388d8 Add ignores collection to make mutes visible to c2s 2021-03-21 10:45:24 +00:00
Bob Mottram b8fb58b2fb Add bookmarks as a reserved name 2021-03-20 10:16:06 +00:00
Bob Mottram dbb2c39632 Sequence 2021-03-18 17:30:47 +00:00
Bob Mottram c9e36e8577 Add speakable text for desktop client 2021-03-18 17:27:46 +00:00
Bob Mottram 928412c34c Less verbose 2021-03-14 19:53:22 +00:00
Bob Mottram 3b5dba87c3 Tidying of encrypted message detection 2021-03-12 12:04:34 +00:00
Bob Mottram 66056face5 Add dm and reply notifications to speaker endpoint 2021-03-09 13:52:02 +00:00
Bob Mottram 151fa8cab6 Remove rejected posts from recent posts cache 2021-03-05 19:23:33 +00:00
Bob Mottram e1de415809 Tidying 2021-03-05 19:00:37 +00:00
Bob Mottram 568d73845d Mark announces which are invalid with reject extension 2021-03-05 18:03:15 +00:00
Bob Mottram 79610c8bf8 Be more generous with post recency 2021-03-05 16:48:28 +00:00
Bob Mottram 30e11be0b0 Split camelcase display names for speaker clarity 2021-03-03 20:34:55 +00:00
Bob Mottram a9f5831db9 Check post recency before creating speaker endpoint 2021-03-03 20:16:53 +00:00
Bob Mottram 76314d55b6 Fix unit tests 2021-03-03 19:15:32 +00:00
Bob Mottram 0b3897b174 Speaking announces 2021-03-03 17:09:31 +00:00
Bob Mottram dd3d4d27fc gender or pronoun tag 2021-03-03 14:30:50 +00:00
Bob Mottram ce75a26a3c More gender words 2021-03-03 14:19:07 +00:00
Bob Mottram 5b2986d685 Gender detection from profile tag 2021-03-03 13:37:18 +00:00
Bob Mottram d96cdd6c85 Gender detaction for SSML 2021-03-03 13:02:47 +00:00
Bob Mottram f2824118a8 Function to display help images 2021-02-26 16:59:38 +00:00
Bob Mottram bcc59bac97 Extra reserved name 2021-02-25 18:33:35 +00:00
Bob Mottram ea23f01df2 Actor validation for arriving posts 2021-02-15 10:06:49 +00:00
Bob Mottram 03c234eac9 Featured writers 2021-02-13 11:37:02 +00:00
Bob Mottram 5ef5174fee Refresh newswire after removing or suspending an account 2021-02-13 10:01:04 +00:00
Bob Mottram 292fa6fd8f Abbreviate function name 2021-02-11 11:02:05 +00:00
Bob Mottram 6806218202 Screen for outgoing abusive posts 2021-02-11 10:33:56 +00:00
Bob Mottram b16fb0d24c Improve checking of site active status
This uses a defluffed version of webchk
2021-02-10 11:24:34 +00:00
Bob Mottram f97d7f4c6a Honk style users path 2021-02-09 17:00:35 +00:00
Bob Mottram 345ded45c7 Honk style users path 2021-02-09 16:21:59 +00:00
Bob Mottram 890c8856a8 More thorough validation of hashtags and nicknames 2021-02-09 14:41:32 +00:00
Bob Mottram 76671bae89 Filter for obviously hostile domains 2021-02-06 21:05:09 +00:00
Bob Mottram 0e9aa4766f Move jsonld signatures to python3-cryptography 2021-02-04 18:18:31 +00:00
Bob Mottram e9fbef95c0 Skip site active check for onion and i2p 2021-02-02 15:45:40 +00:00
Bob Mottram 8bbd9b6173 Check for dangerous markup in display name and clearly indicate adversaries 2021-01-31 11:05:17 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 3680d24247 Extra invalid nickname 2021-01-25 15:02:02 +00:00
Bob Mottram fd12451f5a Tests for international domain handling 2021-01-25 12:24:40 +00:00
Bob Mottram 7ac901980f Check for localhost 2021-01-25 11:51:42 +00:00
Bob Mottram 192498859a Don't do idna conversion for local network addresses 2021-01-25 11:38:12 +00:00
Bob Mottram 1bb4eab631 Support for svg format images 2021-01-11 22:27:57 +00:00
Bob Mottram 7d22d2ec25 Handle exception on date format 2021-01-09 10:23:05 +00:00
Bob Mottram a9fcabd366 Show locked account status after search for handle 2021-01-02 11:18:43 +00:00
Bob Mottram 2bbdbe9774 Add ftp as a supported link type 2021-01-02 10:37:19 +00:00
Bob Mottram 9d937826bc Update when receiving likes 2020-12-30 21:21:57 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram 838d853a59 Tidying of users path detection 2020-12-23 10:57:44 +00:00
Bob Mottram 3ff0866deb Test that number of function arguments match 2020-12-22 21:24:46 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 96e813181b Move hashtag categories functions to their own module 2020-12-22 10:30:52 +00:00
Bob Mottram 23301b35a5 Validate newswire item dates
So they can't be in the future or too far in the past
2020-12-21 12:11:45 +00:00
Bob Mottram c8e9804b4a Tidying 2020-12-16 10:30:54 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram e727cc4c22 String 2020-12-13 13:45:06 +00:00
Bob Mottram 2127252ca0 Add space 2020-12-13 13:43:09 +00:00
Bob Mottram d6e60ff3d3 Mark dormant followed accounts on profile 2020-12-13 12:44:17 +00:00
Bob Mottram d1a16c486c Create tags directory if needed 2020-12-11 11:21:50 +00:00
Bob Mottram 8878df7bbb Extra name check 2020-12-10 09:50:45 +00:00
Bob Mottram f45f6235d0 Only show tags that exist 2020-12-05 16:11:11 +00:00
Bob Mottram d2f8d916f7 Filter for recent hashtags on category screen 2020-12-05 16:06:36 +00:00
Bob Mottram 09e980da24 Setting categories from defaults 2020-12-05 14:43:29 +00:00
Bob Mottram c3ce17cb6b Try different cases when setting title 2020-12-03 12:46:56 +00:00
Bob Mottram b55df96f3a Handle hashtag case 2020-12-03 12:42:12 +00:00
Bob Mottram 553bd86901 Validation on categories 2020-12-03 10:03:53 +00:00
Bob Mottram 4a8ceda973 Show hashtag gategory from search screen 2020-12-02 21:46:14 +00:00
Bob Mottram 8ad13c94c7 Sort hashtag categories list 2020-12-02 13:38:07 +00:00
Bob Mottram 61ee919a1f Avoid empty categories 2020-12-02 13:19:56 +00:00
Bob Mottram 9873382d4f Update hashtag category list when changing tags 2020-12-02 13:16:00 +00:00
Bob Mottram 512d1811c5 Don't check file 2020-12-02 11:23:58 +00:00
Bob Mottram b2e1b2e920 Set hashtag category via POST 2020-12-02 11:12:56 +00:00
Bob Mottram c715d39b4a Editors can set a hashtag category 2020-12-01 21:44:27 +00:00
Bob Mottram c05cb812e1 Extra invalid nickname 2020-11-28 20:32:55 +00:00
Bob Mottram 36dad532df Comment 2020-11-24 12:24:30 +00:00
Bob Mottram ddb11903d4 Create default petname when following 2020-11-23 15:07:55 +00:00
Bob Mottram 30ebfda697 Tidy up the handling of media formats 2020-11-21 11:54:29 +00:00
Bob Mottram 050c87d0e4 Move image format functions to utils 2020-11-21 11:21:05 +00:00
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