• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve comments

- tighten page contracts

Validate page_num to avoid potential attacks and to provide proper error messages

    • -2
    • +2
    /openacs-4/packages/dotlrn/www/index.tcl
    • -2
    • +2
    /openacs-4/packages/dotlrn/www/one-community.tcl
- add meaningful title and subtitle to theme view

- allow viewer only for current parameter settings

- implement nice "display" mode based on disabled fields

- draft version for viewing parameters in a nicer way

file view.adp was initially added on branch oacs-5-9.

file view.tcl was initially added on branch oacs-5-9.

- help a developer by logging differences between the default settings and actual settings to the log file

- avoid potential confusion on version numbers

- added usage count on theme manager

- allow only deletion, when usage_count == 0

- Count only mounted subsites

- don't perform manual html escaping, since proper quoting is done on the resulting URL

Creation of this header is already done properly into ns_http

Add theme manager to admin pages, allowing to

- list current themes with potential modifications

- save modified themes under a new name

- delete themes

file delete.tcl was initially added on branch oacs-5-9.

file set.tcl was initially added on branch oacs-5-9.

    • -0
    • +0
    /openacs-4/packages/acs-subsite/www/admin/themes/set.tcl
file save-new.tcl was initially added on branch oacs-5-9.

file index.xql was initially added on branch oacs-5-9.

file index.tcl was initially added on branch oacs-5-9.

file index.adp was initially added on branch oacs-5-9.

Insert content-length only when transfer-encoding is not chunked

- Aligned and fixed behavior for encoding of request with respect to redirect in the two implementations

- Use only binary encoding in curl implementation for the file used to spool the body, to avoid

corruption of content (eventual encoding has already happened in its proper place)

- Allow only for curl to exploit native file POSTing capability (only way to POST files > 2GB)

TODO: wrap this behavior in the generic API

- Add content-length header when POSTing content, as some servers will require it (curl did this already)

- make boolean tests in .adp files more uniform

    • -1
    • +1
    /openacs-4/packages/search/lib/navbar.adp
    • -3
    • +3
    /openacs-4/packages/search/www/search.adp
    • -3
    • +3
    /openacs-4/packages/survey/www/index.adp
    • -3
    • +3
    /openacs-4/packages/survey/www/admin/one.adp
- make boolean tests in .adp files more uniform

    • -1
    • +1
    /openacs-4/packages/news/www/preview.adp
- make boolean tests in .adp files more uniform

- make boolean tests in .adp files more uniform

    • -5
    • +5
    /openacs-4/packages/faq/www/one-faq.adp
- make boolean tests in .adp files more uniform

make boolean tests in .adp files more uniform

    • -4
    • +4
    /openacs-4/packages/dotlrn/www/control-panel.adp
    • -1
    • +1
    /openacs-4/packages/dotlrn/www/member-add-2.adp
    • -1
    • +1
    /openacs-4/packages/dotlrn/www/members-chunk.adp
    • -8
    • +8
    /openacs-4/packages/dotlrn/www/admin/user.adp
- make boolean tests in .adp files more uniform

    • -1
    • +1
    /openacs-4/packages/chat/www/java-chat.adp
- brace "if" condition

    • -2
    • +2
    /openacs-4/packages/chat/tcl/chat-procs.tcl