Commit Graph

150 Commits

Author SHA1 Message Date
Andreas Zweili e57eafaf9e wrap the registration in a transaction
Sometimes when the creation of the person object fails the user get's
created anyway resulting in a user without a user profile.
By wrapping both the user and profile creation in a transaction the
user gets only created if the person profile worked as well.
2018-02-05 21:25:18 +01:00
Andreas Zweili a01d08fded add a max_length to the street number 2018-02-04 20:47:18 +01:00
Andreas Zweili ccde016af5 Merge branch 'cart' of git.2li.ch:ibz/web_AI-5 into cart 2018-02-04 20:39:21 +01:00
Andreas Zweili e47156ce2a add a check for the currency session variable 2018-02-04 20:38:54 +01:00
Andreas Zweili b74f3ee585 remove unneeded line 2018-02-04 20:38:35 +01:00
Ivan Hörler f1e6d680ba fix article_list assignment 2018-02-04 20:36:10 +01:00
Ivan Hörler ccf823fad2 add amount to template 2018-02-04 20:18:49 +01:00
Andreas Zweili 14095a7f63 Merge branch 'cart' of https://git.2li.ch/ibz/web_AI-5 into cart 2018-02-04 20:04:12 +01:00
Andreas Zweili 4cbb662fb4 fix the currency selector in the details view 2018-02-04 20:03:09 +01:00
Ivan Hörler e36e290314 change cart view to list all chosen items 2018-02-04 19:58:17 +01:00
Ivan Hörler d3b0d0df0b fix message bug 2018-02-04 19:44:09 +01:00
Ivan Hörler e9a24863dc add patch 2018-02-04 19:27:09 +01:00
Ivan Hörler afbc2b500b add onsolved problem for help 2018-02-04 18:58:21 +01:00
Ivan Hörler 1fe10e2185 commit for andreas 2018-02-04 18:32:54 +01:00
Ivan Hörler c1a5627852 add for preview of andreas 2018-02-03 20:11:00 +01:00
Ivan Hörler 0576cd4fb8 reflected need of model for cart positions (items in cart) 2018-02-02 13:21:03 +01:00
Ivan Hörler 08a1a99ac4 Revert "broken models relationship in admin. please look at the erd.png"
This reverts commit c6b1bb975b.
2018-02-02 08:44:02 +01:00
Ivan Hörler c6b1bb975b broken models relationship in admin. please look at the erd.png 2018-02-01 21:28:17 +01:00
Ivan Hörler 43b362d466 refactor firsthit 2018-02-01 17:05:58 +01:00
Ivan Hörler eb77635920 first hit to addtocartform 2018-02-01 17:02:08 +01:00
Andreas Zweili 9c23d667c8 rename the empty_label to CHF 2018-01-28 22:04:48 +01:00
Andreas Zweili c5dbcc3d58 add a check for the currency key in the session 2018-01-28 21:31:27 +01:00
Andreas Zweili 6ee5f56e73 add the currency calculation to the article view 2018-01-28 21:26:36 +01:00
Andreas Zweili 915f31c413 add the currency calculation to the categories view 2018-01-28 21:14:55 +01:00
Andreas Zweili 0162e10915 remove old code 2018-01-28 21:09:57 +01:00
Andreas Zweili 62db260ec1 rename the articles_list in the category view 2018-01-28 21:09:27 +01:00
Andreas Zweili fb6831920c remove jquery from the base template 2018-01-28 20:41:32 +01:00
Andreas Zweili 1481727a51 add the currency calculation to the index page 2018-01-28 20:41:14 +01:00
Andreas Zweili e76b3cb80d add a function to get the id of the hidden status 2018-01-28 20:39:22 +01:00
Andreas Zweili 68a8110aea add a function to collect the category list 2018-01-28 20:37:47 +01:00
Andreas Zweili ed0649f5fc refactor the models import 2018-01-28 20:31:51 +01:00
Andreas Zweili c2758afb00 add a name to the register button 2018-01-28 20:30:35 +01:00
Andreas Zweili 138f712e3b add names and ids to forms and buttons 2018-01-28 20:28:36 +01:00
Andreas Zweili 13ad0fe98e add a method to the ExchangeRate model to calculate the new currency 2018-01-28 20:26:41 +01:00
Andreas Zweili 3dbb614bbb add the category list to all the views
Since the categories are part of the navigation I think they should be
visible from everywhere.
2018-01-28 20:25:35 +01:00
Andreas Zweili faba1a597d add a form for a currency drop down 2018-01-28 20:24:35 +01:00
Ivan Hörler 2f940e57c7 getting rid of clutter. 2018-01-21 22:47:14 +01:00
Ivan Hörler dba76057b3 added new generic rss fetch and parse functions and setup to store not only today value but all values in file and update if new are available. 2018-01-21 21:31:26 +01:00
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