72 Commits

Author SHA1 Message Date
Liane Hampe
d59fe0d0ce Fixes rubocop complaint about too long line 2024-04-02 15:58:43 +02:00
Liane Hampe
0e499ebb26 Support option -d to set xapian index database via CLI
For running xapian indexer it is necessary to configure it to use the same database for indexing as defined in the user interface on plugin settings.

In order to make the configuration of xapian indexer some kind of persistence the command line options in `redmine_dmsf/extra/xapian_indexer.rb` could be extended by providing a further option for the index database path:

```shell
ruby redmine_dmsf/extra/xapian_indexer.rb -d <path/to/my/custom/index/database>
```

With this additional option it is possible to move the index database outside of redmine root to keep it even after running updates. Furthermore, custom configuration in `redmine_dmsf/extra/xapian_indexer.rb` won't be overridden when updating this plugin.
2024-03-31 09:29:02 +02:00
Karel Pičman
04645bc36d Get rid of changing years in file headers 2024-01-05 14:04:46 +01:00
Karel Pičman
c6c505ec8c Xapian indexer v3 2024-01-05 13:09:04 +01:00
Karel Pičman
00896902af Omitting default arguments 2023-11-30 15:16:06 +01:00
Karel Pičman
ff29ca0cf8 #1132 REST API 2023-09-11 12:24:35 +02:00
Karel Pičman
de3d262965 #1132 Unit tests 2023-09-07 15:50:56 +02:00
Karel Pičman
32c9435430 gem xapian-ruby 2023-05-30 12:04:49 +02:00
Karel Pičman
2dbedfa649 Rubocop: Layout/EmptyLineAfterMagicComment 2023-05-30 11:54:16 +02:00
Karel Pičman
6606be9b76 Rubocop tests 2023-05-12 15:59:01 +02:00
Hunt Redmine
711ffc5954 To support OCR feature. 2023-04-08 16:32:04 +08:00
Karel Pičman
4cc7ceb6aa Rubocop test 2023-03-28 09:27:05 +02:00
Karel Pičman
9b1f61fc9e Easy Document link macro creation #239 2023-01-11 14:20:44 +01:00
Karel Pičman
32c9ba1a4f 2022 -> 2023 2023-01-04 14:23:13 +01:00
Karel.Picman
e9a8375911 Add document revision.patch_version #1151 2022-03-21 15:17:02 +01:00
Karel.Picman
dbd6a4238d 2021 -> 2022 2022-01-11 13:32:13 +01:00
Karel.Picman
463fe14be6 REST API for documents movement #1301 2021-10-22 13:29:03 +02:00
karel.picman@lbcfree.net
744c0f6e36 Rest API: link file to an issue #1283 2021-09-02 16:05:09 +02:00
karel.picman@lbcfree.net
93c880647d Rest API: link file to an issue #1283 2021-09-02 08:52:22 +02:00
karel.picman@lbcfree.net
7c45b8a752 Update custom fields of a file with REST API #1245 2021-06-11 10:38:54 +02:00
karel.picman@lbcfree.net
cc454515dc Proper exception handling 2021-05-10 12:35:10 +02:00
karel.picman@lbcfree.net
7ea2183757 API doesn't respond like described in the docs #1231 2021-04-07 14:30:35 +02:00
karel.picman@lbcfree.net
7a1548868e 2020 -> 2021 2021-02-03 11:59:02 +01:00
karel.picman@lbcfree.net
a334dd7a9e #1150 Uploading big files 2020-07-16 13:48:33 +02:00
Karel Pičman
29b33edad4 CCS revision 2020-03-19 14:08:29 +01:00
Karel Pičman
bea9ce62aa Coding style 2020-03-04 15:18:24 +01:00
Karel Pičman
ddfd2f3a92 2019 -> 2020 2020-01-03 09:09:54 +01:00
Karel Pičman
3a892ecfd4 Redmine 4.1 compatibility 2020-01-03 08:12:41 +01:00
Karel Pičman
87c555b1d0 Copyright 2018 -> 2019 2019-01-04 12:42:50 +01:00
Karel Pičman
a573e398d7 #887 REST API 'Get document' : 'title' property is missing in response 2018-12-04 11:02:19 +01:00
Karel Pičman
dd3ff7cde9 https://github.com/rubocop-hq/rails-style-guide 2018-11-07 15:43:13 +01:00
Karel Pičman
b683351a15 Redmine's root option pre-filled in automatically 2018-06-14 14:14:03 +02:00
Karel Pičman
854931b997 Code clean up 2018-06-14 12:54:51 +02:00
Karel Pičman
dae39dfe27 Xapian not indexing repository if project configuration is blank #857 2018-05-29 13:56:37 +02:00
Karel Pičman
f81f10ad85 Xapian not indexing repository if project configuration is blank #857 2018-05-29 13:47:53 +02:00
Karel Pičman
3791875c08 REST API and pagination on collection resources #850 2018-05-11 10:35:45 +02:00
Karel Picman
f3dda76879 Create symbolic link using REST API #852 2018-04-27 10:26:43 +02:00
Karel Picman
49875a863d REST API and delete Folder/document #847 2018-04-27 09:04:02 +02:00
Karel Picman
2a3ce756c1 #827 unit tests 2018-02-14 12:45:16 +01:00
Karel Picman
82f8673e7b 2017->2018 2018-01-16 10:15:20 +01:00
Karel Picman
f5ae82ac6f 2017->2018 2018-01-16 09:38:24 +01:00
Karel Picman
150b28f724 pdf and Word(.doc) files are not seachable in repositories 2018-01-02 16:48:46 +01:00
Karel Picman
a1ddf4e45f add '--retry-failed' to omindex in xapian_indexer.rb 2017-11-03 13:45:03 +01:00
Karel Picman
c9e465d057 v1.6.0 released 2017-09-12 12:52:58 +02:00
pavel
dc1eba3d86 delete_all with args is deprecated 2017-09-08 15:03:34 +02:00
Karel Picman
23bc159db7 Upgrade to 1.6.0 2017-08-29 12:41:03 +02:00
Karel Picman
162b35c651 Enhacement: Xapian parse eml and msg files in same way as word, excel... #717 2017-05-02 14:52:52 +02:00
Karel Picman
9344feb038 Enhacement: Xapian parse eml and msg files in same way as word, excel... #717 2017-05-02 14:35:51 +02:00
Karel Picman
0e72eb76f0 Enhacement: Xapian parse eml and msg files in same way as word, excel... #717 2017-05-02 13:36:47 +02:00
Karel Picman
efc9368b60 REST API Unit tests 2017-02-09 09:33:38 +01:00