-
Notifications
You must be signed in to change notification settings - Fork 100
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
#11: Spurious error on duplicate keys with admin sync, and changes on configuration for owners/moderators #275
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
They dump or restore list users (members, owners or editors) in database from/to file. [change] File for members was changed to `<list dir>/member.dump` which will replace: - `subscribers` (used by Sympa prior to 5.4a.1) - `subscribers.db.dump` (generated by dump command) - `subscribers.closed.dump` (backup for closed list) [change] Additional files to dump owner or editor: `<list dir>/owner.dump`, `<list dir>/editor.dump`. They will be used as initial (permanent) owners/editors, or as backup for closed list [*change] owner and editor parameters in list config file are no longer sync with actual owners/editors. They are used only at the time of installation of list.
…gistered as permanent (not included) members. Also, subscription suspension option are cleared and so on. Fxied by dump and restore all information of subscribers in database.
- `--dump` dumps list members/owners/editors to file under list directory. - `--suck` restores list members/owners/editor from this file.
…), respectively. Options for sympa.pl are also renamed to --dump_users and --restore_users.
… admin sync - Now sync_include_admin() passes cache and updates admin_table directly. - It no longer reload owner/editor in list config. Known bug: Big datasource consumes large memory.
… members. Reorganizing user interface (1).
[-feature] "owner" and "editor" in list profile (create list template) are written in dump files when a list is created. ToDo: edit.tt2 should refer to edit_list.conf.
…description" to "data_source" section.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR depends on PR #267.
Bug fix:
Changes/improvements:
owner
andeditor
parameters inconfig
file are no longer loaded.owner
andeditor
are split into dump files automatically: users need not updateconfig.tt2
.config
file, they also have to put dump files and have to runsympa.pl --restore_users
.Known bugs:
Big data source consumes large memory, because entire records are read at once when users are synchronized.FixedOwner/editor edition pages do not respect privileges defined byFixededit_list.conf
. This will be fixed later.