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

moderation UI doesn't allow mass operations #122

Closed
mhow2 opened this issue Nov 16, 2017 · 14 comments
Closed

moderation UI doesn't allow mass operations #122

mhow2 opened this issue Nov 16, 2017 · 14 comments
Milestone

Comments

@mhow2
Copy link

mhow2 commented Nov 16, 2017

Hi,
I am refering to this post (and their replies) https://listes.renater.fr/sympa/arc/sympa-fr/2017-01/msg00005.html

It is a regression from the previous versions of sympa and very annoying when it's needed to delete hundred of spam messages from the UI.

At some point the UI could provide a way to "moderate selected messages, reject others"

Regards,

@sivertkh
Copy link
Member

sivertkh commented Nov 16, 2017

+1 Our users complain about this as well.

@ikedas
Copy link
Member

ikedas commented Nov 16, 2017

wwsympa.fcgi itself accepts multiple items to process. If templates are changed appropriately, requested feature will be realized. Issue #27 is alike.

PR is awaited.

@mhow2
Copy link
Author

mhow2 commented Nov 16, 2017

@ikedas : as it is a regression, maybe we can take a look to what was the template before ? Could you lead potential contributors to the related files to alter ?

@ikedas
Copy link
Member

ikedas commented Nov 17, 2017

@mhow2, The template is web_tt2/modindex.tt2. Its content has been changed during development of 6.2.

@ikedas ikedas added the bug label Nov 21, 2017
@mhow2
Copy link
Author

mhow2 commented Nov 24, 2017

@ikedas : to be perfectly clear, from who do we wait a PR ? Is this bug going to be processed by the core team or by contributors ? I'm totally new with templating in sympa, I think it could go way faster with someone used to it. @dverdin maybe ?

@ikedas ikedas added enhancement and removed bug labels Nov 27, 2017
@l4uc3
Copy link

l4uc3 commented Dec 14, 2017

Hi everyone,
We had the same pb in university of Strasbourg. We changed the modindex.tt2 to improve the mass moderation. Enclosed is the modindex.tt2 we use.
modindex.tt2.gz
I added a pull request with the file. Up to you to merge it.
Have a good one !
Laurence

@dverdin
Copy link
Contributor

dverdin commented Dec 14, 2017

Thanks Laurence!
This was becoming worrying...
It's good to see you back to Sympa contribution, by the way. ;-)

@ikedas
Copy link
Member

ikedas commented Dec 16, 2017

Hi @l4uc3,

  • By your modification <form> elements are nested. Standards says this element should be "with no form element descendants".
  • On 6.1.x, it was sometimes reported that, with a form including a table having many (20, 30 or so) rows, some of checkboxes were omitted, and not all selected messages were distributed/rejected.

@l4uc3
Copy link

l4uc3 commented Dec 16, 2017 via email

@ikedas
Copy link
Member

ikedas commented Dec 18, 2017

@l4uc3,

I was careful not to put a form inside a form. Could you point me inside
the code where you see a nested element ?

I misunderstood. Indeed <form> are not nested.

But I still concerned: form attribute of <fieldset> element is widely supported? (several contemporary UAs support it, but some UAs not fully HTML5-compliant may not).

  • On 6.1.x, it was sometimes reported that, with a form including a
    table having many (20, 30 or so) rows, some of checkboxes were
    omitted, and not all selected messages were distributed/rejected.

I didn't know. I will test and think of a solution if I see a problem.
Was it reproducible ?

I personally could not reproduce, but more than one persons complained.

@ikedas
Copy link
Member

ikedas commented Dec 25, 2017

PR above seems to be able to avoid problem I pointed out:

  • Use of <table> in <form>.
  • Separate <fieldset> compliant to HTML5.

@l4uc3
Copy link

l4uc3 commented Jan 3, 2018

@ikedas : thanks for your help. I put the new files on our servers.

@ikedas ikedas added this to the 6.2.26 milestone Jan 4, 2018
@ikedas
Copy link
Member

ikedas commented Jan 4, 2018

Thanks for checking my addition. If no problem is found in a few days, merge commits and close this issue.

ikedas added a commit that referenced this issue Jan 6, 2018
Additional modification to PR#141 by l4uc3 (issue #122) by l4uc3 & Ikedas
@ikedas
Copy link
Member

ikedas commented Jan 6, 2018

Merged. Thanks again l4uc3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants