Commit Graph

14 Commits (master)

Author SHA1 Message Date
Hankin 0000931a88
修复PostgreSQL数据库下,添加项目成员和全文搜索时发生的SQL语法兼容性错误 (#986)
* FixedBUG: pq: 不支持 LIMIT #,# 语法

* FixedBug: 修复全文搜索时,因不兼容PostgreSQL发生的语法错误

* 读取 dbadapter 以尽可能的兼容不同数据库
2024-11-09 12:04:43 +08:00
Sharklet 71b8e528ff
增加清理附件按钮,对悬空无引用的图片/附件进行清理 (#918)
* add attach_clean & change_theme

* add attach_clean & change_theme

* add

* add readme

---------

Co-authored-by: root <root@DESKTOP-L84EQPB.localdomain>
2023-12-19 13:19:31 +08:00
玖亖伍 0dbb5d7967
escape underline and percent sign for DocumentSearchResult 2023-12-09 14:40:58 +08:00
Feng Chang 8b57c6aaf0
Add postgresql support (#792)
* use false for bool type

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* use `limit ? offset ?` instead limit ?,? for database compatibility

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgresql support

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgres options and descriptions

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

---------

close #791

Signed-off-by: ChangFeng <chang_196700@hotmail.com>
Co-authored-by: 玖亖伍 <gsw945@foxmail.com>
2023-04-14 11:09:53 +08:00
sloong 68cfc08e24 fix #776: 修复在mysql8.0中由于member关键词导致系统无法正常使用的异常 2022-03-03 11:38:11 +08:00
roberChen 916c9c6c2a fix(models): use client/orm instead of adapter/orm
- using new orm api, change some related logics
- newer orm api has the concept of TxOrmer, for purpose of transaction
handling. A transaction ormer in v2 is a stateful object, it should be
dropped after using. A Ormer object is stateless and thread(routine)
    safe, and should not be used for transaction handling. More details
    count be found at official doc:
    https://beego.me/docs/mvc/model/orm.md, and pr note: https://github.com/mindoc-org/mindoc/pull/662#issuecomment-807040262
2021-03-26 11:34:02 +08:00
roberChen 9babd8106c chore: clean import errors for beego update 2021-03-24 00:28:13 +08:00
roberChen 90c1329de2 chore!(all): attempt to update beego to v2
BREAKING CHANGE: beego has update to v2, and this version of mindoc IS
NOT TESTED AND STABLE!!!
2021-03-23 21:55:50 +08:00
lifei6671 1a40caaa6c feat:1、增加项目搜索
2、移除对项目标签和项目令牌的支持
2019-01-15 19:36:11 +08:00
lifei6671 f3b03249b4 feat:支持搜索中使用空格 2018-11-29 15:11:34 +08:00
lifei6671 8681d8fa3e feat:搜索支持文章 2018-11-29 14:53:14 +08:00
lifei6671 1b6c7e4793 fix:修复mysql兼容问题 2018-11-26 18:54:50 +08:00
lifei6671 c666fcbed8 feat:实现项目团队管理功能 2018-11-13 17:33:13 +08:00
Minho 152d71a5a0 优化单页打印 2018-06-06 20:45:24 +08:00