Commit Graph

221 Commits (a580cf8658dd9414f3e5aaa658ce268e5823f9dc)

Author SHA1 Message Date
Bob Mottram 35a1a3ecc9 csv encoding 2021-07-28 11:04:47 +01:00
Bob Mottram ef606161a1 Separate price and currency 2021-07-28 10:56:28 +01:00
Bob Mottram 8cd539fe8f Extra comma 2021-07-28 10:53:07 +01:00
Bob Mottram 9711818da9 CRLF ending for csv 2021-07-28 10:52:13 +01:00
Bob Mottram 9130e5ce61 Convert quotes for csv 2021-07-28 10:50:27 +01:00
Bob Mottram fbb9205e6e Quotes around strings 2021-07-28 10:49:14 +01:00
Bob Mottram ec6820dd9a Item quantity as float 2021-07-28 10:44:19 +01:00
Bob Mottram 5c9d61f68e Quantity as string 2021-07-28 10:37:29 +01:00
Bob Mottram 64f63aa0b6 Unit test for date conversion 2021-07-28 10:35:21 +01:00
Bob Mottram 95129e2e58 Expire field 2021-07-28 09:58:12 +01:00
Bob Mottram 53f4d59069 Add shareId 2021-07-28 09:53:53 +01:00
Bob Mottram b8d3ad28ac non-food representation 2021-07-27 23:06:35 +01:00
Bob Mottram 206aaa8940 Allow for non-food items in catalog 2021-07-27 22:59:49 +01:00
Bob Mottram 8ff707fbd2 Currency field 2021-07-27 21:35:55 +01:00
Bob Mottram 4198e12c42 itemPrice 2021-07-27 21:26:10 +01:00
Bob Mottram ac75704734 Dashes 2021-07-27 21:17:36 +01:00
Bob Mottram ad693e91f8 Different substitutions 2021-07-27 21:14:13 +01:00
Bob Mottram 4f58cc98c1 Replacing colon 2021-07-27 20:48:31 +01:00
Bob Mottram 303687ba58 Use hashes in item ID 2021-07-27 20:13:55 +01:00
Bob Mottram 0db65ae069 Convert dfc format to internal shares format 2021-07-27 13:55:44 +01:00
Bob Mottram 80339ecf20 More descriptive variable name 2021-07-27 12:29:07 +01:00
Bob Mottram 12011bfdd4 Set shared item federation domains on edit profile screen 2021-07-26 22:01:48 +01:00
Bob Mottram 50849490eb Shared item id path 2021-07-26 19:09:26 +01:00
Bob Mottram b3b4f9433d catalog endpoint 2021-07-26 19:06:08 +01:00
Bob Mottram a5b97f1d92 Daemon for federating shared items 2021-07-26 18:54:13 +01:00
Bob Mottram c194c3996b Update shared item tokens from inbox posts 2021-07-26 15:41:06 +01:00
Bob Mottram ebac11f502 Invert logic 2021-07-26 13:20:07 +01:00
Bob Mottram ceaefc6ee9 Unit test for shared item federation tokens 2021-07-26 11:17:06 +01:00
Bob Mottram 3c8e4bb5fb Shared item federation tokens stored as json 2021-07-26 11:00:54 +01:00
Bob Mottram 646254c8a9 Move token generation function 2021-07-26 10:40:51 +01:00
Bob Mottram 035b0e2f94 Single character for true 2021-07-25 14:50:03 +01:00
Bob Mottram 3433c03f0d Separate parameters with semicolons 2021-07-25 14:48:55 +01:00
Bob Mottram 2c1cd07dcd csv catalog endpoint 2021-07-25 14:30:42 +01:00
Bob Mottram dc7851ec6c Authorized access to catalog 2021-07-25 14:09:39 +01:00
Bob Mottram 5fb57cf04e Parameter for matching description 2021-07-25 11:17:39 +01:00
Bob Mottram 0e5753147e Option to show shared for today 2021-07-25 10:56:57 +01:00
Bob Mottram 5cd8854a48 Include price in catalog 2021-07-25 10:39:21 +01:00
Bob Mottram 312e8bbdfa Unique share ID for the instance 2021-07-25 10:34:49 +01:00
Bob Mottram 5421facdb3 Unique share ID for the instance 2021-07-25 10:33:59 +01:00
Bob Mottram bba4e461e4 Comments 2021-07-24 23:12:26 +01:00
Bob Mottram 5d5dab6d2f Functions for shares catalog endpoints 2021-07-24 23:08:11 +01:00
Bob Mottram 723e6e7a5e Check for food category before assigning dfc id 2021-07-24 16:05:21 +01:00
Bob Mottram f1d42b62db Change terminology to be less ambiguous 2021-07-24 15:43:52 +01:00
Bob Mottram 84bcc6d103 Assign product Ids to shared items 2021-07-24 15:38:43 +01:00
Bob Mottram 67747bad72 Add quantity to shared items 2021-07-24 12:30:46 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 4697de88c0 Detect account directories 2021-07-04 19:01:31 +01:00
Bob Mottram 139cffa0d5 Show function line lengths 2021-06-26 20:01:48 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +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 b4783c510d Spaces 2021-06-22 13:29:17 +01:00
Bob Mottram d42ee647d3 Revert "File storage functions"
This reverts commit 9c18e7042e.
2021-06-21 23:53:04 +01:00
Bob Mottram 9c18e7042e File storage functions 2021-06-21 22:02:03 +01:00
Bob Mottram eab0a92af9 Include User-Agent within POST 2021-06-20 14:39:53 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +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 4804070fd1 Improve c2s debug messages 2021-03-18 10:01:01 +00:00
Bob Mottram faadca51b6 Less verbose when not in debug 2021-03-14 19:22:58 +00:00
Bob Mottram d6efc44fe2 Timeout on post 2021-03-10 19:24:52 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram af919974d7 Trace parameter 2020-12-18 17:49:17 +00:00
Bob Mottram 825fb76066 Tidying 2020-12-16 11:19:16 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram 30ebfda697 Tidy up the handling of media formats 2020-11-21 11:54:29 +00:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram 640fc95ad0 Extra supported image format 2020-09-22 17:05:00 +01:00
Bob Mottram cb8afbe716 Comment 2020-09-22 17:03:31 +01:00
Bob Mottram cc6e1e2cfc Tidying 2020-09-22 16:59:47 +01:00
Bob Mottram ee216a805b Support webp format share images 2020-09-22 16:55:21 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram ee70877aeb Check that webfinger returns a dict 2020-06-23 11:41:12 +01:00
Bob Mottram 3e5ff202e6 Less indentation 2020-06-11 23:08:50 +01:00
Bob Mottram 4cef99cb55 Tidying 2020-06-11 23:04:41 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram b7fc2b948d flake8 format 2020-04-04 12:27:51 +01: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 f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram 1f644e2812 Replace + 2019-11-03 10:20:30 +00:00
Bob Mottram f2d652708e Improve removal of shares 2019-11-03 10:04:28 +00:00
Bob Mottram 655b3f2163 Use item ID as share index 2019-11-03 09:48:01 +00:00
Bob Mottram 702ed23d0e Include link in new share notification file 2019-11-02 12:11:59 +00:00
Bob Mottram 6fc3eac50d Each account gets a new share notification 2019-11-02 11:36:56 +00:00
Bob Mottram b877af4ae8 Only write if file does not exist 2019-11-02 11:32:43 +00:00
Bob Mottram ca356464b5 Save a file to indicate that a new shared item is available 2019-11-02 11:15:13 +00:00
Bob Mottram 00ba237ab9 Function for valid item ID 2019-11-02 10:24:25 +00:00
Bob Mottram 544c8745ad Replace invalid characters in shared item ID 2019-11-02 10:21:21 +00: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 da58015e20 Getting actor if webfinger fails 2019-10-17 16:55:05 +01:00
Bob Mottram c0361bd5bf Convert exception to string 2019-10-17 11:26:56 +01:00
Bob Mottram 8b5376f616 Thread for expiring shared items 2019-10-17 10:58:30 +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 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram a4e8282028 Don't need to sort keys 2019-09-11 17:12:26 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +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 8bd42b9d59 Store cached actors to file 2019-08-20 10:16:03 +01:00
Bob Mottram 325672208f @context headers 2019-08-18 12:07:06 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram e6c246fc8e Connect new posts to web interface 2019-07-27 23:48:34 +01:00
Bob Mottram 8572c235f1 Full path on shares images 2019-07-25 17:15:02 +01:00
Bob Mottram a26a11dd5c Remove metadata from share images 2019-07-24 14:21:47 +01:00
Bob Mottram 55ccd4cb97 Showing shares on profile screen 2019-07-24 10:53:07 +01:00
Bob Mottram 222c024545 Filenames of share images 2019-07-24 10:17:57 +01:00
Bob Mottram 74ec3114fd Don't include published time in image filename
Creates too many duplicates
2019-07-24 10:02:38 +01:00
Bob Mottram 454d02bc89 Add shares to test data 2019-07-23 23:12:19 +01:00
Bob Mottram f9616d6474 Undo shared items 2019-07-23 22:14:16 +01:00
Bob Mottram d3598b861a Uploading shared items 2019-07-23 21:00:17 +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