Update the file caching app

- Add view to list available caches.
- Add links to view and purge caches.
- Add permissions.
- Add events.
- Add purge task.
- Remove document image clear link and view.
  This is now handled by the file caching app.

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-07-25 02:22:57 -04:00
parent 9315776926
commit 88bc29e4d7
19 changed files with 309 additions and 56 deletions

View File

@@ -0,0 +1,11 @@
from __future__ import absolute_import, unicode_literals
from mayan.apps.appearance.classes import Icon
icon_file_caching = Icon(
driver_name='fontawesome', symbol='warehouse'
)
icon_cache_purge = Icon(
driver_name='fontawesome-dual', primary_symbol='warehouse',
secondary_symbol='check'
)