Commit Graph

375 Commits

Author SHA1 Message Date
JunjieBai 12d6d64c3b Change the pos if the override of QDbusArgument's operator>> in order to avoid others who use the app-info-table include dbus. 2022-07-04 17:38:59 +08:00
PengfeiZhang aea548ad74 Merge branch '0627ukss' into 'ukss-dev'
Add interfaces for changing position of top&favorites apps.Add update signal.Modify update logic.Adjust the struct of app-db-manager and app-info-table.

See merge request kylin-desktop/ukui-search!340
2022-07-01 02:43:52 +00:00
JunjieBai 27f28df33d Add two timers to handle multi signals in a short time.
Modify the update logic, add update signals while set or change pos of top&favorites.

Adjust the struct of the app info table.
2022-06-29 17:23:01 +08:00
hewenfei d3c509aa2f 修改qurl为qstring 2022-06-28 17:36:31 +08:00
JunjieBai 13288b97bb Add interfaces for changing position of top&favorites apps.
Add appDB update signal.

Add signal transformer and register its signals as dbus signals.
2022-06-28 11:20:41 +08:00
PengfeiZhang 72aae0bf98 Merge branch '0615ukss' into 'ukss-dev'
Optimize the structure of app-search plugin.Fix: The AppDatabase exception will cause the program that calls it to exit.

See merge request kylin-desktop/ukui-search!334
2022-06-27 02:58:56 +00:00
JunjieBai 5b90706ca8 Add a new function to traverse the desktop files and to handle the data in AppDataBase.
Adjust the code structure.
2022-06-24 12:12:46 +08:00
hewenfei c57ffb1750 修改路径的拼接方式 2022-06-23 13:44:38 +08:00
JunjieBai e7cfd7bd83 Optimize the structure of app-search plugin. 2022-06-23 10:13:58 +08:00
JunjieBai 57df997039 Fix: The AppDatabase exception will cause the program that calls it to exit. 2022-06-23 10:12:02 +08:00
PengfeiZhang 7523110016 Merge branch 'ukss-dev' into 'ukss-dev'
新增应用管理启动接口;

See merge request kylin-desktop/ukui-search!306
2022-06-23 01:17:57 +00:00
iaom 3848939928 解决编译问题。 2022-06-14 20:46:36 +08:00
jixiaoxu 0004538ee3 新增搜索服务应用数据库接口;新增搜索应用插件功能;搜索服务接口新增设置返回数据结构(应用搜索插件);目录结构优化等; 2022-06-13 13:38:47 +08:00
hewenfei 6d419424bf 修改搜索服务searchtask与搜索插件的对应关系. 2022-06-13 08:58:59 +08:00
iaom 46c7ab437c 增加索引删除功能。 2022-06-02 09:23:53 +08:00
baijunjie 0fe176a286 Add the default indexable dir.
Add the encapsulation of the singles in dir-watcher.
Modify the removeIndexableListItem, add some locks.
2022-05-31 10:48:45 +08:00
iaom 1a440bf78f 调整索引建立和增加的逻辑,可以实现单独重建某个数据库。 2022-05-27 16:09:46 +08:00
hewenfei 4294019e28 新增解析uop格式文档,增加uof ppt文档解析粒度 2022-05-27 16:09:20 +08:00
hewenfei 04267253a6 新增解析uof格式ppt文档 2022-05-27 16:07:31 +08:00
iaom a71a14ffbf 新增uof,uot,uos,ofd格式文件内容解析(不支持演示文稿). 2022-05-27 16:07:09 +08:00
iaom cacf2b8fc8 修复了添加新的索引目录后可能会导致已经索引的内容搜不到的bug。 2022-05-27 14:34:04 +08:00
jixiaoxu ea46fc8199 新增html文件文本内容解析及搜索功能; 2022-05-27 14:33:17 +08:00
baijunjie 91bcdd6c18 Add the ukui-search-dir-manager process which is instead of dir-watcher to solve the qSettings conflict in the case of multiple processes. 2022-05-27 14:32:01 +08:00
baijunjie fc4fc82cab Fix: there's something wrong when the index path which will be added is not exists or is already be added. 2022-05-27 14:25:38 +08:00
iaom 6e7ca5e35c 文件索引改为白名单形式. 2022-05-27 14:25:04 +08:00
baijunjie a7cec2da4f Add the dbus interface of dir watcher for file index. 2022-05-27 14:22:50 +08:00
iaom 407251b865 Modified file index switch gsettings. 2022-05-27 14:22:28 +08:00
纪笑旭 772458b8da Merge branch '0516ukss' into 'ukss-dev'
Encapsulate the basic interface of cppjieba.

