73 Commits

Author SHA1 Message Date
or-else 9ae8678f39 fix: incorrect use of server status path from flag 2025-11-16 15:06:24 +03:00
or-else 551133ad3a Merge branch 'devel' into next 2025-04-13 18:24:16 +03:00
or-else 1173d64e76 bug fix in optionalHttpHeaders; deprecated ioutil removed 2025-04-13 18:24:05 +03:00
or-else eac66153e4 merge devel 2025-04-06 11:43:28 +03:00
or-else bb87bcea52 add HTTP headers: X-Frame-Options, Referrer-Policy 2025-04-06 11:41:37 +03:00
or-else 426d4f9e96 grpc file support compiles are runs 2023-05-21 16:52:15 -07:00
or-else 41936660f0 merge devel 2023-05-20 10:59:55 -07:00
or-else 85ac6e3f6f return error on invalid auth method 2023-05-03 09:54:05 -07:00
or-else 2bb1aef472 replacing interface{} with any 2023-03-21 11:36:49 -07:00
or-else 1e30c1f969 replace interface{} with any 2023-03-21 11:17:52 -07:00
aforge 9f9d8de7ed Fix incorrect unread count in user cache.
Messages marked as read by sender must not be counted as unread.
Also, exposed a bit more debug info.
2023-02-10 16:09:17 -08:00
or-else 08ff7e9f8a adding another http timenout 2023-01-16 10:04:02 -08:00
or-else d22bb7983b add timeout for KeepAlive connections 2023-01-14 20:33:44 -08:00
or-else 9b00e62e33 a bunch of lint warnings fixed 2023-01-14 20:24:09 -08:00
or-else 923d581405 improve error reporting in hdl_files.go, simplified getAPIKey() 2022-12-06 16:46:12 -08:00
or-else d7b9bfb10f issue login-enabled auth token for new account validation 2022-08-30 14:21:41 -07:00
or-else 59f89b0b8f add error logging for HTTP redirect 2022-08-27 13:49:39 -07:00
or-else 6b0ddbaf6f remove Cat from status because it's redundant 2022-02-22 13:19:46 -08:00
or-else 1bb4b68185 a few more lint warnings fixed 2021-12-25 18:30:40 -08:00
or-else 0e6b763b5c dead code removed, lint warnings fixed 2021-12-25 17:50:31 -08:00
or-else ffcda3a387 use types.TimeNow() instead of time.Now() 2021-06-26 10:15:34 -07:00
aforge 91cbf062c3 Change status output to json. 2021-06-26 16:15:37 +03:00
aforge 97cc12e610 Make status page tables a litte more readable. 2021-06-25 14:46:43 +03:00
aforge e67c10627d Allow overriding status path with configs and cmd line. 2021-06-23 14:23:22 +03:00
aforge 55e8030954 Added '/status' endpoint for exposing debug data. 2021-06-22 17:47:52 +03:00
or-else 8fd20abfb5 a ton more lint fixes (mostly formatting) 2021-04-30 18:44:57 -07:00
or-else 834a98a5a5 lots more lint warnings fixed 2021-04-30 17:28:20 -07:00
aforge 67e465e114 Add a basic unit test for topic.go.
Steps:
1. Wrap store methods in interfaces (in order to allow method mocking).
2. Generate store/mock_store/mock_store.go (mock objects).
3. Add a couple of basic tests for Topic.handleBroadcast.
2021-04-16 00:11:42 -07:00
aforge d8a4e257d3 Rename logs.{Warning,Error} -> logs.{Warn,Err}. 2020-12-24 16:27:16 +03:00
aforge ac154abfff Split logs into info, warning, errors. 2020-12-24 00:00:07 +03:00
or-else c9cd224fc7 add IP address to rest_auth calls, #576 2020-12-09 15:03:45 -08:00
or-else 5b94ecdc3e fix handling of URL-encoded token 2020-11-11 10:12:40 -08:00
or-else 0a11be4646 fixes for lint warnings 2020-04-26 10:30:46 +03:00
or-else e2409157b5 add support for unix sockets 2020-03-18 17:37:31 +03:00
or-else fdcfb64d0e create and use global shutdown indicator 2019-10-01 20:27:55 +03:00
or-else b72e8bcdb8 Merge branch 'devel' into ios-unread 2019-04-09 15:38:18 +03:00
or-else d698c4331f fix for #231 2019-04-09 08:18:07 +03:00
or-else 4eac4bb7c1 add per-user cache for the unread count 2019-03-12 18:24:10 +03:00
or-else 49039a901e more iniomatic fomatting of labels 2019-01-30 10:01:37 +03:00
or-else cceb0e242c actually fix http -> https redirect 2019-01-22 16:14:23 +03:00
or-else 712a621e80 fix for the http->https redirect 2019-01-22 13:35:42 +03:00
or-else fef6712aaa stats publishing finished 2019-01-02 14:58:53 +03:00
or-else fdd012653d further separation of TLS config parsing and use, #197 2018-12-22 19:35:49 +03:00
or-else ad7c22524a a bit of refactoring around TLS configuration due to #197 2018-12-22 17:52:58 +03:00
or-else b57d44cbb6 add an option for Cach-Control header for static content 2018-10-30 22:02:20 +03:00
or-else f3f99b99ec fix invalid https redirect 2018-10-30 21:37:09 +03:00
or-else 3edab2cb28 more consistent error reporting, use grpc.Stop instead of grpc.GracefulStop 2018-09-29 14:55:12 +03:00
or-else e6fe492134 name logical:actual mapping for authenticators, lint warnings 2018-09-29 09:35:20 +03:00
or-else c7805de730 change the order of grpc shutdown 2018-09-22 11:23:45 +03:00
or-else 0251f0a167 s3 works now 2018-09-11 09:51:07 +03:00