67 Commits

Author SHA1 Message Date
Jonas Winkler
157d440415 removed unused settings, migrations now match originals 2020-11-02 20:16:10 +01:00
Jonas Winkler
b7521dad0f fix the migration history and provide a script to update existing paperless instances to the new version 2020-11-02 17:55:36 +01:00
Jonas Winkler
c497ff4a5d logging: don't group by logging_group 2020-11-02 01:24:56 +01:00
Jonas Winkler
9198989e30 removed content index 2020-10-29 14:32:39 +01:00
Jonas Winkler
1ef46cff38 missing migrations 2020-10-29 00:54:42 +01:00
Jonas Winkler
dd16b7262e unified document matching, legacy and automatching work alongside now 2020-10-28 11:45:11 +01:00
Jonas Winkler
93d963ed4e added
- document index
- api access for thumbnails/downloads
- more api filters

updated
- pipfile

removed
- filename handling
- legacy thumb/download access
- obsolete admin gui settings (per page items, FY, inline view)
2020-10-25 23:03:02 +01:00
Jonas Winkler
b71049ad16 Merge branch 'master' into dev 2020-10-16 15:02:57 +02:00
Wolf-Bastian Poettner
d1a54d6576 Allows to configure directory and filename formats for documents stored in paperless
Default configuration is as before (incrementing numbers), but additional fields can be added at will
2019-12-27 14:25:38 +00:00
Jonas Winkler
1adff04d83 Fixed migration order 2018-12-12 13:13:21 +01:00
Jonas Winkler
66aee28008 Fixed migration order 2018-12-12 13:11:30 +01:00
Jonas Winkler
f711b146e1 Merge branch 'master' into dev 2018-12-11 12:38:15 +01:00
Jonas Winkler
8f0d53c54a Merge remote-tracking branch 'upstream/master' 2018-12-11 12:06:15 +01:00
jonaswinkler
4879e749a7 Update 0022_auto_20181007_1420.py
copy paste error.
2018-12-10 18:38:19 +01:00
Daniel Quinn
081f1022cf Rework how slugs are generated/referenced #393 2018-10-07 16:25:51 +01:00
Jonas Winkler
f7a37b8530 Removed the archive tag, as it wasnt really used anyway. 2018-09-25 21:51:38 +02:00
Jonas Winkler
0f2a79ea61 Merge remote-tracking branch 'upstream/master' 2018-09-25 14:47:12 +02:00
Daniel Quinn
076ccb3417 Move the unique key on checksums to migration 15
This shouldn't affect anyone, since this migration is pretty old, but it
allows people using PostgreSQL to actually run Paperless.
2018-09-23 14:00:27 +01:00
Jonas Winkler
1c8576cfb9 mode change 2018-09-06 12:00:01 +02:00
Jonas Winkler
d725f20505 Merge branch 'dev' into machine-learning 2018-09-06 00:29:41 +02:00
Jonas Winkler
069249cc0a Merge branch 'master' into dev 2018-09-06 00:28:58 +02:00
Jonas Winkler
9d4155a907 removed matching model fields, automatic classifier reloading, added autmatic_classification field to matching model 2018-09-04 18:40:26 +02:00
Jonas Winkler
5a63125e04 Merge remote-tracking branch 'upstream/master' 2018-09-04 16:02:48 +02:00
Daniel Quinn
af6028fc4e pep8 2018-09-02 21:26:20 +01:00
dadosch
93fca957fd remove atomic=False where it is obviously not needed) 2018-08-29 00:37:07 +02:00
dadosch
7fb3204b3b apply some patches from @brookst 2018-08-29 00:04:48 +02:00
Jonas Winkler
11b4e56790 Added document type 2018-08-24 13:45:15 +02:00
Jonas Winkler
c2ca7ccc0b updated migrations 2018-07-12 11:54:03 +02:00
Jonas Winkler
c03cfb176c inbox tags, archive tags, archive serial number for documents 2018-07-06 13:25:02 +02:00
Jonas Winkler
78f0991fb5 Updated to Django 2 2018-07-04 17:03:59 +02:00
Daniel Quinn
3aabaab555 Merge the storage_type migrations 2018-06-17 20:23:54 +01:00
Daniel Quinn
0b32e3d861 Fix migrations 2018-06-17 16:47:38 +01:00
Daniel Quinn
e7fefc40fe Merge branch 'master' into mcronce-disable_encryption 2018-06-17 16:32:51 +01:00
Erik Arvstedt
33e3277d2a Add field 'added' to documents
This field indicates when the document was added to the database
2018-05-31 10:17:03 +02:00
Daniel Quinn
c18901df5a Change default storage_type to unencrypted 2018-05-28 12:58:28 +01:00
Daniel Quinn
f5a198d96e Fix migration conflict 2018-05-28 12:58:28 +01:00
Daniel Quinn
e3eb95eb47 Attach storage_type to Documents 2018-05-28 12:58:28 +01:00
CkuT
0c28a5329c Fix LogEntry user when PAPERLESS_DISABLE_LOGIN is set to true 2018-04-17 21:03:18 +02:00
Daniel Quinn
3570896620 Add another db_index hack for MySQL 2018-02-20 11:17:11 +00:00
Christoph Roeder
182637f6f6 create documents subfolder folder if they do not exist 2017-07-31 21:35:41 +02:00
Daniel Quinn
fb4407fe65 Allow correspondents to be deleted without deleting their documents
Fixes #235
2017-07-15 19:13:10 +01:00
Daniel Quinn
700b7fe257 add: migration for fuzzy matching 2017-05-11 22:09:30 -07:00
Daniel Quinn
377a29871c feat: migration for changes in 0.3.6 2017-03-25 16:01:59 +00:00
Daniel Quinn
7b77450d80 Django migrations doesn't account for PostgreSQL completely
This was a weird bug to run into.  Basically I changed a CharField into
a ForeignKey field and ran `makemigrations` to get the job done.
However, rather than doing a `RemoveField` and an `AddField`, migrations
created a single `AlterField` which worked just fine in SQLite, but blew
up in PostgreSQL with:

    psycopg2.ProgrammingError: operator class "varchar_pattern_ops" does
    not accept data type integer

The fix was to rewrite the single migration into the two separate steps.
2017-02-18 17:55:52 +00:00
Daniel Quinn
5c133ecb36 Allow for MariaDB/MySQL
MariaDB/MySQL doesn't handle indexes on TextFields well and for some
reason, Django's migrations opts to blow up rather than handle this in a
more user-friendly way.  The fix here isn't ideal, but should be
sufficient should anyone try to use Paperless with MySQL.
2017-02-18 17:53:43 +00:00
Cku
2c8e266181 Allow to create case sensitive matches 2016-10-14 19:35:06 +02:00
Daniel Quinn
2853545b9d Added a checksum property and a couple indexes 2016-04-03 16:34:09 +01:00
Daniel Quinn
b92e007e15 Removed log components and introduced signals for tags & correspondents 2016-03-28 11:11:15 +01:00
Daniel Quinn
6ca389c28a #76 2016-03-07 10:12:55 +00:00
Daniel Quinn
bfad4560e1 Fixed the check for empty installations 2016-03-05 12:43:05 +00:00