Commit Graph

65 Commits

Author SHA1 Message Date
4c1734095e Build hubserver
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-18 21:55:48 +01:00
6e25373072 Use alpine Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-18 21:53:14 +01:00
f53c832859 Cleanup .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-18 21:48:05 +01:00
ec510484d8 Cleanup websub hub (and use postgres) 2019-03-18 21:47:49 +01:00
1aa7ff8d92 Add option for server hostport
All checks were successful
the build was successful
2018-12-10 19:52:36 +01:00
7aa6471696 Cleanup (and re-enable stats)
All checks were successful
the build was successful
2018-12-10 19:39:34 +01:00
309b034180 Merge branch 'master' of https://git.p83.nl/peter/websub-hub 2018-12-10 19:34:30 +01:00
35d8d0d8d8 Add mutexes around saving the files 2018-12-10 19:33:32 +01:00
2808530540 Fix typo in .drone.yml
All checks were successful
the build was successful
2018-08-05 18:03:55 +02:00
b8dc97ff86 Build from git.p83.nl
Some checks failed
the build failed
2018-08-05 18:03:06 +02:00
68d84bdaa3 Disable incStat
All checks were successful
the build was successful
2018-08-05 18:00:15 +02:00
aa257744f0 Disable stats
All checks were successful
the build was successful
2018-08-05 17:53:13 +02:00
f263b04661 Fix loading of stats.json and subscriptions.json
All checks were successful
the build was successful
2018-08-05 17:47:15 +02:00
bd733bac71 Save the contentType before sending it 2018-04-08 00:47:15 +02:00
7e612fd7bc Define postRes 2018-04-08 00:39:07 +02:00
961a653160 Don't overwrite the real request 2018-04-08 00:36:24 +02:00
27f8c9611d Add Accept header to publish request 2018-04-08 00:26:58 +02:00
9baab2fda9 Add Created time to Subscriber 2018-02-11 09:54:07 +01:00
22d75a2da6 Improve handling of hub.lease_seconds 2018-02-11 09:36:41 +01:00
648ba9f84b Log incoming subscription requests 2018-02-11 09:29:32 +01:00
e7df309708 Add stats to debug output 2018-02-10 15:28:41 +01:00
b088f7b9a5 Add address off to decoding/encoding 2018-01-31 16:36:47 +01:00
21aafdd7f1 Add error checking to load/save 2018-01-31 16:35:02 +01:00
4603b565a5 Add logging for missing topic and loading 2018-01-31 16:31:12 +01:00
7e833dbca3 Log load and save 2018-01-31 16:27:53 +01:00
e62711b74a Add logging of publish response 2018-01-31 16:15:40 +01:00
1f9037b3ef Use secret as verify_token 2018-01-31 15:07:26 +01:00
5aa9846b57 Add secret to check 2018-01-31 14:33:08 +01:00
7da531130a Don't send empty leaseSeconds 2018-01-31 14:30:50 +01:00
0bfcd8706f Add more logging and debugging 2018-01-31 14:20:08 +01:00
1db4c3cd28 Show as output 2018-01-30 23:06:05 +01:00
712760d771 Add reply for GET request 2018-01-30 23:03:22 +01:00
09ec4a556e Add validationURL 2018-01-30 21:54:01 +01:00
418a997fbf Also send hub.mode 2018-01-30 21:51:51 +01:00
7448b0f878 Add unsubscription 2018-01-30 21:48:35 +01:00
62b4e4012d Rewrite subscriber if it exists 2018-01-30 21:36:00 +01:00
7167b61c5e Also send content 2018-01-30 21:29:19 +01:00
8759b87957 Use %x formatting in Sprintf for signature 2018-01-30 21:26:52 +01:00
1890431f4e Add signature for subscribers with secrets 2018-01-30 21:23:11 +01:00
bde593b909 Fix request, remove done step 2018-01-30 21:13:21 +01:00
349e5c7488 Add sh 2018-01-30 21:07:14 +01:00
d1f2b7da09 Fix .drone.yml perhaps 2018-01-30 21:05:55 +01:00
7511555fec Add Link header to hub output 2018-01-30 21:02:19 +01:00
b25a1d4733 Add deployment complete step 2018-01-30 20:58:23 +01:00
34b678f882 Deployment complete 2018-01-30 20:57:45 +01:00
ace9f5a3df Fix loading of subscriptions.json 2018-01-30 20:51:31 +01:00
2f9f57107d Add POST to callback 2018-01-30 20:48:34 +01:00
3c71f8beaf Don't empty subscribers on restart 2018-01-30 20:42:17 +01:00
5fd4d723ca Cleanup use of validation url 2018-01-30 20:38:00 +01:00
09a4062b23 Fix typo 2018-01-30 20:08:30 +01:00