Commit Graph

583 Commits

Author SHA1 Message Date
Andreas Zweili d7800ca0f7 add a nginx container as a reverse proxy 2020-02-15 17:58:16 +01:00
Andreas Zweili d0343b7dd8 move the static files to the correct place 2020-02-15 17:58:10 +01:00
Andreas Zweili 63fedf93c2 use gunicorn in the run.sh script and remove production.sh 2020-02-15 15:31:57 +01:00
Andreas Zweili c7d35a6420 extend the README 2020-02-15 15:25:54 +01:00
Andreas Zweili af4932db07 disable debugging mode in the example .env file 2020-02-15 15:25:36 +01:00
Andreas Zweili 01a989eee8 copy the .env file before building the container
travis showed some warnings that the variables weren't defined in the compose
file.
2020-02-15 15:21:39 +01:00
Andreas Zweili 778ad9f08e add support for an .env file 2020-02-15 15:19:11 +01:00
Andreas Zweili abe7c93b18 Revert "mapp the db volume to a local directory"
This reverts commit 008eb834c0.
For development it's currently easier if it's a normal docker volume otherwise
some editors like Visual Studio Code freak out because they can't access the
db_data folder.
2020-02-15 15:08:08 +01:00
Andreas Zweili 3a9b5cfbde add postgres password
otherwise the system won't run
2020-02-15 00:55:45 +01:00
Andreas Zweili 55ba1f0375 Merge branch 'current' 2020-02-15 00:36:34 +01:00
Andreas Zweili 0d14efdd00 update django to version 2.2.10 2020-02-15 00:30:04 +01:00
Andreas Zweili 008eb834c0 mapp the db volume to a local directory 2020-02-15 00:29:49 +01:00
Andreas Zweili 7c26504208 add a new task 2020-02-14 20:34:38 +01:00
Andreas Zweili d1687f8143 move a task to done 2020-02-14 20:34:31 +01:00
Andreas Zweili 441fda2e1f add HardwareModel to the device app
devices like computers etc. usually have a hardware model/type. E.g. Dell
Precision 5530. In order to use the same name consistently we have the option
to select the model name from a drop down.
2020-02-14 20:26:24 +01:00
Andreas Zweili e450ee755f extend the RM with the HardwareModel class 2020-02-14 19:43:01 +01:00
Andreas Zweili 49f1ac1ef5 correct line length 2020-02-08 10:31:26 +01:00
Andreas Zweili 836bcb4b25 fix the preamble 2020-01-14 23:11:32 +01:00
Andreas Zweili 6a8c4a0345 update notes 2020-01-14 23:08:22 +01:00
Andreas Zweili 95d4193cc2 add various links I want to keep track of 2020-01-13 23:09:58 +01:00
Andreas Zweili 3d5d101b25 add readd org-mode notes
since I'm mostly coding in Emacs anyway it makes more sense to have my notes in
org format directly in the repository. While I could've kept the markdown file
from Joplin it's better to use the more flexible org format instead of markdown.
2020-01-13 23:05:50 +01:00
Andreas Zweili fc2a752803 rename query variables 2020-01-12 16:55:16 +01:00
Andreas Zweili 8afd4e13c4 move warranty models to device app 2020-01-12 16:21:12 +01:00
Andreas Zweili 391ffa9ad8 rename inventory app to computers 2020-01-12 14:36:44 +01:00
Andreas Zweili 67fa2792d9 extend the helper functions with the escape function
When the object_to_find string contained a special character which the django
template system escapes then the test filed because the helpers where looking
for the unescaped string. Now they escape the string as well.
2020-01-12 14:23:10 +01:00
Andreas Zweili b57f6dcb3d correct license references 2020-01-12 14:09:53 +01:00
Andreas Zweili cb4699e40a remove ignored files from repository 2020-01-12 14:06:21 +01:00
Andreas Zweili 365f9ffb7a add a cleanall command to the Makefile 2020-01-12 14:00:56 +01:00
Andreas Zweili 2b17424bfa correct OperationSystem fixtures 2020-01-12 13:20:42 +01:00
Andreas Zweili 97b107a9da correct line length 2020-01-12 13:20:26 +01:00
Andreas Zweili 0434796b47 move LicenseWithUserAdmin to licenses admin 2020-01-12 13:19:14 +01:00
Andreas Zweili e72da6813c correct various imports 2020-01-12 13:18:51 +01:00
Andreas Zweili 0084b87216 add licenses app to run.sh 2020-01-12 12:58:27 +01:00
Andreas Zweili faf463e7d9 remove license models from softwares admin 2020-01-12 12:46:49 +01:00
Andreas Zweili 226dad6b2b replace softwares.urls with licenses.urls 2020-01-12 12:46:31 +01:00
Andreas Zweili 1ac8bb806e activate licenses app 2020-01-12 12:46:23 +01:00
Andreas Zweili fd828c29a6 add init import to softwares models 2020-01-12 12:44:20 +01:00
Andreas Zweili 6a771f5b85 correct imports 2020-01-12 12:44:06 +01:00
Andreas Zweili 4f830a2f2f remove software and license imports 2020-01-12 12:42:43 +01:00
Andreas Zweili 7a4dd8f9e3 correct the license import 2020-01-12 12:42:28 +01:00
Andreas Zweili 2bba351074 remove the software and license models from inventory admin 2020-01-12 12:41:23 +01:00
Andreas Zweili c736c918e0 load software fixtures when testing 2020-01-12 12:40:43 +01:00
Andreas Zweili 59706bb8cd remove the OperatingSystem fixtures 2020-01-12 12:38:59 +01:00
Andreas Zweili cedc7e9f15 create a licenses app 2020-01-12 12:30:29 +01:00
Andreas Zweili 9c770a3e2e remove include from imports 2020-01-11 18:35:57 +01:00
Andreas Zweili de2823638a move the inventory tests one folder up 2020-01-11 18:34:39 +01:00
Andreas Zweili 01756627aa move licenses tests to softwares app 2020-01-11 18:34:20 +01:00
Andreas Zweili 37d08b099a activate softwares app 2020-01-11 18:32:39 +01:00
Andreas Zweili 0ebf9a0b8a add softwares app to run.sh 2020-01-11 18:32:03 +01:00
Andreas Zweili 48687dcfb1 move software fixtures to softwares app 2020-01-11 18:31:51 +01:00