[dev] [PATCH] to replace those of last week + icons
Adrien
souliane at mailoo.org
Mar 8 Oct 15:30:24 CEST 2013
Hi,
I send you again the patch "227" which was problematic (it is called
"230" in the attached file), and all the patches that followed since
they have been a little bit modified. So these patches for libervia can
be applied on the last public changeset 67e24c342e7f.
I also attach a patch for sat (plugin xep-0085: bug fix + improvement)
and the icons that are missing for the rich text editor.
I hope it will be fine enough to be commited, but there are of course
still some changes to be made. Regarding your feedbacks from last time:
- instead of opening a new panel, existing widgets are re-used... but
now, only if there are existing in the same tab
- we should discuss about what to do with the left space when rich text
mode is active (resize the text area or display a preview pane on the
right?)
- notification bar to show the recipient has been removed when in rich
text mode, because the recipients are already displayed in the To/Cc/Bcc
fields. We can have it back, but is it needed?
- status bar is still there, on the bottom of the rich text area and it
doesn't look good... I'll think about it.
Changes for Libervia:
#############################
server_side: put the blog entry content in its own span + CSS customization
#############################
bridge: asyncGetParamA takes a security_limit argument
browser_side: added support for user param of type "list"
#############################
browser_side: added the flag REUSE_EXISTING_LIBERVIA_WIDGETS
- do not create a new chat panel for contacts/groups if a similar one is
found in the same tab
- this goes with a modification of the methods to create new panels,
especially arguments handling
- improvement of the accepted groups list for MicroblogPanel (remove
duplicates and keep sorted)
#############################
browser_side: dialogs take **kwargs arguments + unibox helper method
- add the **kwargs arguments to the dialog classes, especially to pass
the Width='xxx' setting
- add a method getTargetAndData to UniBox, for external use and to get
the message recipient and body without dealing with the target hooks,
selected panels...
#############################
browser_side: added UIs for rich text editor and addressing to multiple
recipients
The rich text format is set according to a user parameter which is for
now not created,
so you will get a warning on the backend and no toolbar will be
displayed (see the actual commit message for more info about testing)
Best regards,
Adrien
On 10/02/2013 09:00 PM, Adrien wrote:
> Hi,
>
> here are some patches with the first version of the UIs for rich text
> and multi-user addressing + some various modifications.
>
> For libervia:
>
> browser_side: dialogs take **kwargs arguments + unibox helper method
> - add the **kwargs arguments to the dialog classes, especially to pass
> the Width='xxx' setting
> - add a method getTargetAndData to UniBox, for external use and to get
> the message recipient and body without dealing with the target hooks,
> selected panels...
> ----------------------------
> server_side: put the entry content in its own span + CSS customization
> ----------------------------
> browser_side: added UIs for rich text editor and addressing to multiple
> recipients
> ----------------------------
> bridge, browser_sider: added support for asyncGetParamA; set the rich
> text format according to a user parameter
>
> for now the parameter has not been created so you will get a warning on
> the backend and no toolbar will be displayed. For testing purpose you
> can set _debug to True in RichTextEditor: that will display one toolbar
> per format.
>
>
> For sat:
>
> tools and primitivus: better support for parameter of type list
> ----------------------------
> bridge, memory: added the parameter security_limit to asyncGetParamA so
> it can be used from libervia. refactorization in memory.py are related
> to that.
>
>
> Best regards,
> Adrien
>
>
> _______________________________________________
> dev mailing list
> dev at goffi.org
> http://lists.goffi.org/listinfo/dev
>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: libervia_228-232.patch
Type: text/x-diff
Taille: 74400 octets
Desc: non disponible
URL: <http://lists.goffi.org/pipermail/dev/attachments/20131008/ae8772a8/attachment-0003.patch>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: sat_657.patch
Type: text/x-diff
Taille: 7691 octets
Desc: non disponible
URL: <http://lists.goffi.org/pipermail/dev/attachments/20131008/ae8772a8/attachment-0004.patch>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: sat_media_16.patch
Type: text/x-diff
Taille: 171329 octets
Desc: non disponible
URL: <http://lists.goffi.org/pipermail/dev/attachments/20131008/ae8772a8/attachment-0005.patch>
Plus d'informations sur la liste de diffusion dev