Commit Graph

408 Commits (578621c6d1f0855a519e73ba0e3ec30edc2d65cb)

Author SHA1 Message Date
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
Bob Mottram 314a3aa047 Only copy default avatar if it exists 2019-07-21 13:29:36 +01:00
Bob Mottram df6e19e4d2 Default avatar 2019-07-21 12:52:13 +01:00
Bob Mottram 369d8cee7c Handle port number in webfinger acct 2019-07-19 15:03:34 +01:00
Bob Mottram 81b0207c2a Setting availability via c2s 2019-07-19 12:38:37 +01:00
Bob Mottram 770edd001d Notes on skills 2019-07-19 11:01:24 +01:00
Bob Mottram cc119b1580 Remove some unused actor parameters 2019-07-18 20:26:18 +01:00
Bob Mottram 958e76ea89 Functions for role delegation 2019-07-18 16:09:23 +01:00
Bob Mottram 8c697580d7 Getting roles for a project 2019-07-18 15:02:21 +01:00
Bob Mottram 6aaea72646 delegator role 2019-07-18 14:57:49 +01:00
Bob Mottram 76e87a1252 Moderator role 2019-07-18 14:22:55 +01:00
Bob Mottram 5f58b0f02e First account gets admin status 2019-07-18 14:10:26 +01:00
Bob Mottram 3d6a363e6a When deleting a post also remove its replies 2019-07-14 15:42:00 +01:00
Bob Mottram 873b4953a7 Option to set availability 2019-07-14 14:30:59 +01:00
Bob Mottram 796f9d6ac5 Commandline options for setting roles and skills 2019-07-14 14:07:54 +01:00
Bob Mottram 50ce56d937 Setting roles 2019-07-14 13:25:16 +01:00
Bob Mottram bc67385587 Setting skill level to zero removes it 2019-07-14 13:10:48 +01:00
Bob Mottram 065daedba9 Set skill level 2019-07-14 13:08:18 +01:00
Bob Mottram b5b2d74966 Check capabilities for shared inbox when getting inbox feed 2019-07-14 12:15:28 +01:00
Bob Mottram befc991fbf Option to set the profile background image 2019-07-12 15:40:03 +01:00
Bob Mottram 1cfe63022f Option to set avatar image 2019-07-12 15:31:56 +01:00
Bob Mottram 80b2bc3a4e Saving avatar images 2019-07-12 14:51:04 +01:00
Bob Mottram 29a4af00dd Don't show likes to unauthorized viewers 2019-07-12 12:20:59 +01:00
Bob Mottram c301f45b33 Move shared inbox account into daemon 2019-07-11 13:29:31 +01:00
Bob Mottram db68b34cc5 Capability on post is a list 2019-07-08 14:30:04 +01:00
Bob Mottram 4dca5caef7 Comma 2019-07-05 23:17:06 +01:00
Bob Mottram db546eae15 Comma 2019-07-05 23:16:19 +01:00
Bob Mottram e5d0da3a63 capabilities endpoint 2019-07-05 23:15:48 +01:00
Bob Mottram 54ff42d078 Add a capabilities account to sign requests 2019-07-05 22:24:16 +01:00
Bob Mottram b11c8e4735 Return capabilities endpoint 2019-07-05 21:32:21 +01:00
Bob Mottram 509ba6b840 Create shared inbox on start of daemon 2019-07-05 12:27:18 +01:00
Bob Mottram e783b99737 Configuration file functions 2019-07-05 10:20:54 +01:00
Bob Mottram 327ba62bbe Validate nicknames 2019-07-04 19:26:37 +01:00
Bob Mottram e500d32b15 Reserved usernames 2019-07-04 18:56:25 +01:00
Bob Mottram b321baf307 Generic in/outbox functions 2019-07-04 17:24:23 +01:00
Bob Mottram e12f0994cf Fixing public key lookup 2019-07-04 15:36:29 +01:00
Bob Mottram c4797d3de2 Authentication debug 2019-07-04 09:56:15 +01:00
Bob Mottram 086ddbb004 uploadMedia endpoint 2019-07-03 21:52:25 +01:00
Bob Mottram 5b6c812f91 Optional password for basic auth when creating person 2019-07-03 20:10:24 +01:00
Bob Mottram 86aaff3c84 Option to use dat urls 2019-07-03 20:00:03 +01:00
Bob Mottram 8c590d7402 Required username 2019-07-03 10:47:09 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00
Bob Mottram 306f9edf46 Tidying 2019-07-02 21:54:22 +01:00
Bob Mottram e2de1d1b9c Test servers on different ip addresses 2019-07-01 22:01:43 +01:00
Bob Mottram d160c060c9 Parameter types 2019-07-01 12:09:09 +01:00
Bob Mottram 006cc3bbb3 Pass base directory as parameter 2019-07-01 10:59:57 +01:00
Bob Mottram eeb74f6e16 baseDir as parameter 2019-06-30 23:56:37 +01:00
Bob Mottram 78a3e96434 Port numbers after domain 2019-06-30 20:01:43 +01:00
Bob Mottram 6c85b39adc Include port with domain 2019-06-30 19:23:18 +01:00
Bob Mottram ff338e4de2 Move webfinger cache 2019-06-30 16:03:26 +01:00
Bob Mottram d3e005050e Handler functions for person cache 2019-06-30 12:34:19 +01:00
Bob Mottram 3b816df03a Begin on sendpost 2019-06-30 11:14:02 +01:00
Bob Mottram 56881e3404 Show header only 2019-06-29 18:12:26 +01:00
Bob Mottram fd09d2682a paginated outbox 2019-06-29 17:47:37 +01:00
Bob Mottram d486fb1d31 Return single value 2019-06-29 16:18:35 +01:00
Bob Mottram ffa28e81f8 Combine 2019-06-29 15:41:23 +01:00
Bob Mottram ed39eb1ac6 GET on outbox 2019-06-29 15:35:26 +01:00
Bob Mottram 831c9ae97a Default follower approval 2019-06-28 21:02:04 +01:00
Bob Mottram 21a64bb21b Set person bio 2019-06-28 21:00:25 +01:00
Bob Mottram e5a03e0fe9 Initial 2019-06-28 19:55:29 +01:00