Version history
===============

13.1 (2024-10-10):

- added: support for the fields service
- fixed: correctly forward on trash of a static item
- fixed: no longer show friends access when editing site static pages

13.0 (2024-06-28):

- added: restorable capability
- changed: updated for Elgg 6.0

12.0.2 (2024-04-24):

- fixed: show error message on edit permissions fail

12.0.1 (2024-03-14):

- several small chores/fixes

12.0 (2023-11-30):

- changed: updated for Elgg 5.1

11.1.1 (2023-07-26):

- fixed: buttons have a discernible text

11.1 (2023-07-05):

- added: database seeder
- fixed: return correct type

11.0 (2023-06-02):

- added: group tool container logic check
- changed: conflict with Elgg < 5.0
- changed: updated for Elgg 5
- fixed: error during deletion of static page due to too much access
- fixed: only register hook if entity_tools is active

10.1.2 (2022-12-08):

- fixed: give correct access to moderators to edit/delete entities
- fixed: normal users were unable to mark private pages as not out of date

10.1.1 (2022-10-27):

- several small chores/fixes

10.1 (2022-10-07):

- added: support for admin tools dead link detection

10.0 (2022-08-24):

- changed: updated for Elgg 4.3

9.1.1 (2022-07-12):

- several small chores/fixes

9.1 (2022-06-22):

- changed: migrated custom icon location to default entity icons
- fixed: always ignore access to fetch correct parent and root page

9.0 (2022-06-01):

- changed: updated for Elgg 4.2
- fixed: allow the cropper on static icon

8.0 (2022-02-16):

- changed: updated entity configuration for new capabilities

7.0.2 (2021-11-17):

- fixed: pass correct information to error page

7.0.1 (2021-10-27):

- fixed: use route generation instead of fixed url

7.0 (2021-09-27):

- changed: updated for Elgg 4

6.4 (2021-06-08):

- removed: action/static delete has been removed from the system

6.3 (2021-04-14):

- added: overview page where the user is the last editor

6.2.1 (2021-03-16):

- fixed: allow last editors to always edit content
- fixed: make sure owner can also see private content in out of date list

6.2 (2020-05-26):

- added: entity tools support for site owned content

6.1.1 (2019-09-30):

- several small chores/fixes

6.1 (2019-09-18):

- changed: use system cache for storing menu item cache

6.0.4 (2019-09-04):

- fixed: replaced all deprecated set_ignore_access functions

6.0.3 (2019-08-22):

- several small chores/fixes

6.0.2 (2019-07-11):

- fixed: no longer call unexisting entity_tools class function
- fixed: out of date for owner shows incorrect results
- fixed: timeout issue during cache flush

6.0.1 (2019-04-17):

- fixed: incorrect user_guid in array check

6.0 (2019-03-27):

- added: elasticsearch export change for last editor access
- added: menu item preparation is now hookable
- added: registering static menu items can be targeted to a specific menu
- changed: now using elgg-plugin and bootstrap class for plugin init
- changed: out of date message now uses elgg_view_message
- changed: set minimal requirement to Elgg 3.0
- changed: use core views for entity icon upload
- fix: use correct search entity view
- fixed: comment notifications to last editor
- fixed: correctly handle exceptions from gatekeepers
- fixed: deprecated notice about group tool
- fixed: EntityTools support
- fixed: filter menu has wrong tabs
- fixed: getLastEditor ordering
- fixed: incorrect forwarding after deleting static page
- fixed: out-of-date double filter menus
- fixed: permissions for moderators during deletion
- fixed: revision listing. newest first
- fixed: static menu js generalized
- removed: custom view for newsletter embedding
- removed: no longer able to reorder root pages
- removed: old upgrade/migration jobs
- removed: unused css rule

5.4.2 (2018-10-31):

- fixed: permissions for moderators during deletion

5.4.1 (2018-06-15):

- fixed: invalid characters in permalink no longer allowed
- fixed: removed invalid code which prevents export of parent pages

5.4 (2018-05-31):

- added: parent and root page to CSVExport

5.3.2 (2018-03-22):

- changed: moved the friendly title url detection to the respond hook

5.3.1 (2018-03-08):

- changed: simplified comment notifications

5.3 (2018-02-22):

- changed: do not register page menu items if there is only one
- changed: no longer show sidebar menu item to manage all static pages

5.2.2 (2018-01-25):

- fixed: comment permissions

5.2.1 (2018-01-11):

- fixed: canComment permissions
- fixed: remove children when deleting a static page

5.2 (2017-10-04):

- added: support for image_enlarger

5.1.3 (2017-09-21):

- fixed: no longer save entity on reorder

5.1.2 (2017-09-06):

- several small chores/fixes

5.1.1 (2017-07-12):

- fixed: reordering of pages not always possible for moderators

5.1 (2017-02-28):

- added: isOutOfDate function is now hookable and used in cron
- added: last editor information to csv_exporter
- added: last revision information to csv_exporter
- added: more out-of-date settings
- added: out-of-date information to csv_exporter
- added: show a message of out-of-date content on the full view
- changed: out-of-date notification has bundled content

5.0 (2017-01-26):

- changed: increased Elgg version requirement to 2.3
- changed: static page now exist in correct containers
- changed: updated to correctly support migrating pages with entity_tools
- changed: use the new elgg api for icon handling
- fixed: incompatible function declaration

