Commit Graph
100 Commits
Author SHA1 Message Date
gisle 410e07a6a2 add stuff that may not compile.
continuous-integration/drone/push Build is failing
2021-03-25 14:13:43 +01:00
gisle 9aa7304982 add change postgres indexes. 2021-03-22 22:51:21 +01:00
gisle 0f06a3750f add change table. 2021-03-22 21:45:12 +01:00
gisle 0bc86ced98 add channel table. 2021-03-22 19:34:31 +01:00
gisle c5ea598ea1 add sqlc and character table. 2021-03-21 20:53:21 +01:00
gisle b6b7b8f1b6 add dump/restore commands to docker file.
continuous-integration/drone/push Build is passing
2021-03-21 12:21:50 +01:00
gisle e9b00b61fd add rpdata-restore command. 2021-03-21 12:19:27 +01:00
gisle c9084287a4 add rpdata-dump command. 2021-03-20 14:24:02 +01:00
gisle 570d0e2bd2 allow tag/untag of open stories.
continuous-integration/drone/push Build is passing
2020-11-01 02:19:17 +01:00
gisle 6ad0b9d467 fix character service not refreshing logs. 2020-10-07 20:33:56 +02:00
gisle 63bc262091 add sortByFictionalDate field to Story, and sorting by fictional date if set.
continuous-integration/drone/push Build is passing
2020-08-28 22:45:13 +02:00
gisle c4eabd69ac Merge branch 'master' of ssh+git://git.aiterp.net/rpdata/api
continuous-integration/drone/push Build is passing
2020-08-20 21:01:38 +02:00
gisle df982fac17 add IrcCloud log importer. 2020-08-20 20:58:16 +02:00
gisle 6fa2dc9800 fix chapter edit changes being reported as comment add. 2020-08-19 21:26:56 +02:00
gisle 6ce38d61b1 fix log importer not refreshing character list.
continuous-integration/drone/push Build is passing
2020-08-16 11:49:39 +02:00
gisle dc3f77f8da update drone ci.
continuous-integration/drone/push Build is passing
2020-08-09 16:09:11 +02:00
gisle 6321ea1893 update drone ci.
continuous-integration/drone/push Build is failing
2020-08-09 16:08:11 +02:00
gisle 9b346fb97b update drone ci.
continuous-integration/drone/push Build is passing
2020-08-09 16:07:44 +02:00
gisle ed21b7c8cd improve parser error. 2020-08-09 16:01:45 +02:00
gisle 47b7877ab4 add nextLogs and prevLogs suggestions to log. 2020-08-09 15:35:49 +02:00
gisle 757b0bc616 add a hackish migration for the changes expiration index. 2020-08-09 15:35:33 +02:00
gisle 5dbed6d632 UI for file stuff.
the build was successful
2019-09-15 16:34:16 +02:00
gisle c8ced52e1a File uploads, mostly. Also added extra behavior to addCharacter.
the build was successful
2019-08-31 22:46:55 +02:00
gisle 8a313b3bb2 More destruction. Utils too, since they cause weird go mod shenanigans.
the build was successful
2019-08-26 22:22:05 +02:00
gisle e690e7ab97 A lot of delete and failed scream tests.
the build was successful
2019-08-26 22:14:59 +02:00
gisle 0e70e37038 Moved unknown nicks to log service
the build was successful
2019-08-26 20:23:36 +02:00
gisle 3b10c4d9b1 go mod tidy
the build was successful
2019-08-25 16:14:29 +02:00
gisle 690eb4f121 Deleted a bunch of old db code.
the build was successful
2019-08-25 16:13:04 +02:00
gisle 2eed815993 Finished refactor of story/chapter/comment related stuff.
the build was successful
2019-08-25 16:10:10 +02:00
gisle 8c4670580c Story/chapter/comment repos + started on story service.
the build was successful
2019-08-18 08:59:38 +02:00
gisle 8fbaea2078 Added mergeLog mutation.
the build was successful
2019-08-16 12:32:50 +02:00
gisle 2a0e6534ff Added splitLog mutation.
the build was successful
2019-08-15 11:28:09 +02:00
gisle 4bd75b8240 Fixed character filter not being exclusive. 2019-08-15 11:28:02 +02:00
gisle ed38d576b2 Added fix for date bug.
the build was successful
2019-08-14 22:01:48 +02:00
gisle 51b2c9bfe0 Fixed log service bugs with importing and character list not updating.
the build was successful
2019-08-14 11:28:02 +02:00
gisle c0687d76ad Added log character refresh function to log service.
the build was successful
2019-08-07 12:26:59 +02:00
gisle 60dcd8a80f no idea
the build was successful
2019-08-06 13:51:51 +02:00
gisle 5bcc7479ff Early work on file stuff.
the build was successful
2019-07-25 23:21:25 +02:00
gisle 2c00358f4f Fixed advance by one date bug by treating any out of order posts as a date bump.
the build was successful
2019-07-20 15:20:39 +02:00
gisle acb6b637a5 Moved channels to new system, fixed change insert not working.
the build was successful
2019-06-24 20:30:14 +02:00
gisle f46b6f0774 Added channel repository and mongodb impl.
the build was successful
2019-06-20 22:32:35 +02:00
gisle 73a1c79903 Logs and posts are now on the new architecture.
the build was successful
2019-06-18 20:34:58 +02:00
gisle e194b6536e Removed PassAll from ChangeFilter and fixed sort not being descending order.
the build was successful
2019-06-16 11:46:23 +02:00
gisle f6ad0602c2 Replaced repositories.Bundle with a database interface.
the build was successful
2019-06-16 11:39:33 +02:00
gisle 021f67ea4b Changes to change system.
the build was successful
2019-06-16 10:32:34 +02:00
gisle 13f82399ef Removed ./idea/workspace.xml from git.
the build was successful
2019-06-10 19:29:38 +02:00
gisle 2a1423d28f Added character service and such.
the build was successful
2019-06-10 17:03:52 +02:00
gisle 7b253748fe Replaced custom Date scalar code with gqlgen's built-in Time scalar.
the build was successful
2019-06-09 12:49:18 +02:00
gisle 53c3d4597b Renamed queries package to resolvers.
the build was successful
2019-06-09 12:40:40 +02:00
gisle cdf4e6f667 Started work on new layered setup, making a huge mess.
the build was successful
2019-06-09 12:37:17 +02:00
gisle 6fa9f64f2d Instrumented the living s*** out of the graphql.
the build was successful
2019-05-21 19:35:29 +02:00
gisle 2fb391321e Fixed bug in resolver array conversion that caused results to all be copied of the last element. 2019-05-21 19:35:11 +02:00
gisle 015bdfd2e8 Updated resolvers to be compatible with gqlgen 0.9
the build was successful
2019-05-19 17:06:46 +02:00
gisle 9925907e93 Removed combine.sh, using new glob schema features instead.
the build was successful
2019-05-17 17:31:42 +02:00
gisle c7c418aeab Fixed Change.object resolver not returning anything. 2019-05-17 17:12:56 +02:00
gisle d5573e7f39 Added Prometheus metrics, don't forget to restrict access on /metrics endpoint. 2019-05-17 17:12:27 +02:00
gisle e794311eb8 Migrated rpdata-api to using go modules and a more recent version of
the build was successful
gqlgen

