• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prefer call of "pretty_link" on package_id to avoid suprises on pages from shared locations

improve location of comment

Added archiving of items, reduced usage of images for icons

When an item is archived, it is not shown to plain users. Internally,

when an item is archived, the publish status is changed to "expired"

and removed from search/syndication. When an item is archived, it can

be brought via "toggle-publish-status" to state "production" again.

Future versions might rename the item in such conditions, but

currently, it is NOT renamed, so one cannot create one more item in

the same folder with the same name.

For realizing this functionality, the includelet "form-usages" accepts

now an additional optional value for "-buttons" named "archive". The

publish status toggle can be used now for switching from

"production"->"ready", "ready"->"production" and

"expired"->"production".

Additionally, the usage of .png images as icons was reduced by CSS

elements for easier styling (e.g., for different themes) and for

reducing less server requests and better responsiveness. In particular

the images for active.png and inactive.png are not necessary any more

and were removed.

Bumped version number to 5.10.1d8 to enforce loading of the message

keys.

  1. … 13 more files in changeset.
white-space changes

  1. … 1 more file in changeset.
improve safety of SQL queries

  1. … 3 more files in changeset.
remove obsolete variable

Extend high-level filtering by providing "-unless" clause in form-field class "form_page"

- added "unless" clause to form-field class "test_section" to be able to filter

certain pages which should not be included

- reduced redundancy be factor out "compute_filter_clauses" method for FormPage

(used in includelet procs (class "form-usages") and form-field procs (class "form_page")

  1. … 3 more files in changeset.
rename newly introduced flag of form-usages from to "-allow_clipboard" to "-with_checkboxes"

  1. … 1 more file in changeset.
Additional flag for includelet "form-usages": -allow_clipboard true|false

This makes it possible to use the includelet also without bulk-actions

for adding/removing content to the clipboard by including the checkmarks

per table and by table row.

  1. … 3 more files in changeset.
more cleanup for setting of potentially unencoded return_url

  1. … 3 more files in changeset.
Remove hard-coded styling with the "style" element to get a more consistent appearance

(many thanks to Monika Andergassen for looking into this).

  1. … 5 more files in changeset.
make comments more uniform

make function "get_current_folder" more robust in case invalid data is fed in

Added support for "-orderby" to includeletes "toc" and "book"

Previously, these includelets could be only used when a page_order was given.

In some cases, the base functionality came in handy for other cases, such

as e.g. a glossary.

use colon prefix for cmd names, simplify logic slighly

Make sure package_id is set (many thanks to Günter Ernst)

made includelet "categories" folder aware (on can pass "parent" in form of a page-ref to the includelet)

refactored some of the code to increase reusability

  1. … 1 more file in changeset.
Minimize quoting, return content in one sweep

Fix typos

make end of resub options explicit

  1. … 12 more files in changeset.
improve spelling

  1. … 1 more file in changeset.
ensure, that the minimal set of controls is provided, also, when there are hidden form fields

added value checker from page filters to slots: "nohtml" and "html"

Made flowplayer more secure by reject markup in argument

  1. … 3 more files in changeset.
perform checking on input variable

remove colons before object_id, otherwise there is an error from general comments

Use common interface for object reference in bulk actions

- use same interface in child-resources and form-usages (when bulk-actions are used)

- move "get_ids_for_bulk_actions" from page to package (to make in usable in www/admin)

- use consistently "get_ids_for_bulk_actions" (also in www/admin/*.tcl)

- provide backward compatibility (still support "name" and "-parent_id")

  1. … 8 more files in changeset.
don't rely on uppercase header field names

  1. … 10 more files in changeset.
no need to subst

improve spelling

fix comment and missing arguemnt