Skip to content

Latest commit

 

History

History
478 lines (262 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

478 lines (262 loc) · 10.8 KB

Changelog

[Unreleased]

Added

  • nothing added

Changed

  • nothing changed

Removed

  • nothing removed

[1.58.1] - 2023-12-08

Removed

  • Python 3.6 support

[1.58.0] - 2023-12-08

Added

  • Deleted uids for blocked users for requests with a timestamp

[1.57.2] - 2023-08-03

Changed

  • Add forgotten migrations for tests

[1.57.0] - 2023-08-03

Added

  • Model SecureConnectToken (expiry_date)
  • Model SecureConnectCode (expiry_date)

Changed

  • SecureConnectToken and SecureConnectCode have a expiry_date, we check the expiry_date to pass the expirate to true.

[1.56.0] - 2023-07-19

Changed

  • Fix unittests for retrieving users with a manager within a scoped request

[1.55.0] - 2023-07-19

Changed

  • Upgrade celery version from v4 to v5 (pypa/pip#12063)
  • Upgrade redis version from v3 to v4
  • Change user permissions when attempting to retrieve a user: Through settings, we can decide the minimum user level that allows him to retrieve all users

[1.54.0] - 2023-06-19

Changed

  • Set a default max length to 1024 for URLFields

[1.52.0] - 2022-12-12

Changed

  • Management command to invite a user to register a TOTP device now supports a list of emails
  • Setting to change email subject for otp activation
  • Use Email MFA in order to activate OTP MFA to add more security

[1.51.0] - 2022-11-25

Added

  • Doc MFA authentication
  • Enable MFA with TOTP. The user authenticates to an url that will display a qrcode. This qrcode is to be used by an OTP application to generate the code.
  • Add the model EmailDevice to the admin models

[1.50.0] - 2022-11-17

Added

  • Management command get_stats_models_count to list all the models in the datamodel with their number of instances. Supports ordering by model name and instances count both ascending and descending
  • Command management reset_password
  • Management command to get database connection string, could be used with pg_dump (pg_dump --dbname=$CONNECTION_STRING) see https://www.postgresql.org/docs/14/libpq-connect.html
/usr/bin/pg_dump --dbname=`python3 manage.py db_connection_string` | bzip2 --fast > backup.sql.bzip2
  • nothing added

Changed

  • Command management check_superuser_with_email: Now we check if any users exists not only superuser
  • The datetimefomat accept two formats yyyy-mm-ddTHH-mm-ssZ and yyyy-mm-ddTHH-mm-ss.SSSSSSZ
  • Disable trimmimng the leading and trailing whitespaces within CharField and TextField serializers.

[1.49.0] - 2022-09-01

Added

/usr/bin/pg_dump --dbname=`python3 manage.py db_connection_string` | bzip2 --fast > backup.sql.bzip2

[1.48.0] - 2022-06-16

Changed

  • add log on email sending failure
  • Use correct base template for mfa login template

[1.47.0] - 2022-06-14

Changed

  • Fix mfa login template because of load admin_static removal from django 3

[1.46.0] - 2022-06-13

[1.45.0] - 2022-06-13

Changed

  • Merge migrations in tests to fix the test workflow

[1.44.0] - 2022-06-13

Added

  • Add the option that a user cannot register by himself
  • Secure connect with email and code

Changed

  • Update django from 2.2 to 3.2 (LTS)

[1.43.0] - 2022-05-18

Added

  • Check if a user is not anonymous before calling user.is_at_least_staff

[1.42.0] - 2022-05-17

Changed

  • Fix bandit for python3.9 : Change of the # nosec to multiline in the settings/base.py

[1.41.0] - 2022-02-21

Changed

  • When throttling enabled, check if the user making the request is either an AnonymousUser or an AbstractUser

[1.40.2] - 2022-02-16

[1.40.1] - 2022-02-16

Changed

  • Update the links within the documentation

[1.40.0] - 2022-02-11

Changed

  • Changed default permissions for entrypoint /user/* (request.user should be at least manager), always allow "at least authenticated" user to access /account/me/

[1.39.0] - 2022-02-10

Added

  • Add possibility for register backends in order to run custom functionnalities before/after creating a user by register endpoint

[1.38.0] - 2022-02-08

Added

  • Add entrypoint to serve datamodel (json and yaml)
  • Allow anonymous creation on Concrete instances with throttling conditions
  • Add settings to configure the path for OpenAPI schema and the Swagger interface
  • Allow sending emails asynchronously with celery

Changed

  • Remove nested foreign keys from open api schema for methods POST PUT and PATCH
  • Rename unittests from tests_ to test_
  • sets extra fields: Check that the field is in fields before checking the type

[1.37.0] - 2022-02-03

Added

  • Add possibility to filter against keys of JSON fields
  • Add exclude filters within the API

Changed

  • The distance filters now support the lookups __distance_lte, __distance_lt, __distance_gte, __distance_gt, __distance_range, __distance_range!. The bare __distance is no more supported

[1.36.0] - 2021-12-09

Added

  • Maintenance mode flag in the status view if there is a core app
  • When login, create a new token if the old ones are expired

Changed

  • Improve unittests

[1.35.0] - 2021-10-22

Added

  • Logs for auth views (Register/Change Password/Secure Login)
  • last_login update for auth views

[1.34.0] - 2021-09-03

Added

  • Add a try accept when retrieving the file path on deleting instance
  • added support for user email value within register email
  • Case insensitive contains filter

[1.33.0] - 2021-08-20

Changed

  • Correction of API filters for range over datetimefield when closing period was not applied

[1.32.0] - 2021-08-11

Added

  • Add 400 response if a date range filter is not well formatted (doesnot contain 2 values)

Changed

  • Added index on DeletedModel to improve dramatically performances
  • DateTime range filters now accept date values and datetime values
  • Setting to remove the swagger access
  • Changed validation error format, avoid single % in format args (Correct error 500 while creating user in Admin)

[1.31.0] - 2021-07-20

Added

  • Added settings EMAIL_REPLY_TO

[1.30.1] - 2021-06-18

Changed

[1.30.0] - 2021-06-14

Added

  • When deleting an instance with a File or Image field, remove the local file
  • Add creation_date and modification_date to the list_display and ordering_field when parsing datamodel

Changed

  • Unittest data model is now in a yaml file

[1.29.0] - 2021-06-08

Added

  • Add ordering fields to metadata to allow ordering against fk field
  • Objects can be filtered with the uid

[1.28.0] - 2021-03-15

Changed

  • Allow NULL values for FileField and PointField serializer

[1.27.0] - 2021-02-24

Changed

  • Use OpenStreetMap for admin PointField

[1.26.0] - 2021-02-19

[1.25.0] - 2021-02-18

Added

  • Add utf8 encoding while loading datamodel
  • GeoDjango PointField to compute distances

[1.24.0] - 2021-02-15

Added

  • New field type ip

[1.23.0] - 2021-01-14

Added

  • Add checks on the url_format for reset password view to avoid template injections

[1.22.0] - 2021-01-13

Added

  • Add checks on the levels of users that are allowed to set an email_format when reset password
  • Add checks on the url_format to avoid template injections

[1.21.0] - 2021-01-13

Added

  • Enable admin url view with settings

Changed

  • Change staff to manager in CRUD_LEVELS

[1.20.0] - 2020-12-07

[1.19.0] - 2020-12-07

Added

  • Added the capability to authenticate using c_auth_with_token query parameter in urls when using HTTP headers is not possible (webhooks).

[1.18.0] - 2020-11-30

[1.17.0] - 2020-11-30

Changed

  • Update pillow package version to >=8 to support python3.7 and later

[1.16.1] - 2020-10-27

[1.16.0] - 2020-10-27

Added

  • Add API filters for ManyToMany fields using the __in filter
  • Fix the Swagger generator to include all the queryparams

[1.15.0] - 2020-10-20

Changed

  • In swagger-ui view, you can either authorize with Token XXX or XXX. Both are accepted

[1.14.0] - 2020-10-20

Added

  • Add button in admin site to switch to Core Admin view if core automation is enabled

Changed

  • Changed filtering of m2m fields in the admin view to horizontal filtering
  • Changed the /stats enpoint to return proper list of urls

[1.13.0] - 2020-07-17

Changed

  • Fixed the special characters list to avoid string-formatting errors because of the %
  • Simpleuser can see the field scopes of every instances

[1.12.0] - 2020-07-08

Changed

  • use object_name instead of name to rearrange the admin models in categories

[1.11.0] - 2020-07-08

Added

  • Add error codes to concrete API 400_BAD_REQUEST responses

[1.10.0] - 2020-07-07

Added

  • When deleting a SecureConnectToken, ignore creation of a DeletedModel.
  • Added a setting IGNORED_MODELS_ON_DELETE for the models to ignore when deleting.

Changed

  • Do not exclude the recently created objects for requests with timestamp_start
  • Fixed api logs format with the version 2 of pendulum

[1.9.0] - 2020-06-16

Changed

  • Enhanced the information returned by the /stats/ endpoint by the following fields: num_total_pages, max_allowed_objects_per_page, and pages_urls
  • Fix fetching the divider model for an anonymous user if the minimum retrieve level is anonymous

[1.8.0] - 2020-04-28

Added

  • Enable the use of Workflows within a core installed in concrete

[1.7.0] - 2020-03-30

Changed

  • Pendulum version updgraded to v2.0

[1.6.0] - 2020-03-20

Added

  • Add url to allow a process to register itself to the datatsore

Changed

  • Changed sample datamodel with a simpler one
  • Added mini term sheet for README.md
  • Reduced log level for legacy behavior
  • Explicitly pass exception for legacy behavior

[1.5.0] - 2020-03-10

Added

  • CSV Export added in admin actions

[1.4.0] - 2020-03-04

Added

  • Fix error when an user not authenticated access the admin views

[1.3.0] - 2020-03-03

Changed

  • In CharField and TextField serializers, the field is required only if blank is False AND default value is not an empty string. Otherwise it is not required.
  • admin view rearranged

[1.2.0] - 2020-02-21

[1.1.1] - 2020-02-21

[1.1.0] - 2020-02-21

Changed

  • fixed password change token expiry computation
  • fixed register serializer to allow null values of url_format and email_format
  • register email subject in settings

[1.0.1] - 2020-02-21

[1.0.0] - 2020-02-20

Added

  • concrete datastore doc is up to date.
  • Open the sources.