| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|