4.3 (2016-11-18):

- added: support for EntityTools migrate feature

4.2 (2016-10-06):

- changed: improved parent selector on static edit for big trees

4.1.1 (2016-09-15):

- changed: out of date page now has pagination to prevent OOM/OOT
- fixed: call to non namespaced class
- fixed: php notice when page is already routed

4.1 (2016-06-16):

- added: a normal list view is now available, special views are separated
- changed: moved admin menu item registration to menu hook
- changed: now using serve-file api for thumbnail
- changed: static entity menu has an edit link again
- changed: updated requirements to Elgg 2.1
- fixed: regular users should not be able to create site static pages

4.0.1 (2016-05-26):

- fixed: removing page icon didn't remove icontime

4.0 (2016-04-14):

- changed: moved pages to resource views
- changed: StaticPage->getURL() triggers hook 'entity:url', 'object' again
- fixed: correctly load dataroot for Elgg 2.0
- fixed: incorrect type hint check
- fixed: php notice about overruled function declaration
- fixed: static pages can't be liked
- fixed: typehint error
- fixed: unable to generate static menu cache
- fixed: validate correct usage of classes

3.0 (2016-03-08):

- added: comment icon/hooks
- added: option to list out-of-date static pages also sends notifications about out-of-date content
- added: support for search_advanced autocomplete
- added: thumbnail upload
- added: composer support
- added: entity menu in full view
- added: event to flush top pages menu cache
- added: filter option on out of date page to include group content
- added: group static pages (WIP)
- added: group static pages as plugin setting
- added: group widget
- added: information text above the table listing of the static pages
- added: it is now possible to reorder the static root pages
- added: moderators (WIP)
- added: notifications to the last editor of a static page on comment
- added: option to enable comments
- added: sidebar menu items are now cached to increase performance on large pages
- added: support for content subscriptions
- added: support for newsletter embed layout
- added: upgrade handling from old tree structure to new structure
- added: html5 required attribute added
- added: difference between clicking on link or toggle icon in sidebar menu
- added: file comment and removed a misplaced space
- added: sortable menu items
- changed: always draw in content layout for consistent layouts
- changed: fallback to title if searchdata is missing
- changed: moved permissions hooks to class file
- changed: permalinks to lowercase
- changed: refactoring of a lot of code
- changed: format to dm
- changed: layout of widget listing
- changed: notify the correct user about a comment
- changed: order entities by title
- changed: title and description are now required
- changed: updated to Elgg coding standards
- changed: upped requirement to elgg 1.9 release
- fixed: better feedback to the user if page not found
- fixed: limited recursive check for moderators to prevent errors
- fixed: set correct height for thumbnails
- fixed: #4 correct default access level for new pages
- fixed: also check for existing pagehandlers when saving friendly title
- fixed: call to member function on non-object for cached menu items in rare cases
- fixed: call to unneeded function causes php warnings
- fixed: changed sortable parameters for table sort
- fixed: content moderator should be able to see all metadata
- fixed: correctly check dir location of thumbnails
- fixed: correctly check for widget availability
- fixed: correctly check if a user manages guids in the menu tree
- fixed: friendly title not always shows up on the edit form
- fixed: getting root entity doesn't always work as expected
- fixed: group access in widget for group owners
- fixed: issues with access related to group owners and private pages
- fixed: issue with duplicate permalinks, now gives a warning
- fixed: moving lis between uls was a bit buggy
- fixed: no text shown if no static pages are found
- fixed: order of submenu items doesn't match admin side
- fixed: prevent fatal error call to non object
- fixed: problems with group (sub)pages
- fixed: provide correct access to private entities for moderators
- fixed: several access problems within groups
- fixed: show empty cells for non editable static objects in list
- fixed: static url fallback not always working
- fixed: table headers are no longer sortable
- fixed: unable to disable comments
- fixed: widget root pages should be ordered the same as the page
- fixed: correct redirect after removing a page in a group
- fixed: etag compression postfix
- fixed: issue with duplicate menu name conflict with plugin settings
- fixed: moderator access should be fixed now
- fixed: only show delete button if there is an entity
- fixed: remove quotes from friendly title
- fixed: replaced output/confirmlink deprecated notice
- fixed: respect global icon configuration
- fixed: updated header to correct md formating
- fixed: wrong title in search
- removed: custom comments id for consistency

2.3 (2013-07-24):

- added: sorting of subpages
- added: static subpages can be moved to other parent page (by editing)
- added: own view for search results

2.2 (2013-04-05):

- added: dutch translation
- added: static pages are searchable
- changed: static page without subpages now in one column layout
- fixed: missing language key for object:static
- fixed: manage link not showing
- fixed: sorting of menu items
- fixed: when deleting a parent page, the first child will be the new parent

2.1 (2012-02-16):

- added: Full Support for Elgg 1.8.3
- added: permalinks to pages
- changed: always use content layout for static pages for consistent styling

2.0 (2011-10-25):

- changed: made compatible with Elgg 1.8

1.2 (2011-07-12):

- added: friendly title links (no more guids)
	
1.1 (2011-07-08):

- added: option to create subpages (max 1 level)
- added: 2 column layout + menu when page has subpages or is a subpage

1.0:

- initial version