Commit Graph

409 Commits (436791af740b0bc6228078395d982159155fb55a)

Author SHA1 Message Date
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
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram 2738dcbedf Try to read a few times 2019-10-11 18:03:07 +01:00
Bob Mottram 8acb8769b9 Add groups from the commandline 2019-10-04 13:39:46 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram 4e3d9e75b4 Checking that announces contain images 2019-09-28 17:21:43 +01:00
Bob Mottram 4b3ab2940f media timeline 2019-09-28 12:40:42 +01:00
Bob Mottram 06b936f62e Use scandir 2019-09-27 13:09:04 +01:00
Bob Mottram 534948b8fe Avoid clashing replies path 2019-09-23 21:43:18 +01:00
Bob Mottram 7ed6728594 Replies timeline 2019-09-23 20:53:18 +01:00
Bob Mottram ae149b77be Default banner in accordance with theme when account is created 2019-09-12 13:24:13 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram 3a993e5d49 Instance actor url 2019-08-26 16:20:14 +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 0056e67eb3 Remove fields not needed by the shared inbox 2019-08-23 20:47:03 +01:00
Bob Mottram fc925e7705 Changing properties of the shared inbox 2019-08-23 20:37:40 +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 7be05617eb Save new people to the actors cache 2019-08-22 15:43:43 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram febb4258bd Don't allow moderators to remove posts by other moderators 2019-08-13 16:03:34 +01:00
Bob Mottram 4a80c94cbe Basic moderation functions 2019-08-13 14:58:48 +01:00
Bob Mottram 727c8ca6fc Remove tags when deleting an account 2019-08-13 13:14:11 +01:00
Bob Mottram 32d23fbf5f remove 2019-08-13 13:00:17 +01:00
Bob Mottram 2cb5366ee9 Function for removing an account 2019-08-13 12:59:38 +01:00
Bob Mottram 2fdd644c87 Screen for suspended accounts 2019-08-13 10:24:55 +01:00
Bob Mottram cc81de178f Moderate button 2019-08-12 14:22:17 +01:00
Bob Mottram eaf711672a Set the admin nickname 2019-08-10 16:07:02 +01:00
Bob Mottram 692fd7399a Prevent the same account from being registered more than once 2019-08-09 17:33:45 +01:00
Bob Mottram d769c5b258 Run test in its own subdirectory 2019-08-09 10:46:33 +01:00
Bob Mottram 60b14d751f Comment 2019-08-09 10:14:31 +01:00
Bob Mottram 9db971cf65 Better variable name 2019-08-09 10:13:08 +01:00
Bob Mottram 03855a7341 Fix registrations within tests 2019-08-09 10:11:42 +01:00
Bob Mottram ed46de3709 Terms of service 2019-08-08 14:38:33 +01:00
Bob Mottram 13dc4e889b Register button 2019-08-08 12:24:26 +01:00
Bob Mottram ebcdbf74b4 Registrations status in config file 2019-08-08 11:50:58 +01:00
Bob Mottram 1245fdcdd1 Person structure 2019-08-07 20:40:12 +01:00
Bob Mottram e868020392 Exception handling for actor 2019-08-05 22:20:44 +01:00
Bob Mottram 301c626010 No nickname validity check for shared inbox 2019-08-05 17:18:11 +01:00
Bob Mottram b3d597ae06 Comment 2019-08-05 16:52:18 +01:00
Bob Mottram ba3460418c Lookup of shared inbox 2019-08-05 16:22:59 +01:00
Bob Mottram 1dde784bd8 Add content warnings in wen interface 2019-07-31 13:44:08 +01:00
Bob Mottram e6c246fc8e Connect new posts to web interface 2019-07-27 23:48:34 +01:00
Bob Mottram 1c02b79f15 digest of sha256 2019-07-25 17:50:48 +01:00
Bob Mottram cf9c715bcd Remove metadata from avatars and background images 2019-07-24 14:30:05 +01:00
Bob Mottram 62d596bade Show timeline banner 2019-07-24 13:02:28 +01:00
Bob Mottram f88ed8d787 Upload of shared item images 2019-07-23 20:02:26 +01:00
Bob Mottram 643ca568bc Functions for shared items 2019-07-23 13:33:09 +01:00
Bob Mottram ac8e920bcf Another domain 2019-07-22 21:36:57 +01:00
Bob Mottram e2a0e347c8 Profile page header 2019-07-21 19:18:58 +01:00