Commit Graph

52 Commits (22589e344c743f916bcd9f980c74f6871038b176)

Author SHA1 Message Date
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
Rebellioncry ade6734779 修复只有第一次导入docx文件有效问题 2022-11-30 14:15:12 +08:00
wanghaima d3993a2f08 1.迁移表时添加字段注释
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
Go-Go-Farther 940cc2420c bugfix: 修复zip的slip问题,防止上传恶意zip,增强服务器安全性。 2022-06-20 13:54:53 +08:00
sloong 68cfc08e24 fix #776: 修复在mysql8.0中由于member关键词导致系统无法正常使用的异常 2022-03-03 11:38:11 +08:00
Augists 63c0ac0a1d add support for importing docx file as book 2022-02-11 16:37:42 +08:00
Augists 4eec37e7c9 fix bugs 2022-02-11 13:31:03 +08:00
Augists 7de992adb0 woshishazi 2022-02-11 11:36:30 +08:00
Augists a877083e96 add support for importing docx file 2022-02-11 11:10:58 +08:00
shiqstone f02ff935fe update for init i18n 2021-04-21 22:00:03 +08:00
shiqstone 4ad0fe74d0 merge from mindoc-org/mindoc and resolved conflict 2021-04-21 20:40:54 +08:00
shiqstone 6eb26fcb23 User
refactor and update i18n, to be continue
2021-04-12 21:12:26 +08:00
shiqstone 782ea44388 refactor, replace beego.Error with logs.Error 2021-03-30 14:24:14 +08:00
roberChen 967ef37ce9 chore: use core/logs
- depretace all adapter/logs to core/logs
2021-03-26 14:26:19 +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
roberChen 79f70d830d chore!(all): update go import path
BREAKING CHANGE: use github.com/mindoc-org/mindoc as import path
2021-03-23 15:09:17 +08:00
lifei6671 b510a45908 feat:1、实现空节点功能,当文档标记为空目录时不加载内容页无法编辑内容
2、实现HTTP接口方式登录,
3、优化markdown编辑器部分功能
2019-05-20 17:38:37 +08:00
lifei6671 d8e56548ea perf:过滤内容中的非法字符,增强安全性 2019-05-20 12:08:14 +08:00
lifei6671 6ca1515462 feat:跳转项目排序 2018-11-28 09:56:20 +08:00
lifei6671 1b6c7e4793 fix:修复mysql兼容问题 2018-11-26 18:54:50 +08:00
lifei6671 a64a6c80e6 fix:修复mysql兼容问题 2018-11-26 17:00:40 +08:00
lifei6671 f1957dd9c0 feat:优化项目空间样式 2018-11-21 11:03:16 +08:00
lifei6671 91df6bb024 feat:实现项目集功能 2018-11-20 20:36:14 +08:00
lifei6671 4702334604 fix:修复删除项目时没有删除项目团队的BUG 2018-11-16 10:46:37 +08:00
lifei6671 7b3e4f0672 feat:实现项目密码访问功能 2018-11-14 15:57:55 +08:00
lifei6671 c666fcbed8 feat:实现项目团队管理功能 2018-11-13 17:33:13 +08:00
lifei6671 0f705f0249 feat:实现项目团队加入功能 2018-11-12 21:01:59 +08:00
lifei6671 64edcf97ce feat:实现团队功能 2018-11-08 20:08:30 +08:00
lifei6671 732b1db281 feat:1、增加文档和文章的危险标签和属性过滤
2、移除文档的客户端缓存
2018-09-13 18:19:26 +08:00
lifei6671 100db87c6d feat:删除项目时删除上传的附件和图片 2018-08-20 15:11:32 +08:00
lifei6671 bb7d1c1503 feat:1、实现文档自动保存
2、实现记住上次打开的文档,当文档编辑时会自动定位到上次打开的文档。
2018-08-17 17:33:45 +08:00
lifei6671 42dbe12f6b fix:修复删除项目失败的BUG 2018-08-15 16:00:04 +08:00
lifei6671 aa2842cdf8 feat:1、实现自定义模板功能
2、实现项目附件和图片按照项目组织
3、优化自动发布功能解决大项目发布时的性能问题
4、修复删除项目没有删除附件的问题
5、增加项目封面大小
6、增加部分项目操作日志
2018-08-14 15:57:52 +08:00
lifei6671 790b2aa611 feat:实现自定义模板功能 2018-08-13 19:05:49 +08:00
lifei6671 1eae95ea5d 兼容Markdown导入特殊的链接 2018-07-23 14:38:33 +08:00
lifei6671 d7186ff270 去掉多余日志 2018-07-23 11:02:03 +08:00
lifei6671 94faf856f7 优化导入文档中链接处理 2018-07-23 09:54:00 +08:00
lifei6671 449fecd4eb 解决二级目录部署时导入的图片无法显示的BUG 2018-07-11 11:06:21 +08:00
lifei6671 c5fb0c760b 实现项目复制功能 2018-07-10 18:53:41 +08:00
Minho 81df7f262b 增加更多的输出日志 2018-04-02 15:52:36 +08:00
Minho bf1b38a36e 1、当导出Markdown时,如果当前文档没有内容,则将文档标题作为内容
2、修复导入文档时链接处理错误的BUG
2018-03-27 00:55:11 +08:00
Minho 95408e4b0d 修复普通文件附件 2018-03-27 00:25:18 +08:00
Minho dc214bc038 修复导入文件中图片存在参数时无法导入的BUG 2018-03-26 22:39:16 +08:00
Minho 297a7a1b11 优化导入逻辑,兼容含有BOM头的文件 2018-03-26 19:26:01 +08:00
Minho 3a1337c0bd 优化导入后的显示 2018-03-26 13:32:02 +08:00
Minho ffe5dced44 优化Markdown解析 2018-03-25 21:18:54 +08:00
Minho 6a49b8a42f 实现导入Markdown 2018-03-25 14:59:42 +08:00
Minho 74df816f38 优化Markdown导入 2018-03-25 10:56:52 +08:00