Commit Graph

657 Commits (57b96c6c33f4e58bccb3bcfcd2ce575c66d60f90)

Author SHA1 Message Date
Bob Mottram dac2324ba9 Snake case 2021-12-26 14:26:16 +00:00
Bob Mottram 24118d0e7f Snake case 2021-12-26 14:24:03 +00:00
Bob Mottram 544f94b306 Snake case 2021-12-26 14:20:09 +00:00
Bob Mottram f25d6f9203 Snake case 2021-12-26 14:17:13 +00:00
Bob Mottram ae2cef4569 Snake case 2021-12-26 14:11:30 +00:00
Bob Mottram 6604143504 Snake case 2021-12-26 14:08:58 +00:00
Bob Mottram af628d051c Snake case 2021-12-26 13:27:57 +00:00
Bob Mottram 19e1bd2542 Snake case 2021-12-26 13:24:20 +00:00
Bob Mottram 7f0ceaa449 Snake case 2021-12-26 13:21:50 +00:00
Bob Mottram cdf7fbd8ac Snake case 2021-12-26 13:17:46 +00:00
Bob Mottram 3a9b6095ac Snake case 2021-12-26 12:54:51 +00:00
Bob Mottram 79dabfa8fc Snake case 2021-12-26 12:45:03 +00:00
Bob Mottram f586d1bf66 Snake case 2021-12-26 12:37:53 +00:00
Bob Mottram 4215af54e3 Snake case 2021-12-26 12:31:47 +00:00
Bob Mottram 257f29a815 Snake case 2021-12-26 12:24:40 +00:00
Bob Mottram fc98441a40 Snake case 2021-12-26 12:21:31 +00:00
Bob Mottram 8f97b42fd4 Snake case 2021-12-26 12:19:00 +00:00
Bob Mottram 65e42a7c12 Snake case 2021-12-26 12:16:36 +00:00
Bob Mottram 41d8c2edde Snake case 2021-12-26 12:13:46 +00:00
Bob Mottram 2ae2ce4945 Snake case 2021-12-26 12:10:21 +00:00
Bob Mottram 35f3eaa321 Snake case 2021-12-26 12:07:40 +00:00
Bob Mottram a151710ce2 Snake case 2021-12-26 12:02:29 +00:00
Bob Mottram dcafa28ee4 Snake case 2021-12-26 11:29:40 +00:00
Bob Mottram 594b3beb55 Snake case 2021-12-26 10:57:03 +00:00
Bob Mottram 23af1b48ef Snake case 2021-12-26 10:54:58 +00:00
Bob Mottram d90fd16128 Snake case 2021-12-26 10:52:54 +00:00
Bob Mottram d177997063 Snake case 2021-12-26 10:50:49 +00:00
Bob Mottram 4c2b42f3ba Snake case 2021-12-26 10:40:24 +00:00
Bob Mottram 06e7ed0ac3 Snake case 2021-12-26 10:38:02 +00:00
Bob Mottram 8d259d25a0 Snake case 2021-12-26 10:35:37 +00:00
Bob Mottram 164393cd3d Snake case 2021-12-26 10:32:45 +00:00
Bob Mottram c99a29df89 Snake case 2021-12-26 10:29:52 +00:00
Bob Mottram 3d9559bf27 Snake case 2021-12-26 10:22:19 +00:00
Bob Mottram 963ed4aa1f Snake case 2021-12-26 10:19:59 +00:00
Bob Mottram a047d9785b Snake case 2021-12-26 10:11:18 +00:00
Bob Mottram 6abe5d83fe Snake case 2021-12-26 10:00:46 +00:00
Bob Mottram 81141ad35b Snake case 2021-12-26 00:07:44 +00:00
Bob Mottram 77fc7ddc8e Snake case 2021-12-25 23:45:30 +00:00
Bob Mottram 3a26274342 Snake case 2021-12-25 23:03:28 +00:00
Bob Mottram 8a3d87d4a8 Snake case 2021-12-25 22:17:49 +00:00
Bob Mottram 4479027aef Snake case 2021-12-25 22:09:19 +00:00
Bob Mottram 2e157b5441 Snake case 2021-12-25 20:43:43 +00:00
Bob Mottram e9a98497c1 Snake case 2021-12-25 20:28:06 +00:00
Bob Mottram a8a4aa3d98 Snake case 2021-12-25 18:54:50 +00:00
Bob Mottram 0a5889c531 Snake case 2021-12-25 18:47:04 +00:00
Bob Mottram 43c2684781 Snake case 2021-12-25 17:31:22 +00:00
Bob Mottram 49e7432076 Snake case 2021-12-25 17:09:22 +00:00
Bob Mottram acc780e780 Snake case 2021-12-25 16:17:53 +00:00
Bob Mottram 8c0c6b08ff Exception variable names 2021-12-25 15:28:52 +00:00
Bob Mottram abdc0ad957 Exception handling 2021-12-24 20:43:54 +00:00
Bob Mottram f36d19ccbe Include dot 2021-12-17 12:13:20 +00:00
Bob Mottram 1b2f3d2539 Shorter filename 2021-12-17 12:11:59 +00:00
Bob Mottram c6516b55c3 Shorter cached favicon filename 2021-12-17 12:01:54 +00:00
Bob Mottram 5b4a3caa4a Detect icon type 2021-12-16 23:47:01 +00:00
Bob Mottram 1104de5ff1 Check that post actors don't contain hashes 2021-12-06 12:58:54 +00:00
Bob Mottram 7058b6e2db Tidying 2021-12-06 12:42:05 +00:00
Bob Mottram 9daad0bd5c Remove Create from ending 2021-12-06 11:15:35 +00:00
Bob Mottram b3e57c5fde Remove bookmark endings from post ids 2021-12-06 11:12:06 +00:00
Bob Mottram 10f24bcc2d Exception prefix 2021-11-25 22:22:54 +00:00
Bob Mottram 6953b2cd43 More specific exceptions 2021-11-25 18:42:38 +00:00
Bob Mottram b6fda529d1 More standard terminology 2021-11-22 12:05:09 +00:00
Bob Mottram 2ce93f24d7 Page avtivity type 2021-11-18 18:43:58 +00:00
Bob Mottram 68badb0e36 Handle emoji reactions 2021-11-10 12:16:03 +00:00
Bob Mottram b65f7722d4 Tidying of new post endpoints 2021-11-03 11:32:38 +00:00
Bob Mottram 0fc18cc7dd Tidying 2021-11-03 11:25:26 +00:00
Bob Mottram 2fd250ceec Check for type 2021-10-30 20:26:52 +01:00
Bob Mottram eeb95973d9 Remove default arguments for better static analysis 2021-10-29 23:40:09 +01:00
Bob Mottram d6150d7fb0 Debug messages for exceptions 2021-10-29 19:48:15 +01:00
Bob Mottram 07495f9e5d Show warnings for exceptions 2021-10-29 15:33:52 +01:00
Bob Mottram 6f2b02f369 Check for malformed ciphertext within incoming posts 2021-10-28 12:48:05 +01:00
Bob Mottram 8fe8701414 Default user agent blocks 2021-10-23 23:56:16 +01:00
Bob Mottram 7ee48e6d20 Use like json if available when updating collections 2021-10-17 17:11:38 +01:00
Bob Mottram b490c0b791 Announces can have likes collections 2021-10-14 23:43:42 +01:00
Bob Mottram 198381e99a Tidying 2021-10-13 12:15:06 +01:00
Bob Mottram b8fbc8057b Tidying 2021-10-13 11:37:52 +01:00
Bob Mottram 614e274e24 Tidying 2021-10-13 11:11:02 +01:00
Bob Mottram 8e6084d42d Function to check for presence of actor in activity 2021-10-13 10:33:15 +01:00
Bob Mottram 67a6aaa834 Support payto links 2021-09-21 11:24:42 +01:00
Bob Mottram 076f1ff87c Profile button on shared item 2021-09-19 16:54:51 +01:00
Bob Mottram 418897b7ce Exclude code from markup, unless it is a git patch 2021-09-19 10:03:19 +01:00
Bob Mottram 192eeaff27 Don't allow svg files containing scripts 2021-09-13 18:51:33 +01:00
Bob Mottram cadb306b66 Define strings outside of loop 2021-09-13 18:08:45 +01:00
Bob Mottram 851c66f38c video-channels users path 2021-09-13 14:57:37 +01:00
Bob Mottram 41c6d2e286 Check for users path 2021-09-12 17:04:45 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 67a2c2939f Check that the post replies to is a status 2021-09-10 12:12:52 +01:00
Bob Mottram d38875a705 More deterministic test 2021-09-08 21:12:03 +01:00
Bob Mottram 4ae19caeb4 Set reply interval from edit profile screen 2021-09-08 20:30:49 +01:00
Bob Mottram 9601220e66 Implement reply interval in hours
The time after publication of a post during which replies are permitted
2021-09-08 19:37:04 +01:00
Bob Mottram d9cda14782 Signing GET requests 2021-09-08 11:05:45 +01:00
Bob Mottram 3a94d7fb41 Exception handling when deleting files
This can fail if a file is manually deleted or deleted in another thread
2021-09-05 11:17:43 +01:00
Bob Mottram 2b03825638 Move likes update to like module 2021-09-03 13:00:23 +01:00
Bob Mottram 33578b0842 Getting instance actor 2021-09-02 14:02:07 +01:00
Bob Mottram 06315138d4 More invalid characters 2021-08-30 19:15:51 +01:00
Bob Mottram bd497b6d20 Another easy block decision 2021-08-30 19:06:04 +01:00
Bob Mottram 4d771166e0 Replace /users/ with other possible paths 2021-08-22 19:38:02 +01:00
Bob Mottram 87a7d2e154 Tidying of actor urls 2021-08-14 12:13:39 +01:00
Bob Mottram e775ed4cdf Ensure that groups can't follow groups, to prevent circular reference 2021-08-12 18:50:33 +01:00
Bob Mottram a6149853ca Variable name 2021-08-12 15:16:13 +01:00
Bob Mottram 2a163cafd0 Muting by conversation ID 2021-08-12 11:22:04 +01:00
Bob Mottram 5b286bfe68 Handle languages list as a string 2021-08-11 10:00:17 +01:00
Bob Mottram 641963dc05 Generalize the shares file so that there can be separate shares and wanted items 2021-08-09 14:07:32 +01:00
Bob Mottram c36e804b89 Avoid backup files 2021-08-08 21:05:40 +01:00
Bob Mottram 17c2a54d5d Exclude custom ontologies 2021-08-08 20:55:54 +01:00
Bob Mottram 7105bbe8cd Exclude custom ontologies 2021-08-08 20:53:11 +01:00
Bob Mottram d0dc6a07a0 More general list of shared item categories 2021-08-08 19:39:03 +01:00
Bob Mottram 62dc1aace7 More reserved words 2021-08-08 18:05:26 +01:00
Bob Mottram aeb896b454 Translations for ontology 2021-08-08 12:16:18 +01:00
Bob Mottram 83c631104a Currency field as dropdown 2021-08-07 18:44:25 +01:00
Bob Mottram beb451baf7 Tidying of mime types 2021-08-03 10:09:04 +01:00
Bob Mottram cfea4f0c90 Fixing --posts option 2021-08-01 14:25:11 +01:00
Bob Mottram d48aff4807 Unit test for following a group 2021-07-31 12:56:28 +01:00
Bob Mottram 71cabd74a2 Unfollowing group handles 2021-07-30 17:06:34 +01:00
Bob Mottram 3f14bc178c Comment 2021-07-30 14:03:29 +01:00
Bob Mottram 40f0aac017 Detecting group handle 2021-07-30 14:00:23 +01:00
Bob Mottram e51b511fed Don't confuse nicknames for people and groups 2021-07-30 12:23:42 +01:00
Bob Mottram 9d86bc0f74 Check length of nickname 2021-07-29 15:24:29 +01:00
Bob Mottram d26d2ec8df Same maximum username length as mastodon 2021-07-29 15:22:55 +01:00
Bob Mottram 07072d8e7c Simpler password validation 2021-07-29 15:15:44 +01:00
Bob Mottram 200a4bff31 Double backslash 2021-07-29 14:27:29 +01:00
Bob Mottram fca261806f Matching words 2021-07-29 14:19:59 +01:00
Bob Mottram 8aac65c3c4 Not containing words 2021-07-29 14:14:37 +01:00
Bob Mottram f6ee975236 Validation pattern for nickname on login screen 2021-07-29 13:18:12 +01:00
Bob Mottram 3b94048e28 Better support for alternative users paths 2021-07-28 13:49:02 +01:00
Bob Mottram 5e33821b41 Single function defining users paths 2021-07-28 13:08:19 +01:00
Bob Mottram 64f63aa0b6 Unit test for date conversion 2021-07-28 10:35:21 +01:00
Bob Mottram 009d23a948 Extra reserved word 2021-07-27 22:06:22 +01:00
Bob Mottram dc7851ec6c Authorized access to catalog 2021-07-25 14:09:39 +01:00
Bob Mottram 946c10e3aa Handle posts without text 2021-07-23 15:32:21 +01:00
Bob Mottram a3fbea9a69 Validate passwords 2021-07-20 21:39:26 +01:00
Bob Mottram 1544e526c4 Ensure that line endings are removed from changed password 2021-07-20 15:39:43 +01:00
Bob Mottram bb3de9e173 Handling of understood languages prior to automatic translation 2021-07-20 14:33:27 +01:00
Bob Mottram bb3dee7533 Getting post content 2021-07-20 13:28:56 +01:00
Bob Mottram 79b356a374 Support for libretranslate 2021-07-19 20:40:04 +01:00
Bob Mottram 33ce8fbfb5 Use cached actors when checking understood languages
This improves speed by reducing disk reads
2021-07-19 09:46:21 +01:00
Bob Mottram 93a30f1255 Check that announces are understood 2021-07-18 20:35:34 +01:00
Bob Mottram 8c8c279cd0 Itterate through list 2021-07-18 20:08:17 +01:00
Bob Mottram b89c2b7dcd Tidying 2021-07-18 20:01:19 +01:00
Bob Mottram 1c75c14a6a Sort languages list 2021-07-18 19:57:08 +01:00
Bob Mottram f48b63a892 Check that language for incoming post is understood by the account 2021-07-18 19:33:53 +01:00
Bob Mottram 50096bff11 Improve handling of contentMap within posts 2021-07-18 15:15:16 +01:00
Bob Mottram e3e1716f1f Support for contentMap when creating html posts 2021-07-18 12:48:29 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 53f6b637bf Tidying 2021-07-13 16:49:29 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram e8553eb192 Tidying 2021-07-09 21:53:49 +01:00
Bob Mottram 06eb2b96a3 Check for dictionary objects 2021-07-06 11:00:19 +01:00
Bob Mottram 457004794c Function for checking url prefixes 2021-07-06 10:44:45 +01:00
Bob Mottram e8d45565b4 Less indentation 2021-07-05 11:25:21 +01:00
Bob Mottram cd14cc2775 Less indentation 2021-07-05 11:22:23 +01:00
Bob Mottram 2099788bcd Tidying 2021-07-05 11:15:35 +01:00
Bob Mottram 607f54eb5b Remove redundant function 2021-07-05 11:09:11 +01:00
Bob Mottram 3a509400a7 Comments 2021-07-05 10:55:01 +01:00
Bob Mottram 8ae7262e9a Use function to check for dict 2021-07-05 10:51:07 +01:00
Bob Mottram 4ba64797ef Tidying of post deletion 2021-07-05 10:45:55 +01:00
Bob Mottram 021556ccee Tidying of post deletion 2021-07-05 10:24:29 +01:00
Bob Mottram 0335e52458 Function to return user paths 2021-07-04 23:58:01 +01:00
Bob Mottram 5d38503baa Deprecate events
Mobilizon does it in a different way
2021-07-01 22:30:36 +01:00
Bob Mottram 0627c10996 Tidying of image formats 2021-07-01 10:51:16 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram a194ada543 Module groups 2021-06-26 12:16:41 +01:00
Bob Mottram d7ad3733ff Checking account directories 2021-06-25 19:02:05 +01:00
Bob Mottram 7e324702ce Module groups 2021-06-25 17:10:09 +01:00
Bob Mottram 6f8060932c Alternative field for indicating no replies 2021-06-25 10:51:54 +01:00
Bob Mottram d90336239e Tidying 2021-06-24 20:55:29 +01:00
Bob Mottram c8b8663725 Comment 2021-06-24 20:28:26 +01:00
Bob Mottram b0a91c2dc1 Tidying 2021-06-24 20:25:39 +01:00
Bob Mottram 59840fc35e Tidying 2021-06-24 20:10:23 +01:00
Bob Mottram bb09f2a655 Function to extract port number from domain 2021-06-23 22:44:31 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +01:00
Bob Mottram 939e053e5b Function to check that activitypub posts have an object dictionary 2021-06-22 16:45:59 +01:00
Bob Mottram 80f43a728a Spaces 2021-06-22 13:42:52 +01:00
Bob Mottram 25d0cd8c65 Use with style when writing files 2021-06-22 13:27:10 +01:00
Bob Mottram d42ee647d3 Revert "File storage functions"
This reverts commit 9c18e7042e.
2021-06-21 23:53:04 +01:00
Bob Mottram 550a993711 Revert "Storage functions"
This reverts commit feb4286031.
2021-06-21 23:52:50 +01:00
Bob Mottram cd008c3013 Revert "Reading functions"
This reverts commit ee0ffade9d.
2021-06-21 23:52:04 +01:00
Bob Mottram ee0ffade9d Reading functions 2021-06-21 23:34:46 +01:00
Bob Mottram feb4286031 Storage functions 2021-06-21 22:21:43 +01:00
Bob Mottram 9c18e7042e File storage functions 2021-06-21 22:02:03 +01:00
Bob Mottram 1c25de21c6 More reserved names 2021-06-20 20:32:06 +01:00
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