Goffi
f8a7232e7b
install (setup.py): added missing extra_requires
2020-09-13 22:49:10 +02:00
Goffi
5ec9d7ffec
plugin invitation: if "thumb_url" is not set, try to use one from list of interests
2020-09-05 20:23:25 +02:00
Goffi
6f139b80e1
plugin list of interests: normalize item ID + added get method
2020-09-05 20:22:23 +02:00
Goffi
35920d53af
core (memory/memory): fixed assignations
2020-09-05 20:20:05 +02:00
Goffi
33eab526b9
component file sharing: generate thumbnails for videos
2020-08-25 08:55:16 +02:00
Goffi
644277a659
tools: new video module:
...
this module is really basic at the moment, and use `ffmpeg` if present to make thumbnails.
2020-08-25 08:54:13 +02:00
Goffi
ba8496ae36
plugin XEP-0264: only log "fix orientation" when the option is used
2020-08-25 08:52:46 +02:00
Goffi
ea351c6ff4
plugin XEP-0234: fixed mime type in buildFileElementFromDict
2020-08-25 08:51:35 +02:00
Goffi
e414de9fa9
plugin list of interest: fixed registerPubsub
2020-08-15 22:54:42 +02:00
Goffi
7e1a281885
changelog: added alternative media player (libervia) and invitation/delete (jp)
2020-08-15 20:30:20 +02:00
Goffi
4909433e83
jp (blog/edit): fixed edition when syntax is specified
2020-08-15 20:29:44 +02:00
Goffi
8895c9c898
plugin XEP-0277: fixed item2mbdata call
2020-08-15 20:29:07 +02:00
Goffi
937a1db89f
component file sharing: added Access-Control-Expose-Headers CORS header:
...
without this header, the range header in response was not exposed to client. This could
cause trouble is a javascript application was needing to access it.
2020-08-15 20:28:07 +02:00
Goffi
db286b98e4
jp (invitation): delete implementation
2020-08-13 23:46:18 +02:00
Goffi
53f475bf72
plugin identity: new methods identitiesGet and identitiesBaseGet
...
`identitiesGet` retrieve several identities at once, in parallel.
`identitiesBaseGet` retrieve essential identities (roster + own)
2020-08-13 23:46:18 +02:00
Goffi
4df2b3b1d6
plugin email invitation: new invitationDelete method
2020-08-13 23:46:18 +02:00
Goffi
f6a33c170b
plugin email invitation: guests are now automatically added to host roster in guests group
2020-08-13 23:46:18 +02:00
Goffi
a8cb6e5a70
plugin email invitation: fixed create/simpleCreate + invitee_name:
...
- fixed invitationSimpleCreate signature
- fixed nicknames settings in create
- use async coroutines
- guest jid is now stored (as a string), avoiding the need to check profile to retrieve it
- invitee_name is now needed in invitationSimpleCreate
2020-08-13 23:46:18 +02:00
Goffi
e54d37fbc3
plugin XEP-0077: None can now be used in to_jid argument in unregister:
...
if None is used, the XMPP account of the profile will be deleted.
2020-08-13 23:46:18 +02:00
Goffi
88174c2100
plugin XEP-0329: download thumbnails:
...
- thumbnails are now downloaded directly when BoB is used, `filename` is then filled
- `utils.asDeferred` is now used for Jingle methods, so `async` coroutines can be used
- (XEP-0231): fixed `dumpData`
2020-08-13 23:46:18 +02:00
Goffi
8854f96aec
tools (image): fix_orientation on resize + fix_orientation method:
...
a new argument (`True` by default) fix orientation (i.e. rotate according to EXIF data) of
image when resizing it.
A new `fix_orientation` method (unused for now) let do it independently
2020-08-13 23:46:18 +02:00
Goffi
bfa4bbae9e
comp file sharing: minor core re-organisation
2020-08-13 23:46:18 +02:00
Goffi
5c46b74c69
plugin XEP-0264: fix orientation of thumbnails:
...
Rotation of thumbnailis is now modified according to EXIF orientation data. Original image
is not modified as user may want to keep it, and orientation transformation can modify
encoding parameters.
Update `pillow` minimum version to the first one with `exif_transpose` implementation.
2020-08-13 23:46:18 +02:00
Goffi
7e404b9f98
plugin XEP-0264: updated size to get values closest to standard one:
...
- sizes used for thumbnails are now matching common resolutions.
- added BIG and FULL_SCREEN sizes
- sort thumbnails by sizes when parsing them.
2020-08-13 23:45:59 +02:00
Goffi
f2085455f7
plugin XEP-0277: set "uri" in item2mbdata
2020-08-03 08:45:49 +02:00
Goffi
d1b2b462b7
changelog: update
2020-08-02 20:31:06 +02:00
Goffi
92aa584e4c
plugin identity: added "filename" metadata for avatar
2020-08-02 17:40:07 +02:00
Goffi
81a11ba6d6
jp (file/share): added commands to manage affiliations and configuration + documentation
2020-08-01 16:25:50 +02:00
Goffi
9ee767d0cb
plugins invitation, invitation-file: adapt service JID and affiliation:
...
if the user part of the service is missing while creating and invitation, it's added
because using only the domain will lead to a different repository depending on the
requester. In addition, the invitee is added to the repostiroy path as a member, to be
sure he/she can access it.
2020-08-01 16:24:03 +02:00
Goffi
3f739a8ac8
plugin email invitation: simple invitation creation
...
The new `invitationSimpleCreate` is a simplified way to create an email invitation.
2020-08-01 16:19:50 +02:00
Goffi
25a429fa1b
plugin list for interest: build ID using URI or file path metadata:
...
by using those metadata, we get the same ID for 2 interests linking to the same location.
This has been done to avoid duplicated interests.
2020-08-01 16:17:19 +02:00
Goffi
7dd1873adf
plugin XEP-0329: added way to change access_model using PubSub-like configuration:
...
Those methods are not standard, but have been done in a PubSub-like way to prepare the
move to a PubSub based file sharing system.
2020-08-01 16:14:37 +02:00
Goffi
3b5d2313a2
plugin XEP-0329: implemented ways to get/set affiliations:
...
PubSub-like affiliations can now be get/set using non standard methods. This has been done
to prepare the move to a pubsub based file sharing system.
2020-08-01 16:12:44 +02:00
Goffi
ea5e0a46f5
core (memory): setFileAccessModel implementation:
...
this method let change read permission using access model similar to what is used with
Pubsub.
2020-08-01 16:07:39 +02:00
Goffi
97375ee1db
core (memory): getFileAffiliations and setFileAffiliations implementations:
...
those methods allow to change files permissions using affiliations similar to the ones
used with PubSub.
2020-08-01 16:06:12 +02:00
Goffi
800fbd3f7c
core (memory): files are now public by default except for those in root directory:
...
using public permissions by default makes permissions change more easy as we don't have to
recursively change all permissions of sub files when changing directory. Root directories
are private by default.
2020-08-01 16:02:41 +02:00
Goffi
edd33a126d
core (xmpp): text can now be specified in sendError
2020-08-01 15:59:49 +02:00
Goffi
ef23eca7cd
plugin XEP-0050: typo
2020-08-01 15:58:20 +02:00
Goffi
d7844a98b4
component file sharing: add/parse affiliation when possible
2020-07-17 13:00:10 +02:00
Goffi
cb49365811
memory: new "affiliation" metadata for files:
...
this affiliation is similar to pubsub affiliation, for now only `owner` is used.
Affiliation is set when possible (peer_jid is set notably).
2020-07-17 12:58:57 +02:00
Goffi
f8b346e115
plugin XEP-0060: serialise psItemsGet result with data_format
2020-07-17 12:57:23 +02:00
Goffi
820fa05d49
tools (common/template): use to_json instead of json + added missing args to date_fmt
2020-07-16 09:07:26 +02:00
Goffi
9aa7b1b7f2
tools (common/data_objects): removed deprecated code:
...
`BlogItem`, `BlogItems` and `parsePubSubMetadata` are not needed anymore with the new blog
data serialisation.
2020-07-16 09:07:26 +02:00
Goffi
95096df52f
plugins tickets, merge-requests: ticketsGet and mergeRequestsGet serialisation:
...
those methods now return data serialised with `data_format.serialise`
2020-07-16 09:07:26 +02:00
Goffi
e03eb5bfcc
plugins XEP-0059, XEP-0060, XEP-0277, XEP-0313: better serialisation:
...
`data_format.serialise` is now used for `mbGet`, and RSM/MAM values are not transtyped to
strings anymore. A serialised dict is now used, items are put in the `items` key.
Comments handling has been refactored to use a list for the potentially multiple comments
nodes.
`rsm` data are now in a `rsm` key of the dict, and `mam` data are merged with other
metadata.
2020-07-16 09:07:20 +02:00
Goffi
282d2a93d9
tools (common/data_objects): implemented json dumping for BlogItems/BlogItem
2020-06-19 15:47:16 +02:00
Goffi
4b0d91cb2e
common (template): better json dumping:
...
default method is set for json dumping (the `tojson` filter), if the object has a `json`
attribute, it will be called, otherwise it is replaced by None, this avoids crash when
rendering the template.
2020-06-19 15:45:57 +02:00
Goffi
c68eb151ec
plugin file sharing management: added a fileSharingDelete method
2020-06-19 15:39:32 +02:00
Goffi
348ca4d2cb
plugin list of interests: added id to data + fixed key conflict:
...
fixed conflict between interest namespace and files namespace.
2020-06-19 15:38:17 +02:00
Goffi
c2788fea50
plugin list of interest: new "interestRetract" method
2020-06-19 15:37:02 +02:00