gisle
|
53c3d4597b
|
Renamed queries package to resolvers.
|
2019-06-09 12:40:40 +02:00 |
|
gisle
|
cdf4e6f667
|
Started work on new layered setup, making a huge mess.
|
2019-06-09 12:37:17 +02:00 |
|
gisle
|
6fa9f64f2d
|
Instrumented the living s*** out of the graphql.
|
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
|
2019-05-19 17:06:46 +02:00 |
|
gisle
|
9925907e93
|
Removed combine.sh, using new glob schema features instead.
|
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
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.
|
2019-04-27 11:37:01 +02:00 |
|
gisle
|
00150118d2
|
graph2: Added complexity to prevent queries that can take down the server.
|
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.
|
2019-03-17 20:44:30 +01:00 |
|
gisle
|
a8c8610ca2
|
models: Fixed wrong database mapping for comment source.
|
2019-01-17 21:19:13 +01:00 |
|
gisle
|
d09c17d30d
|
graph2: Changed addComment error message on can-comment check to be consistent with others.
|
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.
|
2019-01-16 22:05:40 +01:00 |
|
gisle
|
22592439da
|
graph2, models: Added removeComment mutation.
|
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.
|
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.
|
2019-01-15 21:42:44 +01:00 |
|
gisle
|
56ecf48b57
|
graph2, models: Added addComment mutation.
|
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.
|
2019-01-14 18:01:43 +01:00 |
|
gisle
|
f9fe0bb5f8
|
models, graph2: Added comment options to chapter mutations.
|
2019-01-14 17:55:38 +01:00 |
|
gisle
|
d22ab387dd
|
models, graph2: Added Comment type and queries, and hooked it up to chapter.
|
2019-01-14 17:03:16 +01:00 |
|
gisle
|
53a86c0b9c
|
store, config: Added option to disable space.
|
2019-01-12 12:13:24 +01:00 |
|
gisle
|
e0b93c6b4b
|
graph2: Changed story tagging permissions to allow anyone to tag open stories.
|
2019-01-12 11:38:19 +01:00 |
|
gisle
|
1ea04f1577
|
importers: Fixed panic in mirclike.ParsePost if the post contains no text.
|
2019-01-05 10:33:50 +01:00 |
|
gisle
|
17fd3c60f8
|
rpdata-server: Fixed unhelpful error message being returned on panic.
|
2019-01-05 10:09:31 +01:00 |
|
gisle
|
c5b62a42db
|
graph2: Fixed data race in change logging for importLog.
|
2018-12-11 20:05:03 +01:00 |
|
gisle
|
fa0926c311
|
rpdata-lb2logimport: Updated it to fix build errors related to change in logs.UpdateChracters.
|
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.
|
2018-12-05 21:00:52 +01:00 |
|
gisle
|
2711654816
|
posts: Fixed AddMany not returning the IDs in the result.
|
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.
|
2018-12-04 20:49:31 +01:00 |
|
gisle
|
80e6c048c9
|
graph2: Added unknownNick query
|
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.
|
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.
|
2018-12-01 16:52:06 +01:00 |
|
gisle
|
2a91b6f9bc
|
logs: Added forumlog parsers.
|
2018-12-01 12:48:05 +01:00 |
|
gisle
|
caa7727c02
|
logs: Added mirclike parsers.
|
2018-11-28 19:21:53 +01:00 |
|
gisle
|
047c9784ae
|
rpdata-logpaste: Fixed characters not being updated.
|
2018-11-07 19:56:56 +01:00 |
|
gisle
|
d038c1cfea
|
Dockerfile: Added tzdata package to final container.
|
2018-11-07 19:48:03 +01:00 |
|
gisle
|
7e812bd615
|
rpdata-logpaste: Added new commandline tool.
|
2018-11-07 19:31:51 +01:00 |
|
gisle
|
947765884e
|
models: Fixed earliestDate being exclusive of the earliest date in chnages.List.
|
2018-11-01 19:38:01 +01:00 |
|
gisle
|
ffec008820
|
graph2: Added change type and query.
|
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 |
|
gisle
|
a8cd595876
|
graph2: Added change logging for story and chapter, fixed channel ops not being logged.
|
2018-10-29 19:12:23 +01:00 |
|
gisle
|
9ed3b32b42
|
models: Added support for multiple on changekeys.All, though only first is used for * key.
|
2018-10-29 17:51:39 +01:00 |
|
gisle
|
6bae52d652
|
models: Added benchmarks to changekeys, added shortcuts for common types there could be many of.
|
2018-10-29 17:44:48 +01:00 |
|
gisle
|
cee370c2ac
|
models: Changed change logging system to be allow for better querying in the future.
|
2018-10-28 12:18:17 +01:00 |
|
gisle
|
9affdbd20e
|
graph2: Added move mutation to chapter.
|
2018-10-27 14:59:47 +02:00 |
|
gisle
|
cf545cde3b
|
graphql: Removed old graphql setup.
|
2018-10-27 10:16:25 +02:00 |
|
gisle
|
b414cf118f
|
rpdata-wikifileimport: Fixed it to use new models module.
|
2018-10-27 10:15:23 +02:00 |
|
gisle
|
4979b02104
|
models: Migrated last from model
|
2018-10-27 10:14:58 +02:00 |
|
gisle
|
b7d5059d60
|
graph2: Fixed chapter using story permissions.
|
2018-10-16 19:01:11 +02:00 |
|
gisle
|
9fbdc767ad
|
models2: Added 'post.remove' to default user permissionss.
|
2018-10-16 18:49:14 +02:00 |
|
gisle
|
daeaaf5fa9
|
rpdata-as2storyimport: Fixed category vailidty check failing when it is valid, not when it isn't.
|
2018-10-16 18:30:24 +02:00 |
|
gisle
|
d3277c7476
|
models2: Fixed text search not working.
|
2018-10-13 14:04:02 +02:00 |
|
gisle
|
90681c67b0
|
models2: Added post removal on log removal.
|
2018-10-13 11:43:53 +02:00 |
|
gisle
|
bebd99833b
|
models2: Fixed incorrect db mappings, fixed Edit not returning mutated model.
|
2018-10-11 22:26:08 +02:00 |
|
gisle
|
34f86d5037
|
graph2: Added logging changes for Channel, Log, Post and Character.
|
2018-10-09 20:25:55 +02:00 |
|
gisle
|
8a85313762
|
docker: Updated DockerFile.
|
2018-10-09 19:33:51 +02:00 |
|
gisle
|
017e68eae7
|
rpdata-ensurechannels: Ported to use new models package.
|
2018-10-07 14:48:23 +02:00 |
|
gisle
|
1955ad0517
|
rpdata-lb2logimport: Changed script to use new models package.
|
2018-10-07 14:45:44 +02:00 |
|
gisle
|
34ba5d5d3a
|
models2: Fixed issue caused by last commit removing packages that were still barely in use.
|
2018-10-07 13:41:39 +02:00 |
|
gisle
|
8c8a251080
|
package: Removed old models packages that are ported over to the new format.
|
2018-10-07 12:18:55 +02:00 |
|
gisle
|
73fe125870
|
models2: Added log character updates.
|
2018-10-07 12:16:53 +02:00 |
|
gisle
|
04ec85aadf
|
graph2: Removed limit on posts returned for Log.posts field.
|
2018-10-07 12:16:12 +02:00 |
|
gisle
|
59233ee549
|
models2: Fixed characters using wrong auto increment
|
2018-10-07 10:56:29 +02:00 |
|
gisle
|
7aa0de9135
|
models2: Fixed error caused by empty change set in edit
|
2018-10-06 14:02:39 +02:00 |
|
gisle
|
6dfbee7ff2
|
models2: Fixed editing characters erasing all unedited data.
|
2018-10-06 13:55:16 +02:00 |
|
gisle
|
8a07c2ffdb
|
graph2: Remove CharactersFilter logged property.
|
2018-10-06 10:53:15 +02:00 |
|
gisle
|
0e9536b0a8
|
models2: Fixed StoryCategory UnmarshalGQL validating before writing the value.
|
2018-10-03 20:56:18 +02:00 |
|
gisle
|
b8e5ed5813
|
graph2: Added channel mutations.
|
2018-10-01 22:20:52 +02:00 |
|
gisle
|
2317f66920
|
graph2: Added character mutations
|
2018-10-01 22:05:12 +02:00 |
|
gisle
|
fc488b938d
|
graph2: Fixed last change closing all logs upon opening one, even the one just opened.
|
2018-10-01 21:01:43 +02:00 |
|
gisle
|
ceb2617571
|
graph2: Added closing of all other logs in the same channel if a log is opened.
|
2018-10-01 20:22:37 +02:00 |
|
gisle
|
aeb5b26627
|
graph2: Added Log mutations
|
2018-09-30 17:05:26 +02:00 |
|
gisle
|
6aafc67790
|
rpdata-server: >_>
|
2018-09-30 11:28:25 +02:00 |
|
gisle
|
c6f8fd9faa
|
git: readme
|
2018-09-30 11:14:01 +02:00 |
|
gisle
|
efa98b80cc
|
rpdata-as2storyimport: Changed to use new models.
|
2018-09-29 16:38:36 +02:00 |
|
gisle
|
707dcb43eb
|
models2: Added IsValid() method to StoryCategory
|
2018-09-29 16:38:21 +02:00 |
|
gisle
|
9bcc28a0ea
|
rpdata-graphiql: removed command
|
2018-09-29 16:21:36 +02:00 |
|
gisle
|
2fceaa62ed
|
rpdata-lb2charimport: Ported to using new models package
|
2018-09-29 16:20:36 +02:00 |
|
gisle
|
86125c7ce9
|
graph2: Added add/remove nick mutations to character.
|
2018-09-29 16:20:08 +02:00 |
|
gisle
|
bb28795cd5
|
graph2: Added post mutations. general: Did some cleaning.
|
2018-09-29 15:54:22 +02:00 |
|
gisle
|
815f30597e
|
graph2: Added removal of chapters upon story being deleted.
|
2018-09-23 13:53:13 +02:00 |
|
gisle
|
cd1f122502
|
graph2: Fixed inverse permission checks in story mutations.
|
2018-09-22 15:31:53 +02:00 |
|
gisle
|
0e0d802a32
|
graph2: Added Story mutations
|
2018-09-20 20:50:22 +02:00 |
|
gisle
|
3c42043ab6
|
models: Added Equals method to tag model.
|
2018-09-20 20:49:57 +02:00 |
|
gisle
|
8388ee2446
|
graph2: Added clearFictionalDate option to editChapter mutation input
|
2018-09-19 22:19:39 +02:00 |
|
gisle
|
260c2e7f76
|
auth: Changed token checking to ignore disallowed permissions instead of invalidate the key
|
2018-09-18 20:24:04 +02:00 |
|
gisle
|
a4034b0faa
|
graph2: Added Chapter mutations
|
2018-09-17 20:11:57 +02:00 |
|
gisle
|
c3a6798050
|
rpdata-server: Changed endpoint from /query to /graphql
|
2018-09-16 23:52:45 +02:00 |
|