Dariusz Niemczyk
8210381027
Fix docker port to 8000
2023-07-14 16:29:39 +02:00
Dariusz Niemczyk
b09016ea3b
Add .env to .gitignore
2023-07-14 16:28:07 +02:00
Dariusz Niemczyk
af85d191ad
Force authentication for API usage
2023-07-13 22:37:53 +02:00
Dariusz Niemczyk
a20e14a8d3
Add LOGIN_URL to redirect properly
2023-07-13 21:01:41 +02:00
Dariusz Niemczyk
b6ce1516d2
Migrate deprecated field in settings
2023-07-13 21:01:17 +02:00
Dariusz Niemczyk
a8f7530263
Force authorization for all routes
2023-07-13 21:01:00 +02:00
Dariusz Niemczyk
b74c1b3c8f
Add inventory.hackerspace.pl to ALLOWED_HOSTS
2023-07-11 23:36:35 +02:00
Dariusz Niemczyk
bfe9d27d71
Make dockerable for hscloud
2023-07-11 23:29:54 +02:00
Dariusz Niemczyk
ad73094b67
Fix import for oauth
2023-07-11 23:29:39 +02:00
Dariusz Niemczyk
a0c6d87adb
Add missing migration (django unhappy)
2023-07-11 23:29:28 +02:00
Dariusz Niemczyk
5ed4128151
Add terrible dark mode for inventory
2023-07-11 18:34:18 +02:00
Dariusz Niemczyk
d473901f8c
Minify bootstrap.css
2023-07-11 18:34:01 +02:00
Dariusz Niemczyk
878f246b08
Admin dark-mode properly done
2023-07-11 18:12:12 +02:00
Dariusz Niemczyk
af1be4aca7
Add __pycache__ to gitignore
2023-07-11 17:54:36 +02:00
Dariusz Niemczyk
72e668622d
Remove unnecessary create_extension
2023-07-11 17:53:17 +02:00
Dariusz Niemczyk
150c405468
Fix settings
2023-07-11 17:52:38 +02:00
Dariusz Niemczyk
efcd932481
re-implement get_roots in view
2023-07-11 17:52:38 +02:00
Dariusz Niemczyk
837734a655
Fix admin not searching properly and make it great
2023-07-11 17:52:38 +02:00
Dariusz Niemczyk
45ad9bf88c
Migrate old django to the newest version
...
Django 1.x is no longer supported, and the app needed migration to 4.x
A lot of libraries has been unsupported or removed, so there's a few
of unrelated changes, but necessary for the migration process to work.
2023-07-11 17:52:38 +02:00
Dariusz Niemczyk
659f04ce9c
Blackify the code (autoformat)
2023-07-11 15:34:35 +02:00
Dariusz Niemczyk
3fdf788168
Add .venv and .vscode to gitignore
2023-07-11 15:34:26 +02:00
Piotr Dobrowolski
3b5439ef74
auth: fix broken deletion permission on non-superusers
2020-05-28 21:53:58 +02:00
radex
3de626d5c5
labels via api + remove redundant nav item
2020-05-28 21:23:51 +02:00
radex
1f5a053a19
Less confusing "Print labels" button + explanation
2020-05-28 21:23:51 +02:00
radex
5160052dfd
You can now print Items, w/o explicitly defining Labels
2020-05-28 21:23:51 +02:00
radex
2e0c031fab
/items/:id now fetches via short_id or label.id (now considered legacy)
2020-05-28 21:23:51 +02:00
radex
a82668ca01
improve /api/1/items/:item_id
2020-05-28 21:23:51 +02:00
radex
0c883bed2f
simplify item info
2020-05-28 21:23:51 +02:00
radex
7ac99dd44b
introduce item.short_id + lookup by short id
2020-05-28 21:23:51 +02:00
radex
d313274615
better index
2020-05-28 21:23:51 +02:00
Piotr Dobrowolski
1587f26181
attempt at fixing missing label editor
2020-05-14 23:16:53 +02:00
Piotr Dobrowolski
4c4d889aac
add build_static to ignorefiles
2020-05-12 21:14:18 +02:00
Piotr Dobrowolski
83e2afcf06
Check in some random production changes
2020-05-12 20:58:10 +02:00
Piotr Dobrowolski
5e598d80b4
Pin container versions, simplify initial setup
2020-05-12 20:56:44 +02:00
radex
af9ed46861
fix print button
2020-05-12 20:27:08 +02:00
radex
4acccb7d94
Hide item history by default
2020-05-12 20:27:08 +02:00
radex
786f2a3675
title nice
2020-05-12 20:27:08 +02:00
radex
7f12474e76
some admin ux improvements
2020-05-12 20:27:08 +02:00
radex
60601b270e
Search everywhere
2020-05-12 20:27:08 +02:00
radex
5a70e382b8
UX improvements
2020-05-12 20:27:08 +02:00
radex
16ff203aaa
Nicer printing UI, allow to print 2 easily, hide useless/empty shit
2020-05-12 20:27:08 +02:00
radex
93ebd810aa
Allow label printing api to print multiple copies of a label
2020-05-12 20:27:08 +02:00
radex
35da79f0b2
better onboarding readme
2020-05-12 20:27:08 +02:00
radex
323da8e0df
improve readme for the newbs
2020-05-12 20:27:08 +02:00
radex
a427c34dff
allow localhost in dev
2020-05-12 20:27:08 +02:00
radex
388f67eb80
fix wiki link
2020-05-12 20:27:08 +02:00
Piotr Dobrowolski
0aee39af76
postgres-hstore: fix database initialization with custom username
2019-05-12 15:58:49 +02:00
Piotr Dobrowolski
d39cfd9b42
Dockerfile: add missing CMD
2019-05-12 15:58:19 +02:00
Piotr Dobrowolski
43c1c94844
settings: load all relevant options from environment
2019-05-12 15:58:01 +02:00
Piotr Dobrowolski
fedf3dca80
Add apitoken endpoint
2019-02-02 13:21:15 +01:00