History log of /dokuwiki/ (Results 426 – 450 of 10561)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
801ecc1407-Jan-2024 Andreas Gohr <andi@splitbrain.org>

Fix Api Tests

6e1ddc6406-Jan-2024 Andreas Gohr <andi@splitbrain.org>

fix ApiCoreAclCheckTest

This is mostly syntactic fix. I did not check how sensible these tests
are and did not switch from positional to named arguments

cad27e8006-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: move user related tests to usermanager plugin

d1f06eb406-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: ApiCore tests fixed and extended

7de5ac5506-Jan-2024 Andreas Gohr <andi@splitbrain.org>

Another argument parsing fix for ApiCall

When using named parameters, you can expect to be able to leave out any
optional parameter and have it take it's default, even when you specify
another "late

Another argument parsing fix for ApiCall

When using named parameters, you can expect to be able to leave out any
optional parameter and have it take it's default, even when you specify
another "later" parameter. Luckily we already know all the defaults from
reflection anyway.

show more ...

b209907b06-Jan-2024 Andreas Gohr <andi@splitbrain.org>

Clean up APICall tests

No need to retest all the docblock parsing when that is tested elsewhere
already.

04acbb6f06-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: fix named parameter handling in APICall

We cannot set missing paramerers to null. We need to make sure they are
not set at all.

7625c99506-Jan-2024 Andreas Gohr <andi@splitbrain.org>

OpenAPI docs: fix error code deduplication

8268b28406-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: make responses sortable

All responses now need to implement __toString() so they can be easily
sorted or printed.

9e6b19e606-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: fix listPages

Not all needed fields are returned by the search callback

5bef72be06-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: getPageHistory is nicer than getPageVersions

0eb4820c06-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: checkPage needs to consider revision

b115d6db05-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: always pass revision as integer

7288c5bd05-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API fix depth handling in listPages

58ae474705-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: initialize responses explicitly

Instead of passing unknown arrays, explicit parameters are passed.
Revision handling should now work correctly since we can pass revision=0
but a mtime.

b433b69e05-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: remove file and date transformations

We always deal with timestamps or base64 now. Removing some of the magic
makes everything less complex.

Only affected plugin is confmanager, which needs an

API: remove file and date transformations

We always deal with timestamps or base64 now. Removing some of the magic
makes everything less complex.

Only affected plugin is confmanager, which needs an update.

show more ...

d385663705-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: clean up error codes

Error codes are now extracted from API core and printed on the OpenAPI
overview page. This makes it easier to see what is in use.

Error messages have been cleaned up, some

API: clean up error codes

Error codes are now extracted from API core and printed on the OpenAPI
overview page. This makes it easier to see what is in use.

Error messages have been cleaned up, some new codes have been assigned.

Some errors have been removed. Eg. it is fine to iterate a media
namespace you don't have read access to. The result will either be empty
or contain files from lower namespaces that you *do* have access to.

show more ...

902647e605-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: Do not assume the start page for empty pageIDs

0e8fe81205-Jan-2024 Andreas Gohr <andi@splitbrain.org>

ensure api explorer stays english

See https://github.com/Authress-Engineering/openapi-explorer/issues/207

e4e3d43905-Jan-2024 Andreas Gohr <andi@splitbrain.org>

moved OpenAPI generator to correct namespace

added missing doc blocks

0caa81c705-Jan-2024 Andreas Gohr <andi@splitbrain.org>

API: move create/delete user calls to usermanager

This only moves the calls. A proper refactoring of the user manager
would make sense:

1) introduce a helper component covering the basic operations

API: move create/delete user calls to usermanager

This only moves the calls. A proper refactoring of the user manager
would make sense:

1) introduce a helper component covering the basic operations including
proper error signalling using Exceptions
2) refactor admin and cli components to make use of 1)
3) make the operations in 1) available via the API

show more ...

f1cc602f05-Jan-2024 Andreas Gohr <andi@splitbrain.org>

OpenAPI Gen: fix requirement handling

6cce333205-Jan-2024 Andreas Gohr <andi@splitbrain.org>

Reworked API definition

This cleans up the API:

* no more compatibility with obsolete wiki API
* no more difference between wiki.* and dokuwiki.* calls -> core.*
* use of optional parameters avoids

Reworked API definition

This cleans up the API:

* no more compatibility with obsolete wiki API
* no more difference between wiki.* and dokuwiki.* calls -> core.*
* use of optional parameters avoids double definitions
* use Response objects for complex results
* always use named primitives as input
* major cleanup of docblock descriptions

show more ...

dd7472d304-Jan-2024 Andreas Gohr <andi@splitbrain.org>

OpenAPI Gen: handle Object to Schema transformation correctly

All the basic mechanisms should now be in place to clean up the API

53c2a55704-Jan-2024 Andreas Gohr <andi@splitbrain.org>

OpenApi Gen: add toString method for easier testing

1...<<11121314151617181920>>...423