Skip to content

Releases: borgia-app/Borgia

4.5.4

10 May 09:00
35f832b
Compare
Choose a tag to compare

4.5.4 Hot fixes migration Sibers

Changes

  • Down the timedelta of sales examined within the shop workboard template to 30 days (#52) 022eec7
  • Remove the form section concerning balance mailing in prod (#52) 1457167

Fixes

  • Remove \bcharacter in the regex of login autocomplete 0f18f9c

4.5.3 Misc. 4.5

09 May 19:41
031d789
Compare
Choose a tag to compare

Features

Changes

  • Use datepicker bootstrap and remove datepicker jquery ui (#50) aa93567
  • Change links in footer 6f5840d
  • Add Slack and Docs links in footer 6f5840d
  • Change the limit of objects shown in the recharging list to 1000 5e24560
  • Add Slack in the major Readme 406b8fd

Fixes

  • Fix a bug that doesn't show the number of participants and registrants in the shared event list after submitting the search form c93fcda
  • Fix Zero division a0dc41a

More fixes for 4.5

29 Apr 18:01
Compare
Choose a tag to compare

More fixes for 4.5

Fixes :

  • Remove Validation error in views (#26)
  • In SelfTransfert, a User can, in 4.5 version, transfer to himself. Bug fixed
  • Shops can now have same product with different quantities without bug in display.

Some fixes 4.5

28 Feb 11:11
976dff0
Compare
Choose a tag to compare

Some fixes 4.5

Fixes

  • Fix a bug showing removed products in shop checkup dc51871.

Changes

  • Change footer to match version 4.5 and add some links to github.

Changes and fixes after REX Birse

23 Feb 21:04
10a670b
Compare
Choose a tag to compare

Changes and fixes after REX Birse

See REX Birse Millestone.

f0af2b8

Features

  • Now use Django 2.0 80f55d9.
  • A new page let groups with permission to manage settings of the application. 3733430. Currently, these settings are:
    • Minimal and maximal amount to add money with Lydia. Both settings are optional. Maximal must be greater or equal than minimal.
    • Lydia tokens: API (private) & Vendor (public).
    • Center name for global Borgia website.
    • Margin profit for prices, mandatory.
    • Threshold and frequency for mail alert when balance is under threshold (#24 & #7 ).
    • Threshold balance to be able to purchase 10a670b.
      The permission required to manage settings is change_setting. This permission is added by default to groups presidents, vice-presidents-internal and treasurers with the fixture groups.
  • When manager want to finish event, 3 new possibilities : 4e82246 (#14)
    • Calculate price by divising total
    • Fix price by ponderation
    • No payment (previous finish)

Changes

  • Autocompletion username changes its behavior (#3 #2) 7c8322c.
  • Improvements in sale module interface concerning JS (#3) 7c8322c.
  • Disabled products can still be selected in a category, but they're indicated with a "DESACTIVE" in the label (#5) 18c7653.
  • Disabled products are shown with a "DESACTIVE" and a red style in module workboards
    (#5) 18c7653.
  • Disabled products cannot be purchased in a sale module (#5) 18c7653.
  • Products can now be "removed". They'll totally be removed from interfaces of shops (cannot be selected, sold or reviewed), but previous entries (sales, stock entries, inventories, ...) are still valid (#5) 18c7653.
  • Add permissions to manage inventories by default to chiefs and associates of a shop (auto added during the creation of a shop) f0af2b8.
  • When the estimated quantity in stock is negative, display 0 (#4) f0af2b8.
  • 0 is now allowed as a quantity in stock during an inventory (#4) f0af2b8.
  • Active products in the shop, but not listed in the inventory are considered within a null quantity in the stock (#4) f0af2b8.
  • Add autocompletion in modules and other user fields. Add user-icon where autocompletion is used. #2 7c8322c
  • Default value for settings aren't in a fixture anymore, but in settings.py instead 3733430.
  • Add a new function settings_safe_get which returns the right Setting or create it with default value given in settings.py. Errors aren't excepted in this function because Borgia should not work with a bad configured settings.py 3733430.
  • The method get_value of settings_data.Setting now send None if value == '' (Keep in mind that value is always a string, and that get_value send the right type) 3733430.
  • It's now possible to add money with Lydia with a decimal number (1.23 for instance) 3733430.
  • Ensure that min and max are used in the form to add money for Lydia. If no min value is set, 0.01 is the minimal value by default 3733430.
  • Remove useless files in root folder 253677b.
  • Remove useless imports in all python files 253677b.
  • Remove useless fixtures 253677b.
  • Remove useless avatar images 253677b.
  • Remove unused app api and all related dependencies (graphene, graphql & jwt) 253677b.
  • Remove unused classes FormNextView, CreateNextView and UpdateNextView 253677b.
  • Add the permission to change products prices by default to chiefs of shop (during the creation of the shop). Associates aren't concerned but as the permission is added to chiefs, it can be added to associates by the manage group form 10a670b.

Fixes

  • Fix ZeroDivisionError, DivisionUndefined or DivisionByZero raised when updating the correcting factor after an inventory if no sale were created since the last inventory. Updating the correcting factor is then passed (#4) f0af2b8.
  • Handle (ZeroDivisionError, DivisionUndefined, DivisionByZero) for every possible division by 0 b3ecbf7 (#4 #18)
  • ValidationErrors on login d9893bf
  • Margin right of user fields were too high d9893bf
  • Transaction color are now the same as every transaction list (basically credit green and debit red) for user retrieve page 845ce0e (#25).
  • Transaction amount now show the sign (credit + and debit -) for user retrieve page 845ce0e (#25).
  • The type of the field amount in the form to add money with Lydia is fix from email to number 3733430.
  • Fix typo ("porte monnaie" -> "porte-monnaie") in templates global_config.html and balance_config.html 10a670b.
  • Fix view and template modify price product to use the right MARGIN_PROFIT setting 10a670b.
  • Ajax to get price per users in ManageUsers c3d4284.
  • Removing all users 84fc53e.
  • Some permissions et verifications 5f11c15.
  • Form fields in the page Liste et gestion manuelle des utilisateurs concernés in shared event now have the class form-control to look nicer 2e325f9.
  • If user has the permission, now he can add a shared event by in the lateral menu 1f56704.

Todo

Update Django package

pip3 install django==2

Update Django Static Precompiler

pip3 install django-static-precompiler==1.7

Makemigrations & migrate

python3 manage.py makemigrations
python3 manage.py migrate

Stable version 4.4.0

06 Feb 10:11
Compare
Choose a tag to compare

News from version 3

  • New models for products and stocks
  • New stock behavior
  • Separation between stock management and sales
  • Center (name, color, icon, ...) is now generic and variable