Commit Graph

459 Commits (d1e2713cdae8c23a4e55eea27d336f5d9b4a85cd)

Author SHA1 Message Date
Bob Mottram ec8ae64937 Set content license on images 2021-11-08 18:09:24 +00:00
Bob Mottram d6150d7fb0 Debug messages for exceptions 2021-10-29 19:48:15 +01:00
Bob Mottram 09bb7f99b5 Tidying 2021-10-29 13:52:23 +01:00
Bob Mottram 6a9cd38912 Avatar and header path same as mastodon 2021-10-12 18:53:08 +01:00
Bob Mottram 8661d2594d Icon and image without MediaType 2021-09-30 16:14:05 +01:00
Bob Mottram b414eec285 Additional params in outgoing actor update 2021-09-30 15:32:39 +01:00
Bob Mottram 0c397dba93 Make actor updates as close to what mastodon does as possible 2021-09-30 15:19:01 +01:00
Bob Mottram ab3e3eb772 Set context for outgoing actor updates 2021-09-30 14:28:43 +01:00
Bob Mottram f4a3065292 Use file content 2021-09-13 20:42:51 +01:00
Bob Mottram 2f70c6acff Most common result first 2021-09-13 20:39:43 +01:00
Bob Mottram fe99792df9 Tidying 2021-09-13 20:38:15 +01:00
Bob Mottram 7dd906da58 Allow svg avatars if they're proven harmless 2021-09-13 20:34:38 +01:00
Bob Mottram 932f94f72c Don't show svg avatars 2021-09-13 20:28:41 +01:00
Bob Mottram c5ec736ed8 Getting actor for group handles 2021-09-12 21:11:24 +01:00
Bob Mottram f10dcac0b2 More generic 2021-09-12 20:53:38 +01:00
Bob Mottram d51c77f2fa Getting group actor 2021-09-12 20:48:05 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 674b75b29e Set host domain 2021-09-08 13:27:59 +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 33578b0842 Getting instance actor 2021-09-02 14:02:07 +01:00
Bob Mottram fa7b27a196 Only upgrade user accounts 2021-08-31 19:39:03 +01:00
Bob Mottram 2ee6673dc0 Resolve instance actor 2021-08-31 19:30:39 +01:00
Bob Mottram 6c0a39c64d Support for authorized fetch using instance actor signing key 2021-08-31 15:17:11 +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 2d8ac3d7b0 id 2021-08-02 12:13:02 +01:00
Bob Mottram fdbdfaa9b5 Change shares endpoint name 2021-08-02 11:12:45 +01:00
Bob Mottram b7b8d35e9c Debug for invalid box name 2021-08-01 17:29:12 +01:00
Bob Mottram 40f0aac017 Detecting group handle 2021-07-30 14:00:23 +01:00
Bob Mottram bee0a4bcf5 group resource type within webfinger 2021-07-30 11:51:33 +01:00
Bob Mottram 4a5a22c105 Group handles 2021-07-29 15:41:32 +01:00
Bob Mottram 2e4832fc52 Support resolving group handles 2021-07-29 12:25:01 +01:00
Bob Mottram 3b94048e28 Better support for alternative users paths 2021-07-28 13:49:02 +01:00
Bob Mottram 4e30a17d83 Detecting the users path when getting actor 2021-07-28 13:37:26 +01:00
Bob Mottram cb46a95593 Ensure that line endings are removed from password on account creation 2021-07-20 17:09:58 +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 c0a3dd459b Setting permitted post languages on edit profile screen 2021-07-18 19:02:36 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram 0335e52458 Function to return user paths 2021-07-04 23:58:01 +01:00
Bob Mottram b870a69545 Tidying 2021-07-04 23:46:53 +01:00
Bob Mottram 907f3d8366 Set flag if users path is found 2021-07-04 20:59:08 +01:00
Bob Mottram a6cda457b5 Tidying 2021-07-04 12:39:13 +01:00
Bob Mottram e1a90cd319 Checking for image extensions 2021-07-04 12:15:26 +01:00
Bob Mottram 5d38503baa Deprecate events
Mobilizon does it in a different way
2021-07-01 22:30:36 +01:00
Bob Mottram ccddb3c765 dat becomes hyper 2021-07-01 18:59:24 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram 662483c499 Move function 2021-06-25 15:33:16 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +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 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram c2bc98d4de Set host domain when getting actor 2021-06-18 10:22:16 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +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 73da024042 Remove duplicate actor search 2021-06-03 20:46:35 +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 d4a6a2437b Duplicate definitions 2021-06-02 20:06:30 +01:00
Bob Mottram 8ff0a3a33e Upgrade to fediverse city 2021-05-17 11:29:07 +01:00
Bob Mottram b60ba0431e fediverse city 2021-05-17 11:27:14 +01:00
Bob Mottram 8e679aa08a occupation location 2021-05-17 11:04:26 +01:00
Bob Mottram a9740565ca Set location on role 2021-05-17 10:28:15 +01:00
Bob Mottram 3dc34bd77d Set locations for roles 2021-05-17 10:12:10 +01:00
Bob Mottram 65b0a6b728 Change how roles are represented 2021-05-16 16:10:39 +01:00
Bob Mottram c1eda4399b Skills metadata 2021-05-16 11:52:16 +01:00
Bob Mottram a0d10b7c14 Use sameas 2021-05-16 11:42:52 +01:00
Bob Mottram 2306d8d393 Convert strings to lists 2021-05-14 19:02:58 +01:00
Bob Mottram e44ed60ffc roleName becomes a list 2021-05-14 18:56:26 +01:00
Bob Mottram 2c70942481 Convert skills to a list 2021-05-14 18:41:05 +01:00
Bob Mottram ba0ec266d7 Comments 2021-05-13 21:21:37 +01:00
Bob Mottram 0b19087c88 Fix unit tests 2021-05-13 21:16:43 +01:00
Bob Mottram e58e7ce059 Published date 2021-05-13 21:00:40 +01:00
Bob Mottram 7e48beb0fe Remove role delegation
The keeps the handling of roles very simple
2021-05-13 20:58:16 +01:00
Bob Mottram 0cc86dc131 More standards compliant representation of skills 2021-05-13 14:27:35 +01:00
Bob Mottram 62d9000671 Remove occupation name 2021-05-13 12:27:29 +01:00
Bob Mottram e126d1ab1f Stray comma 2021-05-13 12:26:05 +01:00
Bob Mottram 0f0818994e More standard occupation property 2021-05-13 12:14:14 +01:00
Bob Mottram abb2342f08 Occupation 2021-05-12 18:57:57 +01:00
Bob Mottram 0493405f26 Add city model 2021-05-10 11:46:45 +01:00
Bob Mottram 05f1ada1c1 Spoof gps metadata on images 2021-05-09 20:11:05 +01:00
Bob Mottram d8b882c10f Option to spoof image metadata 2021-05-09 13:17:55 +01:00
Bob Mottram 89a15fdc73 Fix actor upgrades 2021-05-08 18:13:46 +01:00
Bob Mottram 364a27014d Avoid print 2021-03-17 20:27:08 +00:00
Bob Mottram 67f63c5119 Set pgp public key from desktop client 2021-03-17 20:18:00 +00:00
Bob Mottram 6dc85f69dc Less verbose 2021-03-14 20:55:37 +00:00
Bob Mottram 041b6f0a8c Less verbose 2021-03-14 20:41:37 +00:00
Bob Mottram faadca51b6 Less verbose when not in debug 2021-03-14 19:22:58 +00:00
Bob Mottram 9107f7da38 Move actor function 2021-03-11 18:15:04 +00:00
Bob Mottram 5af36bf817 Add tts endpoint to actor 2021-03-03 09:52:38 +00:00
Bob Mottram 5ef5174fee Refresh newswire after removing or suspending an account 2021-02-13 10:01:04 +00:00
Bob Mottram 3f248ce33b Generate signing keys using python3-cryptography 2021-02-04 17:26:00 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram bd66c4420f Remove nomadicLocations 2021-01-21 18:16:43 +00:00
Bob Mottram 13eada347d Make actors discoverable and use the default mastodon actor context 2021-01-21 13:17:43 +00:00
Bob Mottram 1bb4eab631 Support for svg format images 2021-01-11 22:27:57 +00:00
Bob Mottram a9fcabd366 Show locked account status after search for handle 2021-01-02 11:18:43 +00:00
Bob Mottram 74547ca8d9 Show locked account status on person options 2021-01-02 11:06:08 +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 a7b094f84f Test for stranded functions which aren't called 2020-12-22 12:59:46 +00:00
Bob Mottram 93da5f9b72 Revert to previous avatar path 2020-12-18 23:44:44 +00:00
Bob Mottram 9dd5ac532f Change avatar path 2020-12-18 23:38:15 +00:00
Bob Mottram 30d95182d3 Change avatar path 2020-12-18 23:34:52 +00:00
Bob Mottram e438d1bd8f Extra context 2020-12-18 21:43:08 +00:00
Bob Mottram f7fc448d9b Set some context 2020-12-18 21:31:08 +00:00
Bob Mottram 57156455d9 Discoverable actor parameter 2020-12-17 22:59:11 +00:00
Bob Mottram 6ec956e312 Tidying 2020-12-16 11:04:46 +00:00
Bob Mottram 0014e5f6e1 Features timeline function 2020-11-27 12:29:20 +00:00
Bob Mottram c002adccc6 Creating the news account 2020-11-24 12:42:33 +00:00
Bob Mottram 3c9ce0a6da Profile image 2020-11-24 12:19:35 +00:00
Bob Mottram fef671bef2 News actor preferredUsername 2020-11-24 12:02:53 +00:00
Bob Mottram 2443561fa6 News actor has same paths as other users 2020-11-20 11:57:43 +00:00
Bob Mottram 03df6dffae Move banners to theme directories 2020-11-14 12:44:24 +00:00
Bob Mottram 7dbf5bd939 Getting themed favicon 2020-11-14 12:02:12 +00:00
Bob Mottram e4b44edc05 News account is an application actor 2020-10-27 16:00:57 +00:00
Bob Mottram 5085587ad4 Editing news posts 2020-10-10 20:14:36 +01:00
Bob Mottram fa945479b5 Better check for the non-existance of an admin account 2020-10-10 17:21:05 +01:00
Bob Mottram e9ca3f3deb Set admin status first 2020-10-10 17:14:49 +01:00
Bob Mottram 22f31f0356 More checks that admin user is defined 2020-10-10 17:10:32 +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 a7e22c7590 Add a user to handle news items 2020-10-07 17:01:45 +01:00
Bob Mottram 9d30158618 News instance type 2020-10-07 10:10:42 +01:00
Bob Mottram f4cb24490a Tidying 2020-10-06 09:58:44 +01:00
Bob Mottram c1a03228ce Extra parameter 2020-09-28 18:11:48 +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 99893e5e23 Don't insist on lowercase handle 2020-09-15 10:16:03 +01:00
Bob Mottram 3ea12bc145 Trap exception on tag 2020-09-12 10:50:24 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 6489c6f625 Notify about likes by default 2020-08-27 10:23:21 +01:00
Bob Mottram 0ac5feb992 Use recent posts cache on other timelines 2020-08-26 11:21:24 +01:00
Bob Mottram 08ff5b420c Single events timeline name 2020-08-26 10:29:51 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram e97b2281f1 Redirect path is relative 2020-08-05 22:29:26 +01:00
Bob Mottram 686272c40d Create notes directory 2020-08-05 22:24:35 +01:00
Bob Mottram a14d6a014e Add notes about people 2020-08-05 22:12:09 +01:00
Bob Mottram c682c759ba Update actor context when saved 2020-08-05 11:33:47 +01:00
Bob Mottram ed24c2140a Actor context to support devices 2020-08-05 11:28:54 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram 26086ab1d0 Don't allow DMs from randos by default 2020-07-12 14:28:03 +01:00
Bob Mottram 9bc6f1691e Configurable default follower approval 2020-07-12 13:31:28 +01:00
Bob Mottram f537c2f96f Manually approve followers by default 2020-07-12 12:58:32 +01: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 c1a2f82e80 Create a qrcode for handles during person creation 2020-06-21 16:02:52 +00:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram dca3da71b5 Creating bookmarks timeline 2020-05-21 20:58:21 +01:00
Bob Mottram 7d47d27dec flake8 format 2020-04-03 18:12:08 +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 596d3a8747 cryptodome fallback 2020-03-04 09:59:08 +00:00
Bob Mottram f6869f9308 Use debian cryptodome package 2020-03-04 09:41:21 +00:00
Bob Mottram 8e8261e2cf Start of public blog 2020-02-25 13:35:41 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram 46d43fcc06 Extension can vary 2020-01-19 23:39:00 +00:00
Bob Mottram 048086e600 Randomize avatar image and background on edit 2020-01-19 23:24:23 +00:00
Bob Mottram e3c05562fd Update @nickname in actors cache 2020-01-19 20:58:50 +00:00
Bob Mottram 6d0d9bf148 Check that actor file exists 2020-01-19 20:43:03 +00:00
Bob Mottram 2bac46cfb4 Upgrade actor on login 2020-01-19 20:42:03 +00:00
Bob Mottram d30d519d22 Upgrade actor with nomadic locations 2020-01-19 20:29:39 +00:00
Bob Mottram 5c2905d57d Add nomadicLocations to actor 2020-01-19 20:19:56 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 079095341a Use tags directory 2019-11-27 09:56:14 +00:00
Bob Mottram 22360c908a Check that tag file exists 2019-11-27 09:51:59 +00:00
Bob Mottram c5204ea1fa Adding json posts to the timeline from cache 2019-11-24 12:12:29 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 52e1d44021 Adding bookmarks 2019-11-17 14:01:49 +00:00
Bob Mottram d17b984bbb Move donation functions to their own module 2019-11-07 12:14:17 +00:00
Bob Mottram a66522cd2e Better handling of donation types 2019-11-07 09:37:26 +00:00
Bob Mottram d9f126e2ac More donation types 2019-11-06 23:41:57 +00:00
Bob Mottram 78b1ec3eab PropertyValue 2019-11-06 22:59:39 +00:00
Bob Mottram a0d7759567 Donation link within profile 2019-11-06 22:56:55 +00:00
Bob Mottram a1a8f31693 Extra actor parameters 2019-11-06 22:02:08 +00:00
Bob Mottram 693c64b4f3 Variable name 2019-11-06 11:59:13 +00:00
Bob Mottram 7241d5def8 Check for snooze file 2019-11-06 11:57:43 +00:00
Bob Mottram 057251ae6f Snooze button 2019-11-06 11:39:41 +00:00
Bob Mottram a193530890 Check for deactivated account 2019-11-05 12:29:53 +00:00
Bob Mottram 3331fd09fc Bracket 2019-11-05 12:13:41 +00:00
Bob Mottram 122bd2503c Remove deactivated files 2019-11-05 12:12:30 +00:00
Bob Mottram 78324f2f07 Deactivate other directories and files 2019-11-05 12:07:18 +00:00
Bob Mottram 7d9df1445a Option to deactivate account 2019-11-05 10:37:37 +00:00
Bob Mottram 157ec0de71 Remove deactivated accounts 2019-11-05 10:28:46 +00:00
Bob Mottram 4d88fa3ead Functions for activating and deactivating accounts 2019-11-05 10:26:36 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram 93008d97b1 Remove token and salt on account suspend 2019-10-25 18:41:59 +01:00
Bob Mottram 5dafb9d201 Remove salts dictionary 2019-10-25 14:18:29 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram c0361bd5bf Convert exception to string 2019-10-17 11:26:56 +01:00
Bob Mottram f056c811be More debug for commentjson 2019-10-17 10:40:31 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00