Umputun
cdcf5171cf
lint: new warnings from 1.21 golang-lint
2019-10-31 22:09:28 -05:00
Umputun and GitHub
776b9117fc
CI changes ( #457 )
...
* make tests more resilient
* adjust drone for v1.x and dev-box, remove travis support
* add backend build step on branch for drone
* fix from email
* change notif email
* less demanding test wait
* add settings section to drone plugins
* adjust branch build
* convert all drone ci docker confs
* rename drone targets
2019-10-31 20:20:18 -05:00
Umputun
653238bc99
increase test timeouts
2019-10-29 02:43:11 -05:00
Umputun and GitHub
3c321f8992
Verified site id ( #425 )
...
* WIP: start with aud verification
* adjust rest test for token's site_id remark42
* add tests for non-matching aud
* fix auth hook test with updates limiter
* check siteID with enabled call for static store
* fix site enabled check
2019-08-25 22:00:19 -05:00
Umputun
a60072564e
temporary blocking doesn't need to delete/hide comments #377
2019-07-21 11:30:11 -05:00
Umputun
60d9f207ae
only permanent blocking delete all comments
2019-06-28 11:58:09 -05:00
Umputun
f2cecafb27
fix remote client tests with id
2019-06-25 20:06:30 -05:00
Umputun
c1d14082ca
implement DeleteUser soft mode to allow mapping for blocked users #341
2019-06-25 20:06:30 -05:00
Umputun
6e12122e44
blocking also delete comments #332
2019-05-17 13:57:52 -05:00
Umputun
a80c62517f
wrap public rest into struct with safe/read-only interface as store
2019-05-16 21:41:25 -05:00
Umputun
0590246112
move comment alter functionality from rest and admin to store service
2019-05-16 20:49:07 -05:00
Umputun and GitHub
4adbca22b2
Refactor rest ( #320 )
...
* fresh vendor
* enforce vendor flag with env
* move tree to service package
* move controllers routing to rest.go, remove separate subrouters
* cleanup/formatting
* missing vendor packages
* move rss, img proxy, robots and getstarted to top-level routes
* simplify logger middleware usage
* randomize server test ports
* check for non-admin in admin tests
* lint: minor warns
* admin test to jwt admin
2019-05-07 01:54:19 -05:00
Umputun
6ef88bf375
lint: tests warning
2019-03-25 23:57:27 -05:00
Umputun
e6f30b0768
sync with preemptuve lock in concurrent migrator
2019-02-02 18:45:24 -06:00
Umputun
af6076187f
set rss descriptions matching rss type
2019-01-27 15:08:39 -06:00
Umputun
6250f2e52e
allow empty list of comments on find for fresh post without anything #262
2019-01-25 18:24:58 -06:00
Umputun
1cc09a33f6
fix lack of counter invalidation from the cache #261
2019-01-25 17:35:38 -06:00
Umputun
8f0b6a6a59
add unit test for counters #261
2019-01-25 17:10:22 -06:00
Umputun
835e82a441
add guid to rss with comment id
2019-01-08 12:41:10 -06:00
Umputun
3472475a82
add rest and batch (cleanup --title) support for title's #241
2019-01-06 14:52:43 -06:00
Umputun
a6d20b1563
lint: missing error check in tests
2019-01-02 11:50:36 -06:00
Umputun
195e65ca60
adjusted tests for new auth lib
2018-12-30 13:31:03 -06:00
Umputun
59cdfc3d04
rest/api passes
2018-12-27 20:16:06 -06:00
Umputun
b537f01b41
all api package compilable with auth lib
2018-12-27 14:59:45 -06:00
Umputun
440c7abfed
switch local rest middlewares to go-pkgz/rest
2018-12-24 15:34:24 -06:00
Umputun
f3619b4fc3
adjust tests for v1 native format
2018-12-23 03:01:44 -06:00
Umputun
a0dff0a4f0
adjust export tests
2018-12-21 00:13:13 -06:00
Umputun
e5afa2fb74
add check for manual RO https://github.com/umputun/remark/issues/230#issuecomment-448492041
2018-12-19 01:39:45 -06:00
Umputun and GitHub
75a1edcff3
feature/adm_mongo ( #201 )
...
* add admin akd key mongo implementations
* wire admin and key stores to mongo
* lint: wrong comment on keys store
* typos and comments corrections
* fix failed test on avatar resizer
* get rid of ineffectual assignment in test
* add tests for encoding fallback and mongo's keys & admin
* empty encode test adjusted
2018-09-09 16:59:33 -05:00
Umputun and GitHub
84e7770359
Feature/admin-migrator ( #198 )
...
* auth with a secret as admin
* get rid of separate migrator service
* clean sanitize dbg prints
* fix dbg logging and set migrator routes
2018-09-03 23:13:29 -05:00
Umputun
cd7e9832d2
add avatart removal path to deleteMe test
2018-07-25 13:17:42 -04:00
Aleksei Gurianov and Umputun
fdf161850b
Close DataStore on cleanup in tests ( #173 )
...
Windows fs can't remove testDb until file still used.
Therefore we need to close datastore on cleanup.
2018-07-19 09:33:40 -05:00
Umputun
0ae7f226af
extend jwt claim with flags
2018-07-18 21:05:51 -05:00
Umputun
3abe4146b1
add deleteme flag to jwt token
...
it should prevent misuse of laked token to request user's data removal
2018-07-18 16:56:23 -05:00
Aleksei Gurianov and Umputun
10e79cdd90
another flaky ttl block test ( #172 )
...
see #120
2018-07-18 13:27:56 -05:00
Aleksei Gurianov and Umputun
e753346255
increase ttl block in tests to reduce flakiness ( #121 )
2018-07-01 10:58:34 -05:00
Umputun and GitHub
c316b27fe1
feature/block ttl ( #108 )
...
* add ttl to blocking #88
* remove unused parsing code
* add comments explaining TTL for blocking
2018-06-24 15:43:32 -05:00
Umputun and GitHub
7aee7add08
Feature/backend ( #101 )
...
* move backend code #99
* adjust drone build for backend subdir
* move .rest to backend
2018-06-23 12:31:19 -05:00