See merge request kylin-desktop/ukui-search!313
2022-05-27 02:26:41 +00:00
iaom cb1201a283 修改版本号机制,修改插件版本校验机制。 2022-05-27 09:42:15 +08:00
iaom 6009d862ca 解决翻译问题。 2022-05-25 11:18:04 +08:00
baijunjie 7daa82e66f Encapsulate the basic interface of cppjieba and hanzi to pinyin.
Use the perfect forword to optimize the 'isMultiTone' interface.
2022-05-19 14:32:31 +08:00
jixiaoxu 9c81e40c3a 新增应用管理启动接口; 2022-05-10 13:49:54 +08:00
hewenfei 130c46508b 增加文件搜索插件标签搜索功能 2022-04-28 15:49:51 +08:00
PengfeiZhang f76f8c8d14 Merge branch 'ukss-dev-content' into 'ukss-dev'
1.新增内容搜索插件,2.新增搜索错误信号

See merge request kylin-desktop/ukui-search!299
2022-04-28 07:26:53 +00:00
hewenfei 95ccbf787f 根据review意见更改部分代码 2022-04-26 14:33:06 +08:00
hewenfei d5ddceee51 增加搜索错误信号,通知调用者搜索异常的信息 2022-04-26 10:43:02 +08:00
PengfeiZhang 8ada095f21 Merge branch 'ukss-dev' into 'ukss-dev'
去掉不需要的黑名单判断代码

See merge request kylin-desktop/ukui-search!297
2022-04-26 02:29:27 +00:00
hewenfei 55858964aa 删除文件索引搜索不需要的黑名单判断 2022-04-25 13:51:40 +08:00
hewenfei 338a090081 新增文件内容搜索插件 2022-04-25 11:16:25 +08:00
纪笑旭 3fd06b9569 Merge branch 'ukss-dev' into 'ukss-dev'
索引搜索的权重相同的结果项按照修改时间新->旧排列。

See merge request kylin-desktop/ukui-search!293
2022-04-19 01:18:32 +00:00
iaom ffd72cbaba 索引搜索的权重相同的结果项按照修改时间新->旧排列。 2022-04-19 09:16:20 +08:00
jixiaoxu ad86d9b3ad 网页搜索占位图替换,尺寸修改; 2022-04-18 16:59:11 +08:00
jixiaoxu 42f7043f6b 文本内容搜索扩展OCR功能; 2022-04-13 13:46:30 +08:00
iaom 8661d1393b 修改了一处命名。 2022-04-11 17:46:13 +08:00
iaom 1135c48abf 修复索引关闭时取消监听不完全的问题。 2022-04-09 17:32:25 +08:00
PengfeiZhang 539dd6529b Merge branch '0328ukss' into 'ukss-dev'
Story#8966:the '/data' directory can be searched by direct search.

See merge request kylin-desktop/ukui-search!282
2022-04-09 08:35:43 +00:00
baijunjie 5e818464c8 Story#8966:the '/data' directory can be searched by direct search. 2022-04-08 11:15:18 +08:00
iaom b7e8221922 修复了一些小错误. 2022-04-07 15:45:40 +08:00
hewenfei 50bee43617 修改判斷搜索對象的邏輯 2022-03-30 14:46:59 +08:00
hewenfei 8e68962393 1.每个task只发送一次finish信号。2.设置直接搜索时的最大返回结果数量 2022-03-25 14:09:34 +08:00