Squashed commit of the following:

commit 162ccf6bfb
Author: Gisle Aune <dev@gisle.me>
Date:   Fri May 17 11:51:23 2019 +0200

    The great module madness continus, now with pointers.

commit 7e3dc49635
Author: Gisle Aune <dev@gisle.me>
Date:   Thu May 16 15:57:08 2019 +0200

    Basic stuff, doesn't compile
2019-05-17 12:20:08 +02:00
gisle aff0d99842 graph2: Added exception for open logs query in complexity.
the build was successful
2019-04-27 11:37:01 +02:00
gisle 00150118d2 graph2: Added complexity to prevent queries that can take down the server.
the build was successful
2019-04-25 20:47:20 +02:00
gisle 332a1eb32b Fixed rpdata-as2storyimport not compiling. 2019-03-17 21:32:21 +01:00
gisle db4d46c368 Added story to comment changes.
the build was successful
2019-03-17 20:44:30 +01:00
gisle a8c8610ca2 models: Fixed wrong database mapping for comment source.
the build was successful
2019-01-17 21:19:13 +01:00
gisle d09c17d30d graph2: Changed addComment error message on can-comment check to be consistent with others.
the build was successful
2019-01-16 22:07:00 +01:00
gisle e3e3ea07db graph2: Changed Chapter to not return any comments if mode is disabled, even if there are comments.
the build was successful
2019-01-16 22:05:40 +01:00
gisle 22592439da graph2, models: Added removeComment mutation.
the build was successful
2019-01-16 22:03:28 +01:00
gisle dfa9fb4025 graph2: Changed Comment to return null instead of a zero-date if it's cleared.
the build was successful
2019-01-16 21:50:53 +01:00
gisle 0e2a68a2d4 graph2, models: Added editComment mutation. 2019-01-16 21:45:00 +01:00
gisle 1eefa65527 models: Fixed wrong database mapping for comment id. 2019-01-16 21:41:36 +01:00
gisle f9b6af58c9 graph2: Changed Comment character resolver to use loader.
the build was successful
2019-01-15 21:42:44 +01:00
gisle 56ecf48b57 graph2, models: Added addComment mutation.
the build was successful
2019-01-15 21:34:57 +01:00
gisle 06fbfc90c5 graph2, model: Added Comment type to Change. 2019-01-14 19:58:05 +01:00
gisle 39a4fef506 models, graph2: Added comment removal on chapter removal.
the build was successful
2019-01-14 18:01:43 +01:00
gisle f9fe0bb5f8 models, graph2: Added comment options to chapter mutations.
the build was successful
2019-01-14 17:55:38 +01:00
gisle d22ab387dd models, graph2: Added Comment type and queries, and hooked it up to chapter.
the build was successful
2019-01-14 17:03:16 +01:00
gisle 53a86c0b9c store, config: Added option to disable space.
the build was successful
2019-01-12 12:13:24 +01:00
gisle e0b93c6b4b graph2: Changed story tagging permissions to allow anyone to tag open stories.
the build was successful
2019-01-12 11:38:19 +01:00
gisle 1ea04f1577 importers: Fixed panic in mirclike.ParsePost if the post contains no text.
the build was successful
2019-01-05 10:33:50 +01:00
gisle 17fd3c60f8 rpdata-server: Fixed unhelpful error message being returned on panic.
the build was successful
2019-01-05 10:09:31 +01:00
gisle c5b62a42db graph2: Fixed data race in change logging for importLog.
the build was successful
2018-12-11 20:05:03 +01:00
gisle fa0926c311 rpdata-lb2logimport: Updated it to fix build errors related to change in logs.UpdateChracters.
the build was successful
2018-12-08 16:08:28 +01:00
gisle d21efc1c7f rpdata-logpaste: Removed the command since it's replaced by GraphQL API endpoint. 2018-12-08 16:07:44 +01:00
gisle 852030b141 docker: Trimmed down DockerFile. 2018-12-08 16:07:11 +01:00
gisle f7f0b76379 changes: Reversed ordering in result.
the build was successful
2018-12-05 21:00:52 +01:00
gisle 2711654816 posts: Fixed AddMany not returning the IDs in the result.
the build was successful
2018-12-05 20:58:37 +01:00
gisle b60897a597 unknownnicks, logs: Changed unknownnicks counter to use posts instead of logs as a metric to make characters stick out more.
the build was successful
2018-12-04 20:49:31 +01:00
gisle 80e6c048c9 graph2: Added unknownNick query
the build was successful
2018-12-04 20:33:21 +01:00
gisle 6310cbbc1e unknownnicks: Added unknown nicks model and hooked it up. 2018-12-04 20:17:48 +01:00
gisle 89a1c2366c changes: Fixed crash on disconnect when there are more than one client connected. 2018-12-03 20:11:15 +01:00
gisle ac2b79e88a posts, counter: Fixed post positions issues when a post is deleted.
the build was successful
2018-12-02 21:27:50 +01:00
gisle 31239330df graph2, changes, rpdata-server: Added changes subscription. 2018-12-02 21:17:49 +01:00
gisle a58535fcb9 graph2: Added importLog query and associated models and repository functions.
the build was successful
2018-12-01 16:52:06 +01:00
gisle 2a91b6f9bc logs: Added forumlog parsers.
the build was successful
2018-12-01 12:48:05 +01:00
gisle caa7727c02 logs: Added mirclike parsers.
the build was successful
2018-11-28 19:21:53 +01:00
gisle 047c9784ae rpdata-logpaste: Fixed characters not being updated.
the build was successful
2018-11-07 19:56:56 +01:00
gisle d038c1cfea Dockerfile: Added tzdata package to final container.
the build was successful
2018-11-07 19:48:03 +01:00
gisle 7e812bd615 rpdata-logpaste: Added new commandline tool.
the build was successful
2018-11-07 19:31:51 +01:00
gisle 947765884e models: Fixed earliestDate being exclusive of the earliest date in chnages.List.
the build was successful
2018-11-01 19:38:01 +01:00
gisle ffec008820 graph2: Added change type and query.
the build was successful
2018-10-31 21:38:45 +01:00
gisle 138b3e3eab graph2: Fixed post change on move not including all posts as objects. 2018-10-31 21:38:32 +01:00
gisle 929abfdbe4 package: Removed rpdata-ui. 2018-10-31 20:28:09 +01:00