Yang Luo
52a66ef044
Fix webhook not triggered issue in SendWebhooks()
2023-10-13 16:47:09 +08:00
Yang Luo
d0c424db0a
Don't panic in AddRecord()
2023-10-05 00:11:13 +08:00
Yang Luo
ea7718d7b7
Use Casvisor for records
2023-08-20 00:44:01 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
Yang Luo
38f031bc86
Show access secret if isAdminOrSelf is true in get-user and get-account APIs
2023-07-19 19:14:53 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yang Luo
cc528c5d8c
Add object to webhook
2023-05-17 23:57:14 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Gucheng Wang
084a5c3e6b
Show logs to org admin
2022-09-18 16:16:45 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter ( #442 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-01-26 19:36:36 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
Yang Luo
2d4103d751
Add isUserExtended to webhook.
2022-01-01 11:16:37 +08:00
Yang Luo
9943e3c316
Add isEnabled to webhook.
2021-12-26 21:03:12 +08:00
Yixiang Zhao
10a85f2386
feat: add server-side search, filter and sorter for all pages ( #388 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2021-12-25 10:55:10 +08:00
Gucheng Wang
cb625b3fa2
Fix TestGetUsers().
2021-12-18 12:48:53 +08:00
Eng Zer Jun
726e4e3dc1
refactor: move from io/ioutil to io and os packages ( #366 )
...
* chore: format code by running `go fmt ./...`
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-12-13 09:49:43 +08:00
Gucheng Wang
c46925dbe8
Don't panic for sendWebhook() error.
2021-11-27 21:12:13 +08:00
Gucheng Wang
95600414d9
Add UploadFileSafe().
2021-11-20 17:26:58 +08:00
Lex Lim
64fc810359
fix: panic while insert record when request uri too long ( #325 )
...
Signed-off-by: Lex Lim <hyperzlink@outlook.com>
2021-11-12 00:01:37 +08:00
Gucheng Wang
21f433d278
Add logPostOnly.
2021-11-09 23:32:53 +08:00
Gucheng Wang
102e22f2c7
Add method to record.
2021-11-09 23:24:13 +08:00
Gucheng Wang
30a2fdef37
Make webhook work.
2021-11-07 23:53:17 +08:00
Gucheng Wang
87e6fb63e1
Add isTriggered to record.
2021-11-07 17:56:45 +08:00
Gucheng Wang
e9e0721b34
Add missing fields for record.
2021-11-07 17:36:52 +08:00
Gucheng Wang
5ec678fa28
Improve record's User field.
2021-11-07 17:20:15 +08:00
Gucheng Wang
77fffcacac
Refactor the record code.
2021-11-07 16:51:16 +08:00
Yixiang Zhao
b1db47bad1
feat: add server-side pagination ( #312 )
...
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-06 11:32:22 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
sh1luo
c632c3c307
fix: replace casdoor with casbin ( #194 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
killer
21b36bbb47
feat: add UI to view logs
...
Signed-off-by: killer <1533063601@qq.com>
2021-07-19 10:11:01 +08:00