Commit Graph

95 Commits

Author SHA1 Message Date
eikek
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
eikek
865d4a3172 Disable eviction warnings regarding calev and fs2-cron-calev
The calev-core jar and fs2-cron-calev are compatible, although the
minor was increased in the calev project. This can be removed once
fs2-cron-calev has been released.
2021-08-21 11:18:29 +02:00
Scala Steward
e4fecefaea
Reformat with scalafmt 3.0.0 2021-08-19 08:50:30 +02:00
eikek
f4a2b86ea8 Use a minimum age of items to remove
In order to keep deleted items for a while, the periodic task can now
use a duration to only remove items with a certain age. This can be
used to ensure that a deleted item stays at least X days before it
will be removed from the database.

Refs: #347
2021-08-15 12:32:50 +02:00
eikek
edb344314f Use an enum instead of a boolean to differentiate search
It's not very likely to have more modes of search besides normal and
trashed, but got surprised in that way quite often and it's nicer this
way anyways.
2021-08-14 15:11:48 +02:00
eikek
8545637a8f Adopt elm file headers to match elm-format 2021-07-25 13:59:48 +02:00
mergify[bot]
d83ee84a44
Merge pull request #932 from eikek/javac-settings
Compile the small number of java source files to java 8 target
2021-07-11 15:17:35 +00:00
eikek
b32f66d156 Add sbt header plugin 2021-07-04 10:57:53 +02:00
eikek
ce6f53cc29 Fix next-job query to do round-robin through job groups 2021-06-27 00:04:56 +02:00
eikek
b1c93d214d Update scala library to 2.13.6 2021-06-17 22:53:26 +02:00
eikek
a5a829f3cc Compile the small number of java source files to java 8 target
Since scala also produces class files version 52, the few java files
should also be compiled into this format.
2021-06-16 01:04:35 +02:00
eikek
b1740fb305 Add openapi linting to sbt's lint alias 2021-06-12 21:50:51 +02:00
eikek
1e685a9ea2 Update sbt openapi plugin and use redoc for documentation 2021-06-12 19:04:27 +02:00
eikek
3e7b66fd42 Add workflow for publishing website
Builds an publishes the website on each push to `current-docs` branch.
2021-05-31 14:43:23 +02:00
eikek
c0402b1f92 Migrate old sbt syntax to new one 2021-05-31 14:32:37 +02:00
eikek
626a53384b Merge branch 'current-docs' 2021-05-31 13:59:44 +02:00
eikek
bd093ee97d Use sbt-github-pages plugin
This makes it easier to use within a gitub action.
2021-05-31 13:44:47 +02:00
Eike Kettner
63dc6fe13d Remove compiled scalajs files from final package
Only the js file is necessary, the intermediate sjs files are not
needed at runtime.
2021-05-30 21:54:17 +02:00
Eike Kettner
9c427c3d38 Fix sbt warnings and add more aliases 2021-04-10 17:16:33 +02:00
Eike Kettner
e1bbc2edf5 Apply autoformat 2021-04-10 16:31:58 +02:00
Eike Kettner
274e433d9d Allow to change use enum for org/equipment 2021-03-10 23:55:18 +01:00
Eike Kettner
6a63694a3e Convert unit tests to munit 2021-03-10 19:48:56 +01:00
Eike Kettner
d4006461f6 Serving scalajs artifacts and provide errors to js 2021-03-03 00:45:10 +01:00
Eike Kettner
d737da768e Move to munit in query module 2021-03-01 00:51:01 +01:00
Eike Kettner
9013d9264e Add more convenient date parsers and some basic macros 2021-03-01 00:51:01 +01:00
Eike Kettner
af73b59ec2 Parser improvements
- default expressions into a and node
- fix parsing string lists that end in whitespace
- fix package names of internal classes
2021-03-01 00:51:01 +01:00
Eike Kettner
c3cdec416c Sketching some basic tests 2021-03-01 00:50:52 +01:00
Eike Kettner
be5c7ffb88 First draft of ast and parser 2021-03-01 00:46:57 +01:00
Eike Kettner
74a79a79d9 Initial project setup 2021-03-01 00:46:57 +01:00
Eike Kettner
e6d9ce2c37 Remove obsolete type capabilities
These are now detected by the new scala compiler and lead to compile
errors.
2021-03-01 00:16:30 +01:00
Scala Steward
83c4c5c877
Update scala-library to 2.13.5 2021-02-26 23:07:31 +01:00
Eike Kettner
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49:55 +01:00
Eike Kettner
442b76c5af Setup tailwind with docspell build 2021-02-03 21:35:15 +01:00
Eike Kettner
1e48346361 Update emil to 0.7.1 2021-01-24 20:07:09 +01:00
Eike Kettner
a6f29153c4 Control what tag categories to use for auto-tagging 2021-01-19 01:20:13 +01:00
Eike Kettner
fb05e997ab Provide multiple date suggestions for English
Issue: #561
2021-01-10 09:02:26 +01:00
Eike Kettner
b08e88cd69 Add (inofficial) routes to get system information 2021-01-05 20:54:53 +01:00
Eike Kettner
668abf2140 Add a reset-password admin route 2021-01-04 20:59:31 +01:00
Eike Kettner
6346bf6a34 Add summary for fulltext searches 2020-12-17 00:11:33 +01:00
Eike Kettner
5882405f30 Search index if search object only contains this field 2020-12-05 02:59:57 +01:00
Eike Kettner
0560867b83 Use scalafix' semanticdb version
Which is now correct after the scalafix bump
2020-11-27 23:47:51 +01:00
Eike Kettner
3fabe0a582 Update to Scala 2.13.4 2020-11-27 20:26:24 +01:00
Eike Kettner
248ad04dd0 Prepare custom fields 2020-11-22 21:41:09 +01:00
Eike Kettner
3c4f2c6841 Fix packaging tools
Due to hardcoding files, the new ones were not packaged.
2020-11-13 22:19:21 +01:00
Eike Kettner
55a6f7aaf6 Add more properties to upload meta data 2020-11-11 21:01:23 +01:00
Eike Kettner
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
Eike Kettner
3b8500245f Provide gz version of web assets 2020-09-03 00:22:58 +02:00
Eike Kettner
dbd27057d1 Improve source view and add qrcode for urls
The qr-code for urls is added so that these urls are easy to copy into
a phone. Then buttons for copying them into the clipboard have been
added.
2020-08-03 23:58:41 +02:00
Eike Kettner
0599176ae8 Update scala to 2.13.3 2020-08-01 01:03:43 +02:00
Eike Kettner
9af02cd90b Autoformat build.sbt 2020-07-30 20:33:26 +02:00