summaryrefslogtreecommitdiff
path: root/ick2/apibase.py
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Revert "Add: MemoryPersitentState"Lars Wirzenius1-2/+2
This reverts commit 581f6cd53f57599326439dccb355e882e7858faa.
2019-10-18Revert "Change: get and use tokens"Lars Wirzenius1-43/+20
This reverts commit 4dd2e14cd15ad2840cfc3636251802f8eb0bc9ba.
2019-10-18Revert "Change: refer to resource by name, not id"Lars Wirzenius1-10/+11
This reverts commit 03a559309b8790f6bc3ad3d92300a4c172910abb.
2019-10-18Revert "Drop: TransactionalState.has_resource (bad, racy)"Lars Wirzenius1-0/+6
This reverts commit 2cdb28a8350478a5d92607be8c95d5e5d43f4dfc.
2019-10-18Revert "Drop: use of old persistent state classes"Lars Wirzenius1-1/+1
This reverts commit 8344a860d226d8a5172bcb2e9de5946717a950ca.
2019-10-18Revert "Add: MuckStore"Lars Wirzenius1-2/+1
This reverts commit b87027a3c7d3bc88e2674c9e22c8745c9dbf1043.
2019-10-18Revert "Add: TokenGetter"Lars Wirzenius1-4/+0
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
2019-08-03Add: TokenGetterLars Wirzenius1-0/+4
2019-08-03Add: MuckStoreLars Wirzenius1-1/+2
2019-08-03Drop: use of old persistent state classesLars Wirzenius1-1/+1
2019-08-03Drop: TransactionalState.has_resource (bad, racy)Lars Wirzenius1-6/+0
2019-08-03Change: refer to resource by name, not idLars Wirzenius1-11/+10
2019-08-03Change: get and use tokensLars Wirzenius1-20/+43
2019-08-03Add: MemoryPersitentStateLars Wirzenius1-2/+2
2018-10-02Fix: shut up pylint3Lars Wirzenius1-1/+1
2018-07-26Change: return 409 if project is missing parameters, not 404Lars Wirzenius1-1/+1
2018-07-26Change: upon triggering build, check project defines all parametersLars Wirzenius1-0/+3
2018-07-23Change: allow projects, pipelines, etc, have a foo/bar/baz syntaxLars Wirzenius1-3/+4
2018-07-09Change: give NotMuch its optional args everywhereLars Wirzenius1-2/+2
2018-05-17Change: how controller stores persistent dataLars Wirzenius1-29/+30
Replace old State class with new FilePersistentState and TransactionalState classes. Use new Resource class instead of raw dicts. Use context managers for creating, updating resources, to avoid mistakes from accidentally not saving changes. Overall persistence should now be rather simpler. This should open up a possibility for changing the controller to insert more actions into the build graph, to trigger notifcations via the workers.
2018-04-25Change: GET /work, POST /worker use access token to identify workerLars Wirzenius1-1/+1
2018-04-19Change: trigger a project, build all pipelines in the projectLars Wirzenius1-2/+2
2018-01-21Fix: retain next_build_id when project is updatedLars Wirzenius1-5/+8
2018-01-19Update: copyright yearsLars Wirzenius1-1/+1
2018-01-19Change: builds are now numbered foo/123, as are logsLars Wirzenius1-4/+9
2017-12-15Add: ApiBase.get_state methodLars Wirzenius1-0/+3
2017-11-29Add: log traceback when 404Lars Wirzenius1-1/+2
2017-11-26Add: log failures to find resources in apibaseLars Wirzenius1-2/+8
This helps users (me) figure out what's wrong more easily.
2017-11-25Fix: PUT /projects/foo with no foo existing, now an errorLars Wirzenius1-1/+7
2017-11-25Fix: POST /project with an existing project name failsLars Wirzenius1-4/+12
2017-11-25Fix: adapt to new keyword argument from apifwLars Wirzenius1-10/+10
Handle any keyword arguments that may happen in the future.
2017-11-18Refactor: move ResourceApiBase to apibase.pyLars Wirzenius1-0/+28
2017-11-18Refactor: move APIbase into its own moduleLars Wirzenius1-0/+129