Commit Graph

104 Commits

Author SHA1 Message Date
Ivan Hörler
b53f52cac1 a work in progress test of custom filters 2018-01-19 15:40:55 +01:00
Ivan Hörler
9d6c4b308c fixed AJAX request and response 2018-01-16 00:54:35 +01:00
Ivan Hörler
fce2f77cb2 add same id as value and name now it pops up because of app.js but does override somehow 2018-01-15 00:07:14 +01:00
Ivan Hörler
2a1a565f90 typos 2018-01-14 23:39:20 +01:00
Ivan Hörler
7ff173d9c7 yess! 2018-01-14 23:38:10 +01:00
Ivan Hörler
595d02433c handling all post prevents errors. 2018-01-14 23:23:41 +01:00
Ivan Hörler
d74adc65f4 bad 2018-01-14 22:54:46 +01:00
Ivan Hörler
f44a13cf98 minimal refactoring 2018-01-14 22:50:54 +01:00
Ivan Hörler
1f0940a2a6 updated to newer syntax 2018-01-14 22:11:57 +01:00
Ivan Hörler
c7d9e62f05 again. 2018-01-14 22:11:34 +01:00
Ivan Hörler
5e91470470 Revert "change function name from camelcase to python syntactical underlines"
This reverts commit 213d231c81.
2018-01-14 22:09:18 +01:00
Ivan Hörler
213d231c81 change function name from camelcase to python syntactical underlines 2018-01-14 22:02:43 +01:00
Ivan Hörler
2117c97874 for andreas 2018-01-14 21:30:57 +01:00
Ivan Hörler
4ea27b0bbc delete redundacy 2018-01-14 21:21:01 +01:00
Ivan Hörler
19af243c4f not finished AJAX request for currencies 2018-01-14 19:57:48 +01:00
Ivan Hörler
e765a999c6 divided the navigation to separate file. 2018-01-14 19:57:22 +01:00
Ivan Hörler
7fb1c36e98 changed static url's to correctly detected ones. by runserver. needs to be checked for apache! 2018-01-14 19:56:33 +01:00
Ivan Hörler
05b77b8845 unfinished part of currency dropdown 2018-01-14 17:13:41 +01:00
Ivan Hörler
ec92099fc9 duno how to restore. created new. 2018-01-14 14:11:27 +01:00
Ivan Hörler
013d3d2d28 falsche vorgehensweise um settings.py zurück zu bekommen 2018-01-14 14:07:53 +01:00
Ivan Hörler
c4d018be95 first try of a form for currency dropdown 2018-01-14 13:44:11 +01:00
Ivan Hörler
368c7342ef add of a dropdown and footerinformation nicely 2018-01-14 13:43:13 +01:00
Ivan Hörler
d5ad3c77d5 Merge commit '0048475a2d63a08805050d767834606e6547eab9' into currency
* commit '0048475a2d63a08805050d767834606e6547eab9':
  remove a migration file
  add a cronjob to trigger the currency updates
  add migrations to the ignore list
  remove a duplicate entry
  changed some of the views and implemented a more selfish perspective of a shop. For shure not ideal and in NO way DRY but a solution for now.
  selfmade css file
  unfinshed atempt to make a nav abandoned for later use maybe
  add bootstrap to ansible and vagrant for django-bootstrap3 support
2018-01-13 13:42:06 +01:00
Andreas Zweili
0048475a2d remove a migration file 2018-01-13 10:46:49 +01:00
Andreas Zweili
95ec91fbf0 remove a duplicate entry 2018-01-13 09:34:01 +01:00
Ivan Hörler
10c9d8602d add order by dates 2018-01-13 08:39:24 +01:00
Andreas Zweili
852751bc27 Merge branch 'frontendstyling' into andreas 2018-01-13 08:29:31 +01:00
Ivan Hörler
e8ffe635f9 typos in template 2018-01-11 19:24:52 +01:00
Ivan Hörler
b02e8c1343 corrected offline error to be catched. 2018-01-11 19:21:13 +01:00
Ivan Hörler
6cf9d77cae Corrected a race condition of strings in views.py and the related parts of exchange_rates.py 2018-01-11 07:54:51 +01:00
Ivan Hörler
aca21b4353 changed view and catched a bug in currencies.views.py 2018-01-10 22:43:22 +01:00
Ivan Hörler
a4307da75f Merge branch 'currency' of git.2li.ch:ibz/web_AI-5 into currency
* 'currency' of git.2li.ch:ibz/web_AI-5:
  correct the datetimefield on the orders model
