codiflow
97763c681f
Merge remote-tracking branch 'origin/master'
2020-04-08 14:44:43 +02:00
Christian
48aff63eca
Added new language strings
2020-04-08 14:43:52 +02:00
Umputun and GitHub
a4e262e9e6
Switch back to go 1.13 and lint 1.23 ( #647 )
...
* combine lint and test for examples
* combine backend test and lint
* switch linter to 1.23
* back to go 1.13
* comment -mod=mod for 1.13
2020-04-07 15:30:00 -05:00
Christian and GitHub
c7e5059341
Added new language strings
2020-04-07 11:49:48 +02:00
Umputun and GitHub
1bb8fa4b61
Merge pull request #645 from lufte/es-locale
...
Spanish locale
2020-04-07 03:01:36 -05:00
konstantin krivlenia
879e5c8383
fix default en message form symbol limit
2020-04-07 10:48:00 +03:00
lufte
467496f34c
Add translations for "new page" and english improvements
2020-04-06 23:39:40 -03:00
lufte
a0d68b12ea
Spanish locale
2020-04-06 23:37:11 -03:00
Umputun
9f12cc9f5f
cut-paste err
2020-04-06 18:06:33 -05:00
Umputun
cadd1e8a7c
enforce -mod=mod for example ci
2020-04-06 18:03:54 -05:00
Umputun
73adc23176
try to copy .golangci.yml to _example
2020-04-06 17:22:58 -05:00
Dmitry Verkhoturov and Umputun
cab3b8a831
move admin email notifications call to rest/api module
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
04d3541de1
add admin email notifications on new comments
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
e377bceeb4
make notify.Email support multiple messages in one Send
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
726a4d7fc3
add translation instructions
2020-04-06 16:18:56 -05:00
Umputun and GitHub
079721298e
update lic year
2020-04-06 13:04:50 -05:00
Pavel Mineev and Umputun
dfeff72d3e
update vulnerable packages
2020-04-06 12:07:14 -05:00
Pavel Mineev and Umputun
78a5bf15b5
Fix back button in email subscription form
2020-04-06 10:14:50 -05:00
Umputun
40db689b27
update linter to 1.24 #641
2020-04-06 01:51:23 -05:00
Dmitry Verkhoturov and Umputun
106218df19
fix memory_storage run
...
- add proper formatting to Readme instructions
- fix docker-compose yaml
- add Enabled flag to admin storage, as without it I saw following error on trying to post a comment:
```
mem_store.r42 | 2020/04/03 15:53:52.433 [INFO] {logger/logger.go:120 logger.(*Middleware).Handler.func1.1} POST - /cmd - 172.20.0.3 - 200 (25) - 126.8µs - {"method":"admin.enabled","params":"remark","id":29}
remark42 | 2020/04/03 15:53:52.434 [WARN] {rest/httperrors.go:85 rest.SendErrorJSON} can't save comment - failed to prepare comment: can't get secret for site remark: site remark disabled - 500 (0) - dev_user/dev_user - /api/v1/comment - [rest/api/rest_private.go:121 api.(*private).createCommentCtrl]
```
Flag was originally added 106c018ef1
2020-04-04 14:06:39 -05:00
Dmitry Verkhoturov and Umputun
0355ba4ff7
add image storage to memory_store
2020-04-04 14:06:39 -05:00
Dmitry Verkhoturov and Umputun
ce92f63215
add remote image storage support to backend
2020-04-04 14:06:39 -05:00
Umputun and Dmitry Verkhoturov
b6ef4f393a
switch to go 1.14 #636
2020-04-04 18:38:35 +02:00
Umputun and GitHub
98b77f076c
Merge pull request #628 from paskal:img_fixes
...
image.Service and image.Store improvements
2020-04-02 21:48:41 -05:00
Pavel Mineev and Umputun
7de82e0fef
Fix clear localstorage after comment sending
...
* add functions for saving json to localstorage and tests
* remove comment form localstorage after posting
2020-04-02 16:25:37 -05:00
Dmitry Verkhoturov and Umputun
10c1aa939f
remove .golangci.yml file for golangci-lint service
2020-04-01 02:33:39 -05:00
Pavel Mineev and Umputun
d9f913dbb0
fix ru translate
2020-04-01 02:32:30 -05:00
Dmitry Verkhoturov
4539b8ffb4
hide image.Store from image.Service consumers
2020-03-27 21:03:49 +01:00
Dmitry Verkhoturov
e1d502ecf8
add clarifying comment to image.Store interface
2020-03-27 02:24:44 +01:00
Dmitry Verkhoturov
33dde7d4dd
move MaxSize, MaxHeight and MaxWidth from image Storage to Service
2020-03-27 02:10:49 +01:00
Dmitry Verkhoturov
ef6634e9b3
exclude unused filename from image.Store.Save() parameters
2020-03-26 23:04:49 +01:00
Dmitry Verkhoturov
d714e32668
explicitly ignore error in test fmt.Fprint
2020-03-26 23:04:31 +01:00
Dmitry Verkhoturov
fa4e779fa0
bump go modules in memory_store
2020-03-26 23:02:08 +01:00
Pavel Mineev and Umputun
7ce400a5e5
move getting of hidden users to utils
...
* get hidden user by util
* add tests for changed actions
* add tests for getting users from local storage
2020-03-25 01:52:46 -05:00
Pavel Mineev and Umputun
e7dfd1efbb
Fix hide/unhide user and setVerifiedStatus
...
* add tests for user store
2020-03-25 01:52:46 -05:00
Dmitry Verkhoturov and GitHub
c9a23698ba
Image interface changes ( #623 )
...
@paskal
* sort imports, add missing copyright
* regenerate engine mock
* make all image.Store interface functions public
* go mod tidy
* make image.Store.Load return []byte instead of io.ReadCloser
* separate memory_store example RPC server to multiple files by handlers groups
2020-03-22 20:43:43 -05:00
Pavel Mineev and Umputun
a883052e03
Fix saving of comment sorting
...
* Add tests
2020-03-22 16:11:01 -05:00
Yonatan Rybinski and GitHub
1ba5e7a67e
Added instructions for SES email configuration ( #622 )
...
@cigan1 (Yonatan Rybinski)
* Added instructions for SES
* Fixed domain
* Changed the name to Amazon SES not AWS SES
* Removed the extra URL
2020-03-22 15:57:59 -05:00
1c5928ad0b
Add russian translates and update readme ( #621 )
...
Author: Pavel Mineev @akellbl4
* add russian translates and update readme
* Fix email adress string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Fix uploading disabled message
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Change phrase for empty token string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Fix grammar for invalid email string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* change word for thread
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2020-03-19 11:31:43 -05:00
Nikolay Korotkiy and Umputun
79e1009b19
Updated Russian translation
2020-03-18 13:16:34 -05:00
Nikolay Korotkiy and Umputun
61b78a1beb
Added Finnish translation
2020-03-18 11:15:30 -05:00
Pavel Mineev and Umputun
0363855de8
add license field
2020-03-12 15:52:38 -05:00
Pavel Mineev and Umputun
24f0c19378
Update deps
...
* update vulnerable packages
* set fresh version of node because of using Object.fromEntries
2020-03-12 15:52:38 -05:00
konstantin krivlenia and Umputun
156f8e446f
check that all translation messages are commit
2020-03-12 15:45:35 -05:00
Pavel Mineev and Umputun
fe4b46f924
fix id and generate langs
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
0725013481
Hide error message after login
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
779839aeb4
Add error on image upload by anonymous user
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
c9485fab3f
Use named function for AuthPanel wrapped component
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
93fd445bd4
On-demand auth
...
* auth block was moved to comment form
* if comments on page read only auth form shows in old place
* comment value in form will be saved between refreshes (it is side effect form saving comment value between unauth and auth states)
2020-03-12 15:44:31 -05:00
Dmitry Verkhoturov and Umputun
d85e185aa1
add caddy documentation
2020-03-09 12:59:24 -05:00