Legal stuff about this site and your private life:

  • We use a cookie to keep your preferences (language, NSFW status, login status) during navigation.
  • We use your local storage to save the announces you closed (like this one).
  • We don't save informations you don't give
  • We don't share your email address if you comment or register
  • There is no tracker of any kind.

If you're not OK with this, move your way.

Elabs engine has been updated with a simple notification system, user avatars and small improvements. Join the project !

Added

  • User model:

    • new admins scope to find all admins
    • new display_name method to return the real name or username as fallback
    • Experimental avatar support (ActiveStorage attachment avatar). NOTE that there are issues with uploads validation (ActiveStorage validations are not supported for now), leading to the uploaded file being saved even if validation fails. To prevent this, the attached file is deleted on failure, resulting on avatar suppression.To disable avatar support, set Elabs::use_avatars to false in the initializer.
  • Notifications:

    • MVC for simple notification system
    • Updated reports/comments to use notifications on save. Updated admin actions as "lock", "unlock", "delete" to notify the authors
    • New NotifiableEntity concern for content models
  • Misc:

    • Date helper: new short_date(date) method

Changed

  • Views:
    • members/layout/_empty: button to create content is now optional
    • Updated views to use user.display_name when needed
    • License icon is now a balance-scale icon
    • Short dates
    • Separators between information types on "show" views
    • Reordered menus
  • ActableEntity concern: moved current_publish_action, current_lock_action and current_update_action to the ContentEntity concern, as they are now shared between "actable" and "notifiable" concerns

Improved

  • Factorized some helper methods from "admin_content_helper" and "member_content_helper" in "content_helper"
  • Methods for public controllers are now in a ElabsPublicController. All custom public controller should extend this new controller instead of ElabsApplicationController
  • Improved xxx_selector methods to be able to specify the field name and the multiple select variant.

Fixed

  • Fixed current_publish_action and current_lock_action: they now return :nothing if content is already unpublished or locked.
  • Sort order in public views for users, tags, languages and licenses

Leave a comment

You want to react to this content or ask something to the author? Just leave a comment here!

Note that the comments are not publicly visible, so don't worry if you don't see yours.

All the information you give will only be visible to the author. We don't share anything with anyone.

Don't fill this field if you want this form to be saved.