Yaodong Yu
e2b6e8ee6e
chore: unify migrate database way ( #1530 )
2023-02-09 19:28:15 +08:00
Liu
c66561dc9a
feat: support sqlite database without cgo by using the modernc.org/sqlite driver ( #1474 )
...
* Refactor: update sqlite go driver to modernc.org/sqlite without cgo
* fix: update sqlite driver to modernc.org/sqlite
* fix: sqlite driver to modernc.org/sqlite
* Update adapter.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-01-14 20:11:23 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user ( #1441 )
...
* fix: destroy session after delete user
* feat: visual session
* fix: go lint
* feat: add translation
* feat: auto flush after offline
* fix: delete one session
* fix: move 403 page to baseListPage
2023-01-06 15:04:13 +08:00
Mr Forest
50a52de856
feat: support database version control ( #1221 )
...
* feat: support Database version control
* Update adapter.go
* fix review problems
* Update adapter.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-10-15 17:20:20 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Yixiang Zhao
604033aa02
feat: use Casdoor to manage Casbin DB table ( #1100 )
...
* feat: use Casdoor to manage Casbin DB table
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: remove trivial codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* chore: go fmt
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: support role definition
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-09-14 22:14:13 +08:00
Gucheng
5707e38912
feat: add batchSize to conf ( #1120 )
2022-09-13 20:31:22 +08:00
Gucheng Wang
d55ae7d1d2
Enable some other DBs
2022-08-04 20:28:09 +08:00
Yang Luo
1600615aca
Support sqlite3 DB
2022-07-31 18:11:18 +08:00
Yixiang Zhao
2bca424370
feat: implement access control using casbin ( #806 )
...
* feat: implement access control using casbin
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* chore: sort imports
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: remove
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* Update auth.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-13 00:34:35 +08:00
Bingchang Chen
208dc11d25
fix: set SessionOn always true ( #877 )
...
* fix: set SessionOn always true
* Update adapter.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-11 12:36:20 +08:00
Yixiang Zhao
d52caed3a9
feat: add model page ( #757 )
...
* feat: add model page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: support config model for permission
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* translation and indentation
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-05-24 18:27:47 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Yang Luo
39ab71c5db
Add product pages.
2022-02-27 20:09:19 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Yang Luo
07abe06332
Use utf8mb4 for DB encoding.
2022-02-11 22:38:56 +08:00
Yang Luo
940aa2bc2d
Add payment pages.
2022-02-05 20:13:15 +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
hanpeng
c3fb48f473
fix: Add a configuration that can set the table prefix. There is no prefix by default ( #432 )
...
* fix: Add a configuration that can set the table prefix. There is no prefix by default
* fix: Add a configuration that can set the table prefix. There is no prefix by default
2022-01-20 13:50:20 +08:00
hanpeng
a111fd672c
fix: Add the configuration of whether to print SQL. The default value is false ( #429 )
2022-01-19 16:58:45 +08:00
Товарищ программист
8d54bfad8a
feat: support create database via cmd line ( #417 )
2022-01-13 11:35:13 +08:00
Yang Luo
9b6131890c
Add permission page.
2022-01-01 16:28:33 +08:00
Yang Luo
ff22bf507f
Add role page.
2022-01-01 15:11:16 +08:00
Yang Luo
ba1646a0c3
Add cert pages.
2021-12-31 00:36:36 +08:00
Yang Luo
dfce1bd74c
Remove adapter.createDatabase().
2021-12-27 22:49:54 +08:00
Yang Luo
0c665edcbc
Add headers to webhook.
2021-12-26 20:43:32 +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
Yang Luo
e79e3c36d0
Support more DBs in syncer.
2021-12-24 23:23:06 +08:00
Gucheng Wang
c2110ef59d
Add sync pages.
2021-12-17 16:35:45 +08:00
Gucheng Wang
589c0404d2
Fix dataSourceName config to use correct DB host in Docker.
2021-12-12 23:51:53 +08:00
Gucheng Wang
77fffcacac
Refactor the record code.
2021-11-07 16:51:16 +08:00
Gucheng Wang
0e71e603ac
Add webhook pages.
2021-11-07 16:24:13 +08:00
Yang Luo
495b64995f
Add resource list page.
2021-08-15 00:25:46 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
WindSpiritSR
705d2ede6b
feat: support LDAP ( #160 )
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-19 10:13:23 +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
Kininaru
400e335e68
feat: add reset email by verification code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-12 21:38:31 +08:00
Yang Luo
79f1c62ff7
Move adapter.createTable() out, make engine public.
2021-05-02 10:34:31 +08:00
Yang Luo
be0cfa132e
Rename db to driverName.
2021-05-02 00:34:15 +08:00
Yang Luo
fa2653c836
Fix comment.
2021-04-29 22:56:35 +08:00
Kininaru
6dcece3990
feat: add pg for db adapter ( #50 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: postgres creating failed
Signed-off-by: Kininaru <shiftregister233@outlook.com>
nil
Signed-off-by: Kininaru <shiftregister233@outlook.com>
rewrite postgres logic
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed pq from dependencies
Signed-off-by: Kininaru <shiftregister233@outlook.com>
comment pq
Signed-off-by: Kininaru <shiftregister233@outlook.com>
typo
Signed-off-by: Kininaru <shiftregister233@outlook.com>
comment
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-29 21:53:42 +08:00
Yang Luo
bc368a4361
Add TestSyncAvatarsFromGitHub().
2021-03-28 21:50:00 +08:00
Yang Luo
85523fa9d4
Add token pages.
2021-03-14 00:00:29 +08:00
Yang Luo
64c9548019
Update license header.
2021-03-13 23:09:14 +08:00
Yang Luo
e4778b967f
Add dbName config.
2021-02-15 10:11:26 +08:00
Yang Luo
84c1f2634e
Add application list and edit pages.
2020-12-20 23:24:09 +08:00
Yang Luo
f0692985f1
Add organization list and edit pages.
2020-12-20 20:31:48 +08:00
Yang Luo
b5eb673c81
Add user list and edit pages.
2020-10-20 23:14:03 +08:00