100 Commits
Author SHA1 Message Date
gisle 3ffe1d7816 add config env variables. 2024-08-10 15:00:26 +02:00
gisle 09d31aabac maybe fix comment order?
continuous-integration/drone/push Build is passing
2022-03-04 00:27:28 +01:00
gisle b5c77cf8ca try fix again again again again again.
continuous-integration/drone/push Build is passing
2021-07-26 22:18:31 +02:00
gisle 3045931492 try fix again again again again.
continuous-integration/drone/push Build is passing
2021-07-26 21:43:10 +02:00
gisle 928e643ab7 try fix again again again. 2021-07-26 21:26:53 +02:00
gisle 6b1f34db79 try fix again again.
continuous-integration/drone/push Build is passing
2021-07-26 20:56:46 +02:00
gisle bd27b14a88 try fix again.
continuous-integration/drone/push Build is passing
2021-07-26 20:50:03 +02:00
gisle 4bccdc2ded hopefully fix the bug preventing post deletions sometimes.
continuous-integration/drone/push Build is passing
2021-07-26 20:32:55 +02:00
gisle 67d6161c3b fix characters not updating on edit post and (hopefully) the bug preventing post deletions sometimes.
continuous-integration/drone/push Build is passing
2021-07-26 20:15:51 +02:00
gisle a606b79736 fix prev logs showing current log.
continuous-integration/drone/push Build is passing
2021-04-11 02:14:01 +02:00
gisle 87559997a9 fix comments create/update not applying character name.
continuous-integration/drone/push Build is passing
2021-04-11 01:49:08 +02:00
gisle b641f7d516 fix ts query getting mad at you for quoting a single word. 2021-04-02 20:25:32 +02:00
gisle b117aea7f0 fix ChannelFilter.Logged being ignored in postgres driver.
continuous-integration/drone/push Build is passing
2021-04-02 17:01:15 +02:00
gisle 33ac47a12c fix spaced quotes causing weird behavior in search.
continuous-integration/drone/push Build is passing
2021-03-30 21:16:02 +02:00
gisle 18a83073e8 fix repository bugs and make text searching work more like it did in the past.
continuous-integration/drone/push Build is passing
2021-03-30 20:06:16 +02:00
gisle f14386eceb add key and user repositories.
continuous-integration/drone/push Build is passing
2021-03-28 21:08:45 +02:00
gisle 6748ff8bc2 add log and post postgres repos.
continuous-integration/drone/push Build is passing
2021-03-28 15:10:56 +02:00
gisle e4761ad4a0 add comment repository for postgres.
continuous-integration/drone/push Build is passing
2021-03-27 13:56:51 +01:00
gisle 21b7b44159 remove generated psql code from git. 2021-03-27 10:44:55 +01:00
gisle 663a95c70d add chapter repository to postgres.
continuous-integration/drone/push Build is passing
2021-03-26 23:50:33 +01:00
gisle 525191a0f9 tweak tags and add story repository.
continuous-integration/drone/push Build is passing
2021-03-26 15:47:18 +01:00
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