Commit Graph
16 Commits
Author SHA1 Message Date
Dylan 7afd8415cd Add support for snowflake ID primary key (#670)
* fix: 修复PostgreSQL SQL语法错误,将反引号替换为双引号

* feat: 新增雪花算法ID实现

* 优化雪花算法和主键类型

* 修复错误引用

* 添加雪花详情链接

* feat: add snowflake ID parser method

* 修复独立执行异常

* 更新系统时间错误类
2025-06-16 13:34:27 +08:00
Dylan 845f2f0ff8 Fix the postgresql sql script syntax error (#669) 2025-06-15 16:38:48 +08:00
dylan 26d7492d6b Add ip location cache (#205)
* Add ip location cache

* Fix ip location cache

* Fix getting subscripts for offline locations
2023-08-28 18:28:22 +08:00
dylananddowndawn 83b6a10327 Add jwt login whitelist (#204)
Co-authored-by: downdawn <downdawn22@gmail.com>
2023-08-28 15:33:18 +08:00
dylan b194a32395 fix get_tree_data exception. (#169) 2023-07-04 20:41:17 +08:00
dylan ee57c08ea6 Adapt to frontend (#162)
* Adapt to the frontend.
* Fix role update exception.
* add current user info interface.
* add meta schema
* annotate captcha
* update interface to restful specification
* update info to me
2023-07-01 18:51:10 +08:00
dylan da6f6b8c24 Fix permitted exception. (#151)
* Fix permitted exception.

* Fix opera get code and msg exception.
2023-06-19 19:31:54 +08:00
dylan b18dea55aa add dictionary management interface (#127)
* add dictionary management interface

* fix dictionary data one-to-many annotation
2023-06-14 15:39:41 +08:00
dylan 0bb6275eba Omitting table names from the autogenerate process (#125) 2023-06-13 23:20:44 +08:00
dylan c4c835cfb8 opera_log_middleware method split (#105)
* opera_log_middleware method split

* extract ip and ua information

* added ua and ip information to login log and operation log

* extract request args func

* desensitization adds async decorations

* fix get summary exception

* fix get summary exception2
2023-06-11 05:05:31 +08:00
dylan e091b23589 Remove useless jwt role_ids (#103)
* Remove useless jwt role_ids

* Remove get_role_ids method
2023-06-09 16:44:55 +08:00
dylan 4868cb142b update where query (#74) 2023-05-25 18:43:31 +08:00
dylan 06a0a33a3a Update tests structure. (#68)
* Update tests structure.
* Unit tests use the test database
* Add function for creating database engine and session.
2023-05-23 17:52:34 +08:00
dylan 4c12c53e94 add token storage and logout (#57)
* add token storage and logout

* fix jwt expire time bug
2023-05-19 16:42:43 +08:00
dylan 64f2a13e37 update to python3.10 (#29) 2023-05-03 17:10:55 +08:00
dylan b9e4ac31eb Add environment variable management and fix Pydantic validation error (#15)
* Use env to manage important configurations and distinguish environments

* fix Pydantic validation error caused by None value in links field of Page class

* Production environment no longer exposes API docs

* Extract TOKEN_URL to conf
2023-04-21 20:10:07 +08:00