• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

Reduce divergencies between oracle and postgres codebase by using api when available and avoiding unnecessary xql queries

Reduce divergencies between oracle and postgres codebase

Revert db_exec_plsql or Oracle will break, remove leftover xql files

  1. … 1 more file in changeset.
Reduce divergence between oracle and postgres

Uniform API when deleting folder, drill through some calling levels in stored procedure, use a simpler db_string instead of db_exec_plsql

  1. … 2 more files in changeset.
Fix boolean expressions in .adp file

Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
Fix: folder "name" is in fact "label" property, remove obsolete xql, remove superfluous ad_return_template

Allow to modify folder description

Fix idiom to check for string being populated

Use full <if @foo_p@ true> instead of undocumented shortcut idiom <if @foo_p@>

  1. … 1 more file in changeset.
normalize expression in adp

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7820 more files in changeset.
regenerated ducumentation

  1. … 251 more files in changeset.
Modernize script:

- use export_vars

- reduce redundancy

- remove misleading SQL statements

- brace SQL statements, when no substitutions are needed

pass required return url to included adp

add check before file moving to avoid violation of 'cr_items_unique_name' constraint

Fixed a seemingly 11 years old bug

- Introduce new proc ad_sanitize_filename implementing current best practices for ensuring a valid filename on most filesystems.

- Use it in every place where filename sanitization is performed in the code and deprecate fs::remove_special_file_system_characters.

TODO deprecate also util_text_to_html? Use case of sanitizing urls and filenames might have different requirements.

  1. … 4 more files in changeset.
Fix typo

Check if we have already a folder with same name before inserting, or we get error in the logs.

Remove small duplication

Prevent user from selecting source folder as destination folder when moving files. Localize feedback messages (thanks to Markus Moser for the germen translation)

  1. … 3 more files in changeset.
Remove debugging comment

Use name and title for the copy, rather than name as title and file_upload_name as name. This will make so copied files will have also the same title as the original when this was renamed.

Try conserving file extension in the name when adding the suffix

Localize untranslated messages in the copy file-storage script (thanks to Markus Moser for the german translation)

  1. … 3 more files in changeset.
Use a lazy but feasible check to decide if we have buttons for copy in the file storage

Fix hiding of delete and move buttons. For move I resolved using the

delete permission as a criteria, because otherwise one should ensure

also the availability of a suitable destination, which must be writable

and in none of the object's subtrees. Complicated and costly to execute everytime.

Fix spelling errors

  1. … 9 more files in changeset.
Allow copy of files/folders into the same folder of the original content. This is done by appending a numerical suffix to the name.

It required modifying copy stored procedures so they could accept a different name and title for the copy.

I have also removed redundant package definition in oracle code that was immediately overridden afterwards.

  1. … 10 more files in changeset.