| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This removes some 'u' prefixes and converts simple format() calls to f-strings.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Loic Dachary <loic@dachary.org>
|
|
|
|
|
|
|
| |
- Adds a "type" column to the Collection object and allows the
CollectionItem model to contain any object.
- Changes "items" to "num_items" as per TODO
- Renames "uploader", "creator" and "user" to a common "actor" in most places
|
|
|
|
|
|
|
| |
WTForms documentation:
> The TextField alias for StringField is deprecated.
Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Has some issues, will iteratively fix!
Conflicts:
mediagoblin/gmg_commands/__init__.py
mediagoblin/gmg_commands/deletemedia.py
mediagoblin/gmg_commands/users.py
mediagoblin/oauth/views.py
mediagoblin/plugins/api/views.py
mediagoblin/tests/test_api.py
mediagoblin/tests/test_edit.py
mediagoblin/tests/test_oauth1.py
mediagoblin/tests/test_util.py
mediagoblin/tools/mail.py
mediagoblin/webfinger/views.py
setup.py
|
| |
| |
| |
| | |
Replaced Required with InputRequired.
|
| |
| |
| |
| | |
I will be switch to use ``from __future__ import unicode_literals`` later.
|
|/ |
|
|
|
|
| |
This commit sponsored by Roberto Capone. Thanks!
|
|
|
|
|
|
| |
This also adds upload limit checks to the piwigo plugin!
This commit sponsored by Sam Black. Thank you!
|
|
|
|
| |
This reverts commit 9da4e8049f2de900f7aa12f2fed8c60d6749ff0b.
|
| |
|
| |
|
| |
|
|
|
|
| |
suggestions.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This tool creates an initial media entry for a given user.
No magic. It just prefills the license with the user's
default license and adds the user as uploader.
|
|
|
|
| |
And fix tests.
|
|
|
|
|
| |
This allows to return piwigo xml errors.
Those can also be matched into html error codes.
|
| |
|
| |
|
|
|
|
|
| |
wtforms.validators.Optional doesn't take an argument.
I don't know, why I gave it one.
|
| |
|
|
|
|
| |
If there is a user logged in, show his name.
|
|
|
|
|
|
|
| |
Using the brand new itsdangerous sessions to power the
sessions for piwigo.
The real point is: Clients want to have the session in a
"pwg_id" cookie and don't accept any other cookie name.
|
|
|
|
|
| |
To make things a bit easier, switch to WTForms
for validating the received data.
|
|
|
|
|
| |
This one was a fake thing to make clients happy.
Real sessions coming sonn.
|
|
|
|
| |
That's somewhat, what piwigo does.
|
| |
|
|
|
|
|
|
| |
six allows us to smoothly get more forward compatible with
py3. The idea is to change things over to use six, when/if
we feel a need for it.
|
|
|
|
|
| |
This one needs to return just "2.5.0 (Mediagoblin)" instead
of "Piwigo 2...".
|
|
|
|
|
|
|
|
| |
Without a session and a logged in user, this can't go much
further.
Misses check for the file upload field.
Need refactored test tool for this.
|
|
|
|
|
|
|
|
| |
This function receives part of an upload. Does most
parameter validation, but does not safe the data anywhere
for now.
Also fake pwg.images.exist
|
|
|
|
|
|
|
|
|
|
|
| |
- pwg.session.getStatus returns the current user as
"fake_user". When we have a session, we'll return
something better.
- pwg.categories.getList add a name and the parent id for
its one and only "collection".
- Improve logging a bit.
|
|
|
|
|
|
|
| |
shotwell needs a pwg_id cookie to continue.
And really, it's the only cookie it supports, so in the
long run, we need to send a proper session cookie as
pwg_id.
|
| |
|
| |
|
|
|
|
|
|
| |
- The xml formatting is now in the main function.
- Add PwgNamedArray to have named lists in xml output.
- Remove gmg.test method
|
| |
|
|
This one just puts up the basic endpoint, some
infrastructure and a fake login method.
Lots more needed.
|