Commit Graph

8882 Commits

Author SHA1 Message Date
Oliver
2095d66677 Fix entrypoint / cmd for production server 2021-08-18 16:29:54 +10:00
Oliver
79d7a9f922 fix typo in dockerfile 2021-08-18 15:16:22 +10:00
Oliver
41db0ff60d Need to specify python3 2021-08-18 14:58:16 +10:00
Oliver
db477bceab typo fix 2021-08-18 14:47:34 +10:00
Oliver
d756579a06 Split production environment variables out into a .env file 2021-08-18 13:02:36 +10:00
Oliver
c1ea6dbb9b Remove commented out functionality from the entrypoint command 2021-08-18 12:28:09 +10:00
Oliver
c2af401854 Pin base python package requirements
- Require invoke to be installed before we can run "invoke update"
2021-08-18 12:03:24 +10:00
Oliver
8fea9bc645 Re-add docker file git version info 2021-08-18 11:25:19 +10:00
Oliver
7bfddd6d51 Simplify init scripts
Single script init.sh which performs the following tasks:
- Creates required directory structure
- Activates python venv (if required)
- Waits for database connection
- Runs command
2021-08-18 09:52:27 +10:00
Oliver
3b8ee48581 Fix env defines in dockerfile 2021-08-18 09:34:09 +10:00
Oliver
da834d8bcc Reduce cruft in logs 2021-08-18 00:04:38 +10:00
Oliver
b48db6f8fe Dockerfile fixes 2021-08-17 23:15:05 +10:00
Oliver
187c9b0971 Add server init script
- Taken (mostly) from https://github.com/inventree/InvenTree/pull/1949
2021-08-17 23:10:57 +10:00
Oliver
8b66babd49 Refactor dockerfile
- Ref: https://github.com/inventree/InvenTree/pull/1949
- Squash all apk commands into single line
- Drop to inventree user rather than running as root
- Separate entrypoint and cmd for each target
- Set the INVENTREE_PY_ENV variable in development mode
2021-08-17 22:58:44 +10:00
Oliver
b371a65897 Fix: New translations django.po from Crowdin 2021-08-17 21:24:40 +10:00
Oliver
03cdbb2eb0 Fix: New translations django.po from Crowdin 2021-08-17 21:24:38 +10:00
Oliver
6198474147 Fix: New translations django.po from Crowdin 2021-08-17 21:24:37 +10:00
Oliver
e1b46daf16 Fix: New translations django.po from Crowdin 2021-08-17 21:24:35 +10:00
Oliver
181d1f3b9f Fix: New translations django.po from Crowdin 2021-08-17 21:24:34 +10:00
Oliver
9c016c4aa7 Fix: New translations django.po from Crowdin 2021-08-17 21:24:32 +10:00
Oliver
c52b9b66f7 Fix: New translations django.po from Crowdin 2021-08-17 21:24:31 +10:00
Oliver
9f80d82efe Fix: New translations django.po from Crowdin 2021-08-17 21:24:30 +10:00
Oliver
18e25ef9bd Fix: New translations django.po from Crowdin 2021-08-17 21:24:28 +10:00
Oliver
029bbf4196 Fix: New translations django.po from Crowdin 2021-08-17 21:24:27 +10:00
Oliver
4febba7cf0 Fix: New translations django.po from Crowdin 2021-08-17 21:24:24 +10:00
Oliver
8880d561f5 Fix: New translations django.po from Crowdin 2021-08-17 21:24:23 +10:00
Oliver
c7ff94a51c Fix: New translations django.po from Crowdin 2021-08-17 21:24:22 +10:00
Oliver
870becb99c Fix: New translations django.po from Crowdin 2021-08-17 21:24:20 +10:00
Oliver
3171badac1 Fix: New translations django.po from Crowdin 2021-08-17 21:24:19 +10:00
Oliver
83d2bcc29e Fix: New translations django.po from Crowdin 2021-08-17 21:24:17 +10:00
Oliver
3079a1b165 Fix: New translations django.po from Crowdin 2021-08-17 21:24:16 +10:00
Oliver
c187816906 Fix: New translations django.po from Crowdin 2021-08-17 21:24:15 +10:00
github-actions[bot]
ddc97a6dc9 updated translation base 2021-08-17 11:19:28 +00:00
Oliver
b6e97f06dd
Merge pull request #1968 from SchrodingersGat/docker-internal-vars
Cleanup docker vars for dev setup
2021-08-17 21:18:09 +10:00
Oliver
0294a1c323 Fix for staticfile collection
- Was generating a *lot* of warning messages
- Ref: https://github.com/django-compressor/django-compressor/issues/720
2021-08-17 21:02:45 +10:00
Oliver
895f9f3ce0 Pull debug level out into the .env file 2021-08-17 20:45:57 +10:00
Oliver
d5d89c67b1 Error out if the static or media directories are not properly defined 2021-08-17 20:42:19 +10:00
Oliver
a474000361 Fix critical error in dockerfile
- Don't' be putting no spaces in!
2021-08-17 20:29:48 +10:00
Oliver
7bf3229595 Add comment to docker-compose file 2021-08-17 20:00:54 +10:00
Oliver
07857c3088 Simplify dev-config.env file
- Don't need to re-specify the internal docker variables
- Add comments
2021-08-17 19:59:32 +10:00
Oliver
206743b58d Add a default value for INVENTREE_WEB_ADDR 2021-08-17 19:58:55 +10:00
github-actions[bot]
08dcff4b18 updated translation base 2021-08-17 09:54:21 +00:00
Oliver
a5808d4360
Merge pull request #1967 from SchrodingersGat/always-translate
Run translation step as part of "update"
2021-08-17 19:52:58 +10:00
Oliver
92aace1278 Run translation step as part of "update" 2021-08-17 18:22:07 +10:00
Oliver
49f528385b
New Crowdin updates (#1965)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2021-08-17 15:51:22 +10:00
github-actions[bot]
4b54530856 updated translation base 2021-08-17 02:43:57 +00:00
Guusggg
d8eefec065
Print multi part label (#1963)
* Added description as list for StockLocation

* Merge pull request #1874 from SchrodingersGat/docker-dev-fix

Copy static files when starting dev server

(cherry picked from commit 50eb70f538)

* Merge pull request #1877 from eeintech/fix_search_js

Fixed missing comma propagating to translated JS files

(cherry picked from commit 2009773d9d)

* Merge pull request #1890 from matmair/fix-for-1888

catch connection errors in exchange update

(cherry picked from commit db57e9516b)

* Merge pull request #1887 from matmair/settings-safety

settings fixes

(cherry picked from commit d154ca08ea)

* 0.4.2

* Merge pull request #1894 from SchrodingersGat/non-int-serial-fix

Fix for non-integer serial numbers

(cherry picked from commit 529742b520)

* 0.4.4

Bump release version

* Bump version number -> 0.4.5

* Added a simple menu item to print multiple part labels. This does not follow the style of the Stock label functions but it works!

* Revert "Added description as list for StockLocation"

This reverts commit f5178e9fc3.

* Added the right version number

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2021-08-17 12:42:40 +10:00
github-actions[bot]
d2eefe6a01 updated translation base 2021-08-17 00:01:03 +00:00
Oliver
d6c9ff41ff
Merge pull request #1964 from eeintech/import_part_nav
Added navbar on part import page
2021-08-17 09:59:35 +10:00
eeintech
99839e78fd Added navbar on part import page 2021-08-16 10:21:57 -04:00