Commit Graph
159 Commits
Author SHA1 Message Date
Anatoly MilkovandUmputun 835606c5cf add avatar resizing #78 (#83)
* add avatar resizing #78

* remove bytes slices, use io.TeeReader #78

* resize() refactoring #78
2018-06-17 02:28:00 -05:00
Umputun 64bfdec8b7 add post info to plain response #55 2018-06-16 14:05:47 -05:00
Umputun cc9f2adadf don't allow reset RO for aged comments #55 2018-06-16 13:22:37 -05:00
Umputun 3772f8364e add EOL to robots 2018-06-11 13:20:56 -05:00
Umputun 3635799691 add test to verified status retroactively populated 2018-06-11 10:48:32 -05:00
Umputun 50c9b4c6bd set verified status to userInfo to allow it before user re-login 2018-06-11 09:53:53 -05:00
Umputun 3e60e57b75 set verified status retroactively 2018-06-11 09:24:32 -05:00
Umputun 4be58e2c9f pass dataservice by ref 2018-06-09 20:24:48 -05:00
Umputun 67baf50b6e lint: minor warn 2018-06-08 14:18:09 -05:00
Umputun 94734ed4cb externalize avatar store with interface 2018-06-08 02:28:09 -05:00
Umputun 12bf50bb96 add admin email #73 2018-06-06 14:26:04 -05:00
Umputun 0374cafa7e fail on delete of non-existing user 2018-06-06 13:22:09 -05:00
Umputun fec6268983 admin support for one-click deleteme activation 2018-06-06 12:56:16 -05:00
Umputun fbaf2a5a90 test for no-auth user 2018-06-05 19:58:42 -05:00
Umputun 47dbe1661d fix test with avatar added to robots 2018-06-05 11:39:43 -05:00
Umputun f783737d51 allow avatars render 2018-06-05 11:37:24 -05:00
Umputun 81da79374a extends robots.txt to all public api 2018-06-05 11:12:34 -05:00
Umputun c9c5c91f64 allow /last for robots 2018-06-04 21:32:52 -05:00
Umputun a9d8179a4b allow /find for robots 2018-06-04 00:57:35 -05:00
Umputun fbb0e69806 simplify error handling in user export 2018-06-03 21:59:07 -05:00
Umputun 8dfa30d417 export user data to valid json 2018-06-03 21:31:22 -05:00
Umputun f751e4b1fe fix user data export 2018-06-03 01:21:20 -05:00
Umputun 194ece1fa0 add /deleteme request #47 2018-06-03 00:49:37 -05:00
Umputun 7ae4a09f6b ability to use session cookie in login #47 2018-06-02 13:39:14 -05:00
Umputun c77a98542a split too large rest file 2018-06-02 02:54:48 -05:00
Umputun 4ba7fb20ae add rest to export all user-related data #47 2018-06-01 23:27:30 -05:00
Umputun afbddaa5ec eliminate multiple calls to counter in paginated user comments 2018-06-01 22:51:19 -05:00
Umputun 837b2ef719 find user comments to support pagination 2018-06-01 22:17:57 -05:00
Umputun e4176e2afd missing limiter on robots 2018-06-01 13:11:29 -05:00
Umputun d2fd46a4c2 make dbg hashed ip to 12 symbols 2018-05-31 23:51:03 -05:00
Umputun c83aa6901d has logged ip for anonym and auth users 2018-05-31 23:46:04 -05:00
Umputun 0b94ee1d89 remove legacy duration param 2018-05-31 21:28:40 -05:00
Anatoly Milkov 0873f05588 lint: misspell, ineffassign 2018-05-31 15:28:38 -07:00
UmputunandGitHub 0363fc4cd9 feature/verified (#61)
* add store methods for verification

* add verify rest and auth

* lint: fix double conversion of userID key

* test for middleware, fix log without auth info

* make all scripts with -e
2018-05-29 23:07:50 -05:00
Umputun de60edfa61 add site scope to comment create 2018-05-29 16:59:47 -05:00
Umputun 4ec7e1ee4e fix migrator info string 2018-05-28 21:30:11 -05:00
Umputun a409e9e33d test failed update attempts 2018-05-28 18:44:51 -05:00
Umputun f3a157dedb set RO flag on find 2018-05-28 18:29:42 -05:00
UmputunandGitHub 6aee34bb1e feature/ts - read-only support (#57)
* extend post info with ts and add info implemenation to engine

* info controller

* remove unused

* docker froendly new test

* tree find to include post info struct

* remove leftovers from codeconv

* test for empty tree request

* add func name to error rest report

* test with disabled proxy

* add read only age and reject updates on old posts

* lint: shaddow err

* make info calls fast. needs migration!

* fix backup restore script

* increase limiter timeout

* add local exporter

* migrate list to new info

* fix rest list tests

* add manual backup script

* default backup path

* fix eait on sec change failing rss tests

* add RO status bucket and rest

* add admin RO controller test
2018-05-28 14:57:36 -05:00
UmputunandGitHub 90569b9c62 Merge pull request #56 from umputun/feature/delateuser
feature/delateuser - ability to remove all user data
2018-05-26 19:09:28 -05:00
Umputun 08b6d43a93 add delete user to readme 2018-05-26 18:46:56 -05:00
Umputun 7cc0f41903 add last to rss site cache scope 2018-05-26 14:23:08 -05:00
Umputun db9e11ba55 simplify err check 2018-05-26 14:20:24 -05:00
Umputun 87cb9aff4a add rest call to delete user 2018-05-26 13:14:01 -05:00
Umputun b3dc433ec9 WIP: start to implement hard delete to all user's comments #47 2018-05-26 02:03:03 -05:00
Umputun 22c866120f find test with tree resp 2018-05-25 15:00:50 -05:00
Umputun 5280478c32 lint: err check on writer close 2018-05-25 14:42:56 -05:00
Umputun 232f0df03f fix export file with gz close 2018-05-25 14:39:24 -05:00
Umputun 2c4c1998cd missed scopes for admin and import 2018-05-25 14:20:42 -05:00
Umputun 838c1a760f simplify rss headers 2018-05-25 14:08:27 -05:00