2018-01-10 00:59:01 +01:00
Ivan Hörler
6290eb7a6a corrected currencies app and added different view. 2018-01-10 00:58:34 +01:00
Andreas Zweili
9ef8a4371e correct the datetimefield on the orders model
In Django it's better to use timezone.now instead of datetime.now()
this is because it has additional settings for timezones which this
way wouldn't get reflected in the attributes and lead to wrong
datetime values.
2018-01-04 12:30:01 +01:00
Ivan Hörler
4f51e17504 Merge remote-tracking branch 'origin/master' into currency
* origin/master:
  remove the old media directory
  create the path /srv/media/images in the Vagrant vm
  create the media directory on the production server
  add pictures to the article details page
  move the media root and add support for MEDIA_URL
  readd two commands
2018-01-03 08:35:18 +01:00
Ivan Hörler
47ed36e3af vagrant provision does not work so i need to commit unsolved files 2018-01-03 08:34:25 +01:00
Ivan Hörler
50b16ec842 commit for history. going to implement new databasestructure now. 2018-01-02 14:51:06 +01:00
Andreas Zweili
877b536e4a remove the old media directory 2017-12-31 15:23:31 +01:00
Andreas Zweili
3b73c67c66 add pictures to the article details page 2017-12-31 15:12:09 +01:00
Andreas Zweili
559f77545d move the media root and add support for MEDIA_URL 2017-12-31 15:09:26 +01:00
Ivan Hörler
d500712dc2 changed some of the views and implemented a more selfish perspective of a shop.
For shure not ideal and in NO way DRY but a solution for now.
2017-12-29 22:32:27 +01:00
Ivan Hörler
dc083d9c5e Merge branch 'currency' into frontendstyling
* currency: (25 commits)
  changed view and deleted the database unique filed
  add tableview in /currencies
  checkout the production branch on the production server
  add a registration
  disable debugging for production
  add a user profile
  extend the base template with login, profile and logout links
  add templates to support user authentication
  add url patterns to support user authentication
  remove an unnecessary shebang
  remove unnecessary attributes from the Person model
  redirect logins back to the index
  make imports more explicit
  remove an unnecessary configuration
  remove an old file
  change the article status to active
  change the content include because the org-mode file is called doku
  add a python package to the ansible role
  add fixtures with test data
  Add date to currencies list
  ...

# Conflicts:
#	Vagrantfile
#	ansible/roles/web_AI-5/tasks/main.yml
#	django/didgeridoo/didgeridoo/settings.py
#	django/didgeridoo/webshop/templates/webshop/base.html
2017-12-29 19:43:16 +01:00
Ivan Hörler
487c96710a Merge commit 'ee7232cd502afbf15f36769da0835b4a1e1358df' into currency
* commit 'ee7232cd502afbf15f36769da0835b4a1e1358df':
  checkout the production branch on the production server
  add a registration
  disable debugging for production
  add a user profile
  extend the base template with login, profile and logout links
  add templates to support user authentication
  add url patterns to support user authentication
  remove an unnecessary shebang
  remove unnecessary attributes from the Person model
  redirect logins back to the index
  make imports more explicit
  remove an unnecessary configuration
  remove an old file
  change the article status to active
  change the content include because the org-mode file is called doku
  add a python package to the ansible role
  add fixtures with test data
  fix the admin view of order of goods
  added sketch of Siteview to docs
2017-12-29 19:28:31 +01:00
Ivan Hörler
19afc446ed changed view and deleted the database unique filed 2017-12-29 19:26:01 +01:00
Ivan Hörler
13805f790d add tableview in /currencies 2017-12-29 17:02:33 +01:00
Andreas Zweili
ddd4001fb3 Merge branch 'master' into production 2017-12-29 16:46:48 +01:00
Andreas Zweili
1f3ab70dd6 add a registration 2017-12-29 16:46:21 +01:00
Ivan Hörler
7bb875e696 selfmade css file 2017-12-29 15:12:29 +01:00
Ivan Hörler
45ca9ca55e unfinshed atempt to make a nav abandoned for later use maybe 2017-12-29 15:11:45 +01:00
Andreas Zweili
c229194e50 disable debugging for production 2017-12-29 11:04:48 +01:00