Wykres commitów

11 Commity (05ea8cf1d7126e0c51362b61d94f8332cbe07b78)

Autor SHA1 Wiadomość Data
RetroAND 05ea8cf1d7 Added translations to Catalan and Spanish. Po files need to be compiled. 2021-11-24 10:53:58 +01:00
JensDiemer 308b68e97f Fix #75 protect overwriting a new version with a older one
Protect Item, Location and Memo model overwriting a new version with a older one.

Add a auto increment "version" number field to these models and check this on every save call...

Fix: https://github.com/jedie/PyInventory/issues/75

Use new VersionProtectBaseModel from django-tools:
https://github.com/jedie/django-tools/tree/master/django_tools/model_version_protect
2021-11-22 19:33:15 +01:00
JensDiemer 9473cb88c2 NEW: Memo model/admin: Store Information independent of items/locations
closed #65

* Implement "Memo" model
* Add "Memo" to admin
* Merge some code
* Add/expand tests
2021-10-09 20:10:24 +02:00
JensDiemer 5e5bf62bf0 Fix CKEditor
v0.10.1 toolbar looks like this:

![grafik](https://user-images.githubusercontent.com/71315/136667803-954d66d1-db62-4ee9-84c3-38f692718958.png)

Toolbar with this PR:

![grafik](https://user-images.githubusercontent.com/71315/136667814-0434b53f-2a98-4d66-8ceb-71d06eda3417.png)

Useless icons was removed. (Note: PDF generation doesn't work)
Add "Source code" icon (Can help to fix bugs) and add the "About" icon.
2021-10-09 19:09:15 +02:00
JensDiemer c7bd15ef7d Update to Django 3.1.x
We can't update to last Django version, because of
https://github.com/radiac/django-tagulous/issues/144
2021-10-09 16:11:02 +02:00
JensDiemer 0034d8ac37 Bugfix wrong translations 2021-09-15 19:28:18 +02:00
JensDiemer 49f427849b Use "serve_media_app" to serve users uploads
see: https://github.com/jedie/django-tools/tree/master/django_tools/serve_media_app
2020-12-06 19:17:23 +01:00
JensDiemer 0d764b9765 Update deployment setup:
* bugfix paths in django settings (local dev.server <-> docker container)
* bugfix pip cache
* rename docker working dir to /django/
* rename django settings to "docker_settings.py"
* Don't serve "/media/" by caddy
* Move static files in "./volumes/django/static/"
* new: "make shell_docker-dev-server"
2020-11-14 20:21:08 +01:00
JensDiemer 865518a689 Bugfix building the template dirs path 2020-11-14 11:47:44 +01:00
JensDiemer 83ba4da9a9 WIP: Fix project layout 2020-11-13 21:52:19 +01:00
JensDiemer 1a286a509f move stuff into /src/ 2020-11-13 20:39:46 +01:00