Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Latest commit

 

History

History
237 lines (187 loc) · 14 KB

CHANGELOG.md

File metadata and controls

237 lines (187 loc) · 14 KB

Changelog

This file documents any relevant changes done to ViUR server since version 2.

develop - Current development version

2.5.0 Vesuv - 2019-06-07

Added

  • updateLevel for relationalBones, to exclude specific bones from the automatic background update (#170)
  • vacuumRelations task to remove relation-objects from bones/kinds that don't exist anymore from viur-relations (#169)
  • the new recordBone which can store multiple sets of data for the bones inside it's relskel (#148)

2.4.1 Agung - 2019-05-21

Fixed

  • Correctly expose our server-revision to the application (#168)
  • spatialGuaranteedCorrectness of bones/spatial on very sparse maps (#167)

2.4.0 Agung - 2019-05-17

Added

  • Pagesize to sha256 cache key
  • Providing less or equal and more or equal comparision filters in queries. (#77)
  • _queue Parameter to deferred calls. This allows to enqueue deferred tasks to other, custom defined task-queues. (#133)
  • Default template for captchaBone (#112)
  • Add getAvailableRootNodes stub to hierarchy prototype (#113)
  • Provide logging of Stack-Trace if a noRetry Task failed (#147)

Changed

  • Ensure that the skeletons modules gets imported by the server (#156)
  • Replace our custom build WYSIWYG Editor with summernote (#149)
  • Unwrap several dictionary access in fileBone:unserialize (#151)
  • Renamed folder "icons" to "embedsvg" (#85)
  • Allow to select multiple kinds in DB import/export (#102)
  • Force SSL by default (#132)
  • Condense most of skeleton:toDB into a single loop (#111)
  • Limit the timewindow for second factor to 10 minutes (#129)
  • Several Bugfixes and enhancements to IndexManager (#76)
  • Improved internal handling of tests on servingurls (#114)
  • Preventing looping over empty language entries in in stringBone(mutiple=True) (#120)
  • Unified templates, removed camelcase, errorpage improved (#123)
  • Stability improvements on several bones (#125)
  • Log exception with traceback if loading or parsing of email templates fail (#127)
  • Dimensions (height and width) of an image are now provided by the refKeys of a fileBone (#134)
  • Dimensions will only fetch from blobstore if an image was uploaded. (#161)

Fixed

  • [Severe] Entries fetched with db.GetOrInsert and written with db.Put will now correctly flush the memcache (#162)
  • Server Error when calling /user/login (#159)
  • Correctly return None instead of true on success in bones/bone.py:fromClient (#160)
  • Invalid bone access in periodic tasks of modules/order.py (#157)
  • Signature of serialize() in randomSliceBone (#98)
  • Invalid dictionary access in template/editform_bone_select.html (#152)
  • Search for templates in the correct path if the htmlpath has been overridden by the class variable. (#108)
  • Several typos, readability and incorrect docstrings (#109 #135 #140 #143)
  • RelationalBone: Ensure relationalBones can be saved even if no value had been set (#82)
  • Prevent IndexError in updateURL if we received an empty parameter (?=1) and remove that param from the output (#118)
  • Fixing relationalBone.refresh() to update translated bones also. (#119)
  • Fix isinstance Check in db.PutAsync (#146)
  • Allow in-tests in values of selectBone (#139)
  • The dbtransfer/upload to correctly obtain the oldBlobKey (#103)
  • Improved handling of email-recipient-override in utils.sendMail (#136)
  • Allow setting a dateBone back to None again (#155)

Removed

  • pytz. It's now provided in the base repo
  • Obsolete modules/drive_video.py (#150)
  • Several (commented) debugs and loggings (#83)
  • visible=False enforcement for magic dateBones (#128)
  • Google checkout module (was broken and not in use) (#145)
  • Bugsnag and all related parts from ViUR (#138)

2.3.0 Kilauea - 2018-10-02

Added

  • A generic redirect() function from Jinja templates

Changed

  • Upgraded captchaBone to recaptcha v2
  • uid bone of userSkeleton is not required anymore
  • Allow usage of None as value in Query().filter(), which is a valid type in datastore

Fixed

  • Saving skeletons containing a randomSliceBone due to signature mismatch in randomSliceBone.serialize()
  • Correct filtering by dateBone with either date=False or time=False
  • Importing entities from pre 2.x ViUR instances
  • Call doCleanupDeletedFiles and doDeleteWeakReferences deferred
  • Avoid invalid search queries instead of raising an exception
  • Correctly handle an unset property in stringBone.getSearchDocumentFields()
  • Correctly log the exception caught when raising an 500 Server-Error due to an unhandled exception in the code
  • Basic Syntax-Fixes for spatialBone
  • Prevent two words from being stuffed together if we remove an invalid html tag in textBone
  • Correctly remove an property from the unindexed_property list if the bone changes to indexed
  • Sorting in relational queries
  • Incorrect path to the ViUR logo in error.css
  • Adapted default templates to work with the selectBone introduced in 2.2.0
  • baseBone.buildDBFilter() incorrectly handling lt/gt/lk operators

2.2.0 Etna - 2018-04-23

Added

  • A new Rate-Limit module that can be used to prevent DoS / Brute-Force on certain resources.
  • New keyBone() class introduced for a better distinction between bones containing an entity key and those which don't.

Changed

  • Return descriptions in selectBones translated from our json render
  • More descriptive error messages returned from password bone
  • The new "params" Parameter introduced in 2.1.0 should now always have a default value (None)
  • [Breaking]: Merged selectOneBone and selectMultiBone into a single selectBone which supports the multiple flag, the previous bone names are still supported and cause a deprecation warning in the logs.

Fixed

  • Resolving the name of skeletons in prototypes/hierarchy when used on multi-lang bones
  • Unserializing of booleanBones failed if the database contained a unicode string
  • Several errors caused by None returned from getSearchDocumentFields / getSearchTags
  • Exception causing toDB() to fail if a bone should be serialized which isn't in the valuesCache object. Fixes #7.
  • Prevent text/string Bones from restoring old (non-multilang data) if set back to empty values. Fixes #6.
  • Use urlsafe_b64decode for filename decoding (used by some old IE on WinXP). Fixes #38.
  • Prevent skeleton from the server to take precedence over the ones defined in the application.
  • The indexed-flag had been ignored on edit - causing all fields to be indexed. Fixes #34.

2.1.0 - 2017-10-25

Added

  • New edit form templates following the ViUR ignite standard
  • Pass the error description of HTTPException to the underlying webob framework
  • ignore/hide parameter to our renderEditForm jinja2 function
  • New parameter "params" to explicitly pass additional values to the template / json response
  • Retrieving the viewSkel Structure by calling modulePath/view/structure
  • __iter__ function to skeletons
  • embedSvg function to html render
  • onLogout hook to the user module
  • Expose the unique property in skel-structures in json render
  • viur.emailHandler config variable for easy integration of 3rd party email services

Changed

  • Pre-translate the descriptions of selectOne/selectMulti bones in add or edit calls (as done in views)
  • Listing and calling user-callable tasks is now also possible for the vi render
  • Internally switched to more efficient membership tests for dicts
  • userBones with creation- or update-magic set are not forced to be invisible anymore
  • Don't set skel["key"] to None if skel.delete() is called
  • Relational bones can now include properties from ref-/rel-skel bones in search indexes
  • Setting update- or creation-magic on userBones don't force them to be invisible anymore
  • [Breaking] Internal representation of relations are now dicts, not instances of Ref- or Rel-Skels

Fixed

  • handle ValueError in int() or float() in numericBone:buildDbFilter
  • serializing a textBone failing in getSearchDocumentFields if valuesCache[name] is None
  • Correctly handle None values in numericBones getSearchDocumentFields()
  • Added missing imports to dbtransfer.py
  • Several issues with writing search api indexes for relationalBones
  • Usage of old Skeleton-API in orders module
  • Users without access to the vi/admin render couldn't logout using these renders
  • Call setSystemInitialized on all skeletons (not only skels having kindName set)
  • Type-mismatch in html-render causing errors if a RelSkel is present
  • Parsing dates containing non-unicode characters

Removed

  • [Breaking] "key"-Parameter from skeleton.setValues()

2.0.3 - 2017-08-30

Changed

  • If URL-Based language method is used and none is set, also evaluate X-Appengine-Country as a hint which language should be used
  • Descriptions of selectOne/selectMultiBone are now translated before passed to the template

Fixed

  • Prevent an exception if querying an selectOneBone which has an empty values dict
  • Clone function in hierarchy moving entries instead of duplicating them

2.0.2 - 2017-05-19

Added

  • Santy-Check for secret keys in timebased otp (check for even string length)

Changed

  • setBoneValue for relationalBone now also accepts encoded datastore keys in unicode
  • Deferred tasks are not called with __undefinedFlag__ as first argument if no other args had been given anymore

Fixed

  • Spaces being removed around tag boundaries in textBone
  • boneWasInvalid marker always being true
  • Fixed %B and other localizions not working on dateBones with localized=True
  • Html-Render selecting the correct template for timebased otp
  • Deselecting every option in selectMultiBone is possible agian
  • relationalBone erroneously raising the "Use [] to access your bones" safeguard
  • Unserializing of bones sharing the same name-prefix
  • CaptchaBone

2.0.1 - 2017-01-04

Added

  • IDs of entries transferred with dbtransfer are now marked as in-use inside the datastore
  • conf["viur.cacheEnvironmentKey"] can now raise RuntimeError to indicate that this request cannot be cached
  • Added the render attribute to BasicApplications

Changed

  • getEntry in html-render now evaluates canView() if present
  • Reduced batch-size in rebuildSearchIndex to 25 and made exceptions raise
  • Setting a bone to None is now equivalent of deleting it from the skeleton

Fixed

  • Values not part of the subskel currently written are preserved again
  • Supplying a key from a different module doesn't cause an server error anymore
  • Fixed password-recovery function in auth_userpassword
  • Correctly set clearUpdateTag on rebuildSearchIndex
  • FileBone and FileSkel are now refreshing the servingUrl on rebuildSearchIndex again
  • Ensure that year is always >= 1900 in dateBone:fromClient

2.0.0 - 2016-12-22

(Start of changelog)