Commit Graph

1230 Commits

Author SHA1 Message Date
5735a47199 Replace changed item cards 2020-10-25 23:08:40 +01:00
458fa7edd9 Allow to search in a defined item subset 2020-10-25 22:19:55 +01:00
5f2f20c8d7 Extend http api for multi-edit 2020-10-25 22:19:55 +01:00
55cfc4c908 Allow to select multiple items for deletion and edit 2020-10-25 22:19:55 +01:00
c2d8f2b438 Merge pull request #381 from eikek/fix-search-scroll
Fix search scroll
2020-10-22 22:45:54 +00:00
b2b5ddef97 Merge pull request #377 from totti4ever/pr-paperless_import
paperless-importer (v0.3 beta) - added SKIP_EXISTING_DOCS variable and improved error handling
2020-10-22 23:38:39 +02:00
6ea9193b5e Only scroll to the last visited item when initializing the page
When searching again on that page, scrolling/highlighting should not
happen. It now happens whenever coming to this page (not only when
going back from detail view).

Fixes: #373
2020-10-22 23:33:57 +02:00
3e752487e4 Remove unused argument 2020-10-22 23:33:46 +02:00
f08fcce4c7 Fixed typo at error detail spooling 2020-10-22 23:05:44 +02:00
9fa93a3ba1 Create README.md 2020-10-22 20:36:00 +02:00
8aaffb0455 added SKIP_EXISTING_DOCS variable and improved error handling
* errors, specially during long initial runs are caught better now and should continue, if possible
* set `SKIP_EXISTING_DOCS` to `true` (default) to skip existing documents (if set to false, they won't be uploaded again, but tags, correspondent, date and title will be overwritten)
* for testing purposes you can set the variables `LIMIT` and `LIMIT_DOC` to limit the tags and correspondents respetively the documents and document-tag-relations
2020-10-22 19:58:32 +02:00
e69e05fd19 Merge pull request #374 from eikek/fix-ui-settings
Use previously updated ui settings
2020-10-21 22:25:28 +00:00
fc5f7c7dca Use previously updated ui settings
Fixes: #368
2020-10-22 00:08:03 +02:00
1fdbf8b469 Merge pull request #372 from eikek/fix-duplicate-equipments
Add unique constraint for equipment names
2020-10-21 21:13:19 +00:00
3e2d272746 Add unique constraint for equipment names
Fixes #370
2020-10-21 22:42:19 +02:00
94959760dd Merge branch 'current-docs' 2020-10-21 21:39:28 +02:00
51a348ce3f Add a faq section to the docs
Closes #337
2020-10-21 21:36:40 +02:00
c5ec9e199c Merge pull request #366 from totti4ever/pr-paperless_import
paperless import (v0.2 beta): also transferring title and creation date
2020-10-21 14:02:05 +02:00
b1dea4ea3b version bump 2020-10-21 13:09:27 +02:00
020b6bdb4e Merge branch 'master' of github.com:eikek/docspell into pr-paperless_import 2020-10-21 13:06:04 +02:00
5d12840568 added transfer of title and creation date (#358) 2020-10-21 13:04:58 +02:00
cad5991507 Merge pull request #362 from eikek/fix-ner-regexes
Fix regex patterns used for NER
2020-10-20 23:08:27 +00:00
3c0b86cb19 Fix regex patterns used for NER
Patterns are split on whitespace by the nlp library and then compiled,
so each "word" must be a valid regex.

Fixes: #356
2020-10-21 00:55:14 +02:00
0c873f732b Merge pull request #360 from totti4ever/pr-paperless_import
import-paperless: fixed problems with session timeout
2020-10-21 00:13:09 +02:00
da2005e4dd Merge branch 'master' of github.com:eikek/docspell into pr-paperless_import 2020-10-20 23:05:09 +02:00
820c363f96 fixed problems with session timeout
- moved auth header to curl_call to fix the infinite loop when re-login was neccessary
- also restructured tiny bits
2020-10-20 23:03:54 +02:00
4826a4220e Merge pull request #359 from totti4ever/pr-paperless_import
paperless importer (#358)
2020-10-20 22:46:56 +02:00
ecc7ff1ff4 change /bin/bash to env variant
see https://github.com/eikek/docspell/pull/359#pullrequestreview-513105961
2020-10-20 22:35:56 +02:00
684470da75 removed LIMIT, which is meant for testing purposes. Uncomment it to use 2020-10-20 22:20:00 +02:00
d58a91e6df first beta of paperless importer (#358)
allows to import files, tags and correspondents (as organization)
2020-10-20 22:06:08 +02:00
bbded00586 Update changelog with changes to docker setup 2020-10-20 20:53:32 +02:00
817103e2d1 Update changelog with changes to docker setup 2020-10-20 20:52:43 +02:00
c932557049 Merge pull request #354 from scala-steward/update/organize-imports-0.4.3
Update organize-imports to 0.4.3
2020-10-20 11:16:27 +00:00
e91d1d98e5 Update organize-imports to 0.4.3 2020-10-20 13:07:50 +02:00
dc78de7f3d Merge pull request #353 from eikek/fix-deb-packages
debian packages: use same system user
2020-10-19 23:35:25 +00:00
316449bfd8 Merge pull request #352 from scala-steward/update/sbt-1.4.1
Update sbt to 1.4.1
2020-10-19 23:14:03 +00:00
3a26620b2b debian packages: use same system user
Default database is H2 which requires that both processes can access
the file.
2020-10-20 01:07:23 +02:00
3669a057a5 Update sbt to 1.4.1 2020-10-20 00:59:23 +02:00
6639a39375 Set version to 0.14.0-SNAPSHOT 2020-10-19 15:07:01 +02:00
d25448d8d9 Update nix setup 2020-10-19 14:55:49 +02:00
7a9daa9f4b Set version to 0.13.0 2020-10-19 14:16:16 +02:00
9cdf6ccb85 Update changelog 2020-10-19 14:15:29 +02:00
bcb42920e1 Proper docker files (build from code) - 2.1 (#311)
* new file: base.dockerfile
base docker file for compiling sources

deleted: build-images.sh
replaced by dev-build-images.sh

deleted: build-joex-base.sh
replaced by base / joex dockerfile

changed: consumedir.dockerfile
based on compiled tool-binaries from base image
added health check (basic, check for REST server connection)

new file: dev-build-images.sh
added one build script for all purposes
derives tag from version-file (all snapshot become latest)

new file: dev-push-images.sh
added one push script for all purposes (similar to build)

changed: docker-compose.yml
	* changed regarding entrypoints and commands now being in the images
	* added health checks for 3rd party images (postgres and solr)
	* some minor renaming of the areas

renamed: entrypoint-joex.sh -> joex-entrypoint.sh
	* for better order

renamed: joex-base.dockerfile -> joex.dockerfile
	* also reworked to base on main base image
	* plus renamed for better order

deleted: push-images.sh
	* replaced by dev-push-images.sh

deleted: push-joex-base.sh
	* not necessary anymore

changed: restserver.dockerfile
	* reworked to be base on main base image
	* smaller
	* added health check

* updated docker-compose to new images

* update docker-compose.yml

remove unnecessary network entries

* update docker-compose.yml

added missing volume for postgres

* reverted image naming scheme and added log to docker build

1. go back to local code instead of cloning git
2. added build log to docker image build script, incl. log build times.
Logs can be found in `docker/dev-log` folder
3. added docker docs and new docker build logs folder to .gitignore
4. added

* build docker images from local files instead of cloned remote repo, plus time recording of builds
 - switched way docker images are built from remote git repo to local files (which should be the git repo, but may have local changes)
 - the docker build logs will show the time needed for the single image builds

* reverted deletion of joex base dockerfile

* joex base dockerfile plus smaller improvements
  - separate joex base file
  - added docker hook to improve Docker Hub experience

* updated docker hub build hook

corrected wrong path (base is build context)

* Fix of docker hub build hook again

base path seems to be the dockerfile's folder

* fixed typo in .dockerignore

* added ability to spool log to console instead of file, especially for automated docker builds

* improved logging of build script

* minor tweaks from review (.dockerignore, docker hub hook and an error when using other repos)

* added push of non-base images to automated docker hook

* fixes for docker hub build hook

* fixed/improved docker build hook

* replaced tag-version of untagged versions with SNAPSHOT (was LATEST, which should be used or stable tags only)
plus, made the version tag mandatory for the dockerfiles

* adapted docker build and push scripts for tagged images (using docker automated builds)

* fixed docker build hook
stupid copy & paste mistake...

* minor mistake in build hook

* added validation of matching version numbers for docker automated builds (for non-snapshot builds)

* fixed missing fi in new validity check

* fixed docker build hook validity check

* mixed up version comparison fixed

* relative path error in hook validation

* mixed up version comparison fixed

* test

* fixed error in version matching for docker hook

* test

* improved versioning, so that docker images are v0.00.00

* revert version.sbt

got overwritten by accidence

* reverted version.sbt

* improved environment parameters, especially enabled setting DB params by them

	- additionally added .env file to have the same env variables for all containers

* cleaned up docker-compose.yml to fit public origin repo again

* optimized way db params are set

figured out, we do not need the DB-String to be built at startup, docspell.conf reads also multiple variables.
I still kept the restserver entrypoint, although we do not need it now - it might be helpful in the future or for debugging pruposes

* added restart option  to restart docspell, e.g. after a system reboot - but only if it was running before
2020-10-19 13:56:44 +02:00
b323edc1f7 Merge pull request #344 from eikek/fix-upload-spec
Fix route in openapi spec for uploading
2020-10-19 11:55:08 +00:00
e68ee67aec Fix route in openapi spec for uploading 2020-10-19 13:45:14 +02:00
b56a94f9eb Merge pull request #342 from eikek/fix-save-existing-tag
Fix save existing tag
2020-10-18 22:46:20 +00:00
d66ae4fdc2 Display error message properly on modal edit 2020-10-19 00:30:55 +02:00
3771587e55 Find duplicate tags without category 2020-10-19 00:30:41 +02:00
6a3386ce66 Fix sql comparison with optional values 2020-10-19 00:29:41 +02:00
abb903c5ea Merge pull request #340 from eikek/fix-search-api-spec
Fix openapi spec for rest-server
2020-10-18 22:09:50 +00:00