Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.2] Rewriting code on list configuration form #13

Merged
merged 39 commits into from
May 11, 2017
Merged

[6.2] Rewriting code on list configuration form #13

merged 39 commits into from
May 11, 2017

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented May 3, 2017

Entirely refactored edit_list_request.tt2. Simpler and consistent logic to compile configuration

Fixed bugs:

  • [SourceSup#9741] "percentage of list members in VERP mode" is order by left justified
  • Access privilege ("read" etc.) of paragraph did not override that of sub-parameter:
    • e.g. If "archive" gives "read" privilege and "archive.web_access" gives "write", latter is editable on edit_list form but change is ignored.
  • [SourceSup#7914] Web interface let define the same email twice as list owner.
  • [SourceSup#9972] Existing item in member_include list configuration paragraph cannot be removed.
  • Text parameter values including "%xx" are broken: For example "%a5" is altered to "/", "%3a" to ":".
  • and several minor flaws.

Changes:

  • List parameter "cookie" will be masked, even if it is accessible (normally by listmaster).
  • Obsoleted "date" parameter of following paragraphs: last_instantiation, creation and update.
  • Internal parameters, e.g. "creation", may not be editable.

Known bug:

  • If owner_include, editors or editor_include is empty, then [Update] on edit_list form is clicked without any changes, configuration file will be updated.
    This seems to be caused by inconsistency of current code to save/load config file, and may be fixed by another pr.

(6 May update)
(8 May update)

* Some widgets have no id attribute.
* Incorrect name attributes of some fields, although not used.
* Sympa::ListDef: Adding extended field_type: dayofweek, lang, reception, status, unixtime, visibility.
* wwsympa.fcgi: Simplified do_edit_list_request a bit.
…agraphs: last_instantiation, creation and update.
Fixed by returning callback to encode results if it is called by web template.
* Some widgets have no id attribute.
* Incorrect name attributes of some fields, although not used.
* Sympa::ListDef: Adding extended field_type: dayofweek, lang, reception, status, unixtime, visibility.
* wwsympa.fcgi: Simplified do_edit_list_request a bit.
…agraphs: last_instantiation, creation and update.
Fixed by returning callback to encode results if it is called by web template.
…ic to compile configuration (maybe more or less buggy at present, though).

Fixed bug:
* [#9741] "percentage of list members in VERP mode" is order by left justified
@ikedas ikedas added this to the 6.2.17 milestone May 5, 2017
ikedas added 5 commits May 6, 2017 11:25
"read" or more restrictive privileges will be assigned on such parameters.
For example "%a5" to "/", "%3a" to ":".

Fixed by removing "unescape_html" filtering on wwsympa.
It's no longer sure if once such adjustment was useful.
@ikedas ikedas merged commit a0e618d into sympa-community:sympa-6.2 May 11, 2017
@ikedas ikedas deleted the 6.2-edit_list-rewrite-2 branch June 27, 2017 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant