Wykres commitów

  • bbe00656d2 kepi.trilby_api.tests.__init__ no longer has standalone "get" and "post" functions. test_notifications no longer depends on httpretty. Marnanel Thurman 2020-04-22 17:00:26 +0100
  • b8b3bb1891 two more timeline tests Marnanel Thurman 2020-04-22 16:54:36 +0100
  • d64ce1ff3d use the proper API endpoint for the public timeline Marnanel Thurman 2020-04-22 16:48:57 +0100
  • 564bb291a0 First timeline tests (they fail) Marnanel Thurman 2020-04-22 16:47:01 +0100
  • c53a2d03ef "unfollow" endpoint added; tests added; new signal added. Marnanel Thurman 2020-04-20 19:17:54 +0100
  • 0f22fe7107 status test now adjusts expected fields because statuses_count is working Marnanel Thurman 2020-04-20 18:32:54 +0100
  • e580b52682 as before, but with "following" fixed! Marnanel Thurman 2020-04-20 18:29:28 +0100
  • e18a915b4e Implementation of Person.follower_count, following_count, followers, following, and status_count. Tests for all of these except status_count. Marnanel Thurman 2020-04-20 18:23:04 +0100
  • 248ee46d87 Renamed Follow related-names to "rel_*" because they were clashing with accessors in Person Marnanel Thurman 2020-04-20 18:22:25 +0100
  • fe21b73a0f rm one stub, because "get account" == "get user" Marnanel Thurman 2020-04-19 20:59:23 +0100
  • 26f9ce8133 account details in a status don't give the "source" param Marnanel Thurman 2020-04-19 17:05:57 +0100
  • c30bd5a63a operate on a copy of ACCOUNT_STATUS so as not to spoil the original Marnanel Thurman 2020-04-19 17:05:37 +0100
  • 98035261ce Trilby's *_EXPECTED constants are now dicts, which means the update_credientials can search in the "source" dict properly. Marnanel Thurman 2020-04-19 17:01:19 +0100
  • f05fd36da0 update_credentials Marnanel Thurman 2020-04-19 16:52:55 +0100
  • 66cec9a1c3 draft test for patching update_credentials Marnanel Thurman 2020-04-19 16:19:20 +0100
  • 5d1dda99cb More Trilby tests are using TrilbyTest's get, post, etc instead of the standalone ones (which are going away soon) Marnanel Thurman 2020-04-19 16:10:57 +0100
  • dc3ce6c2f4 TrilbyTest's get, post, etc gain "expect_result" and "parse_result" params Marnanel Thurman 2020-04-19 16:10:08 +0100
  • 33e23f39bb Status lookup is read-only for unauth'd users Marnanel Thurman 2020-04-19 16:09:32 +0100
  • 45e565ae66 Code which uses Person doesn't have to bother about TrilbyUsers at all. Marnanel Thurman 2020-04-19 00:13:50 +0100
  • bd7454d4ff Slightly more informative error message if the account fields test fails Marnanel Thurman 2020-04-19 00:13:34 +0100
  • eb8d655008 trilby test client passes data to POST requests correctly Marnanel Thurman 2020-04-18 23:57:47 +0100
  • 72085c635d test_get_all_statuses was really a timeline test; removed Marnanel Thurman 2020-04-18 23:57:18 +0100
  • b245f467b1 Simple account retrieval doesn't give you "source" for your own account Marnanel Thurman 2020-04-18 23:45:38 +0100
  • 8c5949fc43 Look up local user by username (rather than by id as in the old system) Marnanel Thurman 2020-04-18 23:45:12 +0100
  • a8186fa585 trilby tests: - ACCOUNT_EXPECTED etc moved to __init__ - the path param to get, post, etc is called "path" not "url" - _create_alice in TrilbyTestCase for now - get, post, etc methods in TrilbyTestCase (the existing standalone functions are still there for now to avoid breaking stuff we're going to refactor soon) - test_post_multiple_statuses removed bc pointless - test for custom emojis moved to test_instance and its path fixed to the correct one Marnanel Thurman 2020-04-16 17:25:17 +0100
  • d80ae73e5c test_integration and test_rest merged into the other tests; some tests still breaking Marnanel Thurman 2020-04-16 16:39:38 +0100
  • 0f8937b917 On trilby tests: - tests which were expecting 201 now expect 200. - test_instance, all stubs - test_search, all stubs - many new stubs so we have (stub) API coverage Marnanel Thurman 2020-04-16 16:22:45 +0100
  • eafe450836 trilby test_account (all stubs) Marnanel Thurman 2020-04-16 16:07:18 +0100
  • 84bdc26ee1 Reblog / unreblog / reblogged_by views Marnanel Thurman 2020-04-15 18:25:24 +0100
  • 3be0ab6fc7 if response is not JSON, don't attempt to continue Marnanel Thurman 2020-04-15 18:25:00 +0100
  • 05445444b9 reblogged signal Marnanel Thurman 2020-04-15 18:24:43 +0100
  • c041b67fcb "reblog" in StatusSerializer becomes a RecursiveField Marnanel Thurman 2020-04-15 18:24:02 +0100
  • fff3bd00d2 ForeignKey of Status back to Person renamed "poster" Marnanel Thurman 2020-04-15 18:08:44 +0100
  • 0b99864320 add reblog field to Status Marnanel Thurman 2020-04-15 16:07:35 +0100
  • b6a59cdc61 get_favourited_by Marnanel Thurman 2020-04-15 16:01:21 +0100
  • de6c79b073 get context working Marnanel Thurman 2020-04-14 17:54:52 +0100
  • 21ecbd03e4 new test for get context; doesn't yet pass Marnanel Thurman 2020-04-14 17:35:35 +0100
  • 31713c9c41 missing param Marnanel Thurman 2020-04-14 14:29:28 +0100
  • 027401c29b Status deletion tests; deletion check for ownership Marnanel Thurman 2020-04-14 14:27:18 +0100
  • 61c450c387 Getting status that doesn't exist returns 404 Marnanel Thurman 2020-04-14 14:11:43 +0100
  • e789b10247 TestGetStatus Marnanel Thurman 2020-04-14 14:08:55 +0100
  • 368ff8209b TestPublish Marnanel Thurman 2020-04-14 13:55:06 +0100
  • 7e9f5fca7a intermediate Marnanel Thurman 2020-04-14 13:49:04 +0100
  • eec30c221b intermediate Marnanel Thurman 2020-04-14 13:43:52 +0100
  • eb5ac2f123 unlike, plus test Marnanel Thurman 2020-04-13 22:40:46 +0100
  • fbe720872c tests and test stubs for status Marnanel Thurman 2020-04-13 22:32:22 +0100
  • aa7a3b90fe intermediate Marnanel Thurman 2020-04-06 23:44:35 +0100
  • a1a563425b rm obsolete bits of bowler_pub Marnanel Thurman 2020-04-05 01:52:36 +0100
  • 0b5c654383 intermediate Marnanel Thurman 2020-04-05 01:48:26 +0100
  • e34bb594a6 new migrations Marnanel Thurman 2020-04-04 21:38:18 +0100
  • 62e178250c rm trilby migrations Marnanel Thurman 2020-04-04 21:37:28 +0100
  • 23c7b69402 rm bowler migrations Marnanel Thurman 2020-04-04 21:36:47 +0100
  • b757259111 intermediate Marnanel Thurman 2020-04-04 21:20:17 +0100
  • 14ea5c1b13 tests all pass Marnanel Thurman 2020-04-04 20:55:04 +0100
  • 15e648d507 intermediate Marnanel Thurman 2020-04-04 20:51:20 +0100
  • 67894e2d5f intermediate Marnanel Thurman 2020-04-04 20:43:05 +0100
  • f918d21c30 split "models" into separate files Marnanel Thurman 2020-04-04 01:37:26 +0100
  • 5021f60431 intermediate Marnanel Thurman 2020-04-03 17:57:03 +0100
  • d330c649ae intermediate Marnanel Thurman 2020-03-31 11:11:33 +0100
  • 8e910bd974 intermediate Marnanel Thurman 2020-03-31 02:12:29 +0100
  • 5b012e0f6c intermediate Marnanel Thurman 2020-03-31 02:11:57 +0100
  • 4418a61a1b intermediate Marnanel Thurman 2020-03-30 20:53:55 +0100
  • 2c2b8cc67f intermediate Marnanel Thurman 2020-03-29 18:09:19 +0100
  • 0e920c6906 intermediate Marnanel Thurman 2020-03-29 17:59:28 +0100
  • b7725aaac7 intermediate Marnanel Thurman 2020-03-29 17:48:46 +0100
  • 136c013879 intermediate Marnanel Thurman 2020-03-28 18:32:25 +0000
  • f781c515b0 Merge branch 'trilby-heavy' of gitlab.com:marnanel/kepi into trilby-heavy Marnanel Thurman 2020-03-28 17:44:52 +0000
  • b4232323cc intermediate Marnanel Thurman 2020-03-28 17:33:31 +0000
  • 4c0f22fa5c intermediate Marnanel Thurman 2020-03-28 17:33:31 +0000
  • 017d0d17fb intermediate Marnanel Thurman 2020-03-28 16:20:17 +0000
  • 65debd17c7 intermediate Marnanel Thurman 2020-03-28 16:16:08 +0000
  • d1ecc330d1 intermediate Marnanel Thurman 2020-03-28 16:15:45 +0000
  • 9318e3de26 intermediate Marnanel Thurman 2020-03-27 22:40:26 +0000
  • 3e6596b800 intermediate Marnanel Thurman 2020-03-27 22:38:05 +0000
  • bd441e995f intermediate Marnanel Thurman 2020-03-27 22:09:16 +0000
  • 7d2f86a57a intermediate Marnanel Thurman 2020-03-27 20:17:58 +0000
  • eadd90431e intermediate Marnanel Thurman 2020-03-23 00:59:28 +0000
  • b7ab7cdf84 intermediate Marnanel Thurman 2020-03-21 18:49:27 +0000
  • 600d13d4f5 intermediate Marnanel Thurman 2020-03-20 15:45:09 +0000
  • e07706865e Intermediate checkin Marnanel Thurman 2020-03-16 17:54:02 +0000
  • c4a07a9e52 Home timeline can't have Nones in it bowler-heavy Marnanel Thurman 2020-02-28 01:15:02 +0000
  • 560eed7b40 /api/v1/statuses for all statuses renders into JSON correctly, plus passing test. Marnanel Thurman 2020-02-28 01:04:59 +0000
  • 9fa7031f5f Trilby's status numbers are now the numbers of the actual AcItem, not the AcCreate which created it. Marnanel Thurman 2020-02-28 00:53:24 +0000
  • bb1210fd24 "Favourite" view generalised, and made a subclass of the generalised class. Test generalised likewise. Marnanel Thurman 2020-02-26 23:48:31 +0000
  • ab2dea89a6 Further to adding Favourite support to trilby_api: the test now passes. Marnanel Thurman 2020-02-23 00:53:28 +0000
  • 576081f6a3 First sketch of Activities in trilby_api. Added "Favourite" view which can create a Like. Tests supplied; they currently fail. Marnanel Thurman 2020-02-23 00:32:09 +0000
  • d61aad22e8 TrilbyUser will only create an associated AcPerson if one hasn't already been supplied. Marnanel Thurman 2020-02-23 00:31:30 +0000
  • ee95ed2863 Two hacks to keep tootstream happy: Marnanel Thurman 2020-02-17 19:50:09 +0000
  • e69df8f686 intermediate fix_ids Marnanel Thurman 2020-02-11 00:00:21 +0000
  • 7cab79775e trilby AccountsSearch stub Marnanel Thurman 2020-02-10 21:45:47 +0000
  • 5ecf08cdcc stub for /api/v1/search Marnanel Thurman 2020-02-10 00:16:37 +0000
  • 2bc69c1250 The "serial" field of bowler_pub's AcItem moves up to AcObject; all objects, remote and local, now have serial numbers. Marnanel Thurman 2020-02-04 01:38:54 +0000
  • 01a85e38a8 The "id" field in the Mastodon API is always a decimal string. Marnanel Thurman 2020-02-03 22:28:51 +0000
  • 4f57cc3b90 Statuses returned via the Mastodon API always have IDs which are decimal integer strings. Marnanel Thurman 2020-02-02 00:58:08 +0000
  • 25a1b40461 "acct" returns simply the account name for local accounts, and preferredUsername@hostname for remote accounts. Marnanel Thurman 2020-01-23 01:52:26 +0000
  • 72fd4499cb stub "following" and "followers" added to trilby Marnanel Thurman 2019-12-30 15:14:34 +0000
  • f7f59d2ed9 Creating a Django user also creates an associated AcPerson Marnanel Thurman 2019-12-25 23:52:35 +0000
  • 474075cd5c For the public timeline, we query each status to see whether it's public, rather than attempting to do it via a database filter. Marnanel Thurman 2019-12-25 23:21:43 +0000
  • c014bd6408 added on_like handler to create a "favourited" notification, plus test Marnanel Thurman 2019-12-19 21:02:20 +0000
  • fa6e49bf43 Mastodon's notifications give a dict for account and status, not just their ID Marnanel Thurman 2019-12-19 18:51:17 +0000