Commit Graph

  • c73cf47818 use the term headers (not head) consistently externally Samuele Pedroni 2016-01-29 11:25:59 +01:00
  • d6f35dbb5d Merge pull request #376 from zyga/skills-type-security Michael Vogt 2016-01-29 10:37:00 +01:00
  • 60228ffcfb Use snappy.AppYaml.Daemon as the type in systemd.ServiceDescription Michael Vogt 2016-01-29 10:03:16 +01:00
  • f0a26b413d use overlord that is part of the SnapTestSuite (thanks Gustavo!) Michael Vogt 2016-01-29 08:26:46 +01:00
  • acd85ef6dc Merge branch 'refactor/add-overlord-install' into refactor/add-overlord-remove Michael Vogt 2016-01-29 08:24:48 +01:00
  • 0c27d80ddb use overlord that is part of the SnapTestSuite (thanks Gustavo!) Michael Vogt 2016-01-29 08:19:58 +01:00
  • facf3f97f4 Merge remote-tracking branch 'upstream/master' into refactor/add-overlord-install Michael Vogt 2016-01-29 08:18:57 +01:00
  • afa7bceb99 Merge pull request #387 from mvo5/feature/snap-yaml-refactor-type Michael Vogt 2016-01-29 07:54:34 +01:00
  • cd1add35c9 fix log message Samuele Pedroni 2016-01-28 22:48:29 +01:00
  • 5d1998b3b5 Merge pull request #388 from stevenwilkin/remove-unused-variable-from-test Leo Arias 2016-01-28 13:44:09 -06:00
  • 41d38bf581 integration-tests: Remove the target release and channel Leo Arias 2016-01-28 12:36:12 -06:00
  • ddcf48c75e draft REST API endpoint documentation Samuele Pedroni 2016-01-28 17:32:25 +01:00
  • 988ff3fff4 follow the convention for X- headers Samuele Pedroni 2016-01-28 17:23:11 +01:00
  • 239c41b1fe make use of X-Assertions-Count Samuele Pedroni 2016-01-28 17:19:37 +01:00
  • 35dc4a547b address most issues on the daemon side Samuele Pedroni 2016-01-28 17:08:11 +01:00
  • 0e207dd21a sketch of snap asserts... with integration test Samuele Pedroni 2016-01-28 16:47:01 +01:00
  • dc9fce2d2f snappy: remove unused variable from test Steven Wilkin 2016-01-28 15:42:13 +00:00
  • b9cae045ab Merge branch 'skills-repo-grantrevoke' into skills-rest-api Zygmunt Krynicki 2016-01-28 15:56:14 +01:00
  • 68fc14a1dc skills: use shorter snap names in test data Zygmunt Krynicki 2016-01-28 15:42:05 +01:00
  • 184ef8294f skills: differentiate skill and slot names in test data Zygmunt Krynicki 2016-01-28 15:41:28 +01:00
  • 08d994c4d9 Merge branch 'skills-repo-slots' into skills-repo-grantrevoke Zygmunt Krynicki 2016-01-28 15:38:47 +01:00
  • 1569745a97 adapt to new interface Samuele Pedroni 2016-01-28 15:23:12 +01:00
  • f4efa08165 skills: validate snap name when adding slots Zygmunt Krynicki 2016-01-28 14:58:23 +01:00
  • 91d5ad8082 Merge remote-tracking branch 'upstream/master' into skills-repo-slots Zygmunt Krynicki 2016-01-28 14:55:04 +01:00
  • 5adba465a3 Merge pull request #369 from zyga/skills-repo-skill Zygmunt Krynicki 2016-01-28 14:54:38 +01:00
  • 911bb68a50 skills: improve some error messages Zygmunt Krynicki 2016-01-28 14:53:00 +01:00
  • cdbfe5a0fc skills: remove unused snap slot maps Zygmunt Krynicki 2016-01-28 14:49:29 +01:00
  • 1627f7e378 Merge branch 'skills-repo-skill' into skills-repo-slots Zygmunt Krynicki 2016-01-28 14:47:56 +01:00
  • a43640d0be skills: remove unused snap skill maps Zygmunt Krynicki 2016-01-28 14:47:01 +01:00
  • 8cd802931d skills: improve some error messages Zygmunt Krynicki 2016-01-28 14:45:51 +01:00
  • 555e14ff8d Merge remote-tracking branch 'chipaca/use-opaque-in-client-internals' into asserts-client-daemon-asserts-query Samuele Pedroni 2016-01-28 14:35:12 +01:00
  • 9ce602977d Merge pull request #357 from mvo5/feature/snap-yaml3 Michael Vogt 2016-01-28 14:10:50 +01:00
  • a52839df0d client: add skills API Zygmunt Krynicki 2016-01-28 13:00:39 +01:00
  • 9f2bd0d367 that won't work. switch to passing the query in explicitly. Also add a integration-level unit test to catch these things earlier. John R. Lenton 2016-01-28 11:46:27 +00:00
  • 8dac9f548f update overlord for snap.yaml Michael Vogt 2016-01-28 12:31:46 +01:00
  • 6587856d24 Merge remote-tracking branch 'upstream/master' into feature/snap-yaml3 Michael Vogt 2016-01-28 12:30:06 +01:00
  • eb3d027abc skills,deamon: improve wording of error messages Zygmunt Krynicki 2016-01-28 12:06:01 +01:00
  • 13359751eb Merge branch 'skills-repo-grantrevoke' into skills-rest-api Zygmunt Krynicki 2016-01-28 11:39:11 +01:00
  • c35f5ae9ed client: switch to using opaque in client internals John R. Lenton 2016-01-28 11:00:32 +00:00
  • 21723f3cfe clearer error message; enforce policy about not clashing with trusted assertions (account keys) for now Samuele Pedroni 2016-01-28 11:41:33 +01:00
  • 462bd31af1 skills: use maps to model granted skills Zygmunt Krynicki 2016-01-28 11:27:40 +01:00
  • a4d1f1583d validate daemon field values Michael Vogt 2016-01-28 11:13:36 +01:00
  • 0c6682c09c tweak couple of internal doc comments Samuele Pedroni 2016-01-28 11:04:30 +01:00
  • c64a26bf6a skills: use fmt.Errorf-style errors Zygmunt Krynicki 2016-01-28 11:03:53 +01:00
  • ed889e67ac max sizes for parts when reading/decoding with Decoder; copy parts more organically/earlier Samuele Pedroni 2016-01-28 11:01:46 +01:00
  • dcfa18ef8f update docs/meta.md to match new apps section Michael Vogt 2016-01-28 10:56:50 +01:00
  • 15602523af Merge branch 'skills-repo-slots' into skills-repo-grantrevoke Zygmunt Krynicki 2016-01-28 10:31:53 +01:00
  • 83951e222d Merge branch 'refactor/add-overlord-install' into refactor/add-overlord-remove Michael Vogt 2016-01-28 10:28:11 +01:00
  • 0b3f908c6d Fix daemon sideloading Michael Vogt 2016-01-28 10:27:26 +01:00
  • c7b3c370e8 skills: use a map to store all slots Zygmunt Krynicki 2016-01-28 10:08:50 +01:00
  • 71e4c5d700 skills: use fmt.Errorf-style errors Zygmunt Krynicki 2016-01-28 10:00:11 +01:00
  • 5969aa667a skills: pass entire Slot object to AddSlot() Zygmunt Krynicki 2016-01-28 09:56:11 +01:00
  • 3d414ce470 snappy,daemon,snap: move "Uninstall" into overlord Michael Vogt 2016-01-28 09:47:50 +01:00
  • c295e49786 snappy: move SnapFile.Install() into Overlord.Install() Michael Vogt 2016-01-28 09:24:58 +01:00
  • 4ee4ffe7e9 Merge pull request #346 from mvo5/refactor/add-overlord Michael Vogt 2016-01-28 08:48:19 +01:00
  • fa9d4f6ed9 const unused atm Samuele Pedroni 2016-01-27 21:22:54 +01:00
  • 9582b75359 use bufio.Reader based code started by niemeyer in the Decoder Samuele Pedroni 2016-01-27 21:21:11 +01:00
  • d75c61dacd Merge branch 'skills-repo-skill' into skills-repo-slots Zygmunt Krynicki 2016-01-27 18:38:26 +01:00
  • 8570077ef1 have Find* look both in the trusted and main backstore Samuele Pedroni 2016-01-27 17:41:05 +01:00
  • 7cb2bd16a0 integration-tests: re-enable some failover tests Michael Vogt 2016-01-27 16:26:19 +01:00
  • 73dc30af96 skills: add more data to skill tests Zygmunt Krynicki 2016-01-27 16:11:29 +01:00
  • fbe261f5ad Merge remote-tracking branch 'upstream/master' into skills-repo-skill Zygmunt Krynicki 2016-01-27 16:09:08 +01:00
  • 4f767c4216 Merge pull request #363 from zyga/skills-repo-types Zygmunt Krynicki 2016-01-27 16:08:51 +01:00
  • b47bc097ad Merge pull request #371 from chipaca/snap-search Michael Vogt 2016-01-27 15:56:12 +01:00
  • ad2fe65be9 skills: tweak wording in error message Zygmunt Krynicki 2016-01-27 15:54:45 +01:00
  • d478cecdbb skills: split snap and skill name validation Zygmunt Krynicki 2016-01-27 15:47:45 +01:00
  • 97c8a37676 snap,docs: add a function to validate snap name Zygmunt Krynicki 2016-01-27 15:39:12 +01:00
  • 1711478fc5 issues found in review John R. Lenton 2016-01-27 13:48:59 +00:00
  • b6b31b595a skills: tweak comment on RemoveSkill() Zygmunt Krynicki 2016-01-27 14:23:01 +01:00
  • 6587bcbadf skills: remove obsolete TODO Zygmunt Krynicki 2016-01-27 14:10:37 +01:00
  • 54ca2ce707 skills: use a map to store all skills Zygmunt Krynicki 2016-01-27 14:10:12 +01:00
  • 83cb607b56 skills: pass entire skill object to AddSkill() Zygmunt Krynicki 2016-01-27 13:45:36 +01:00
  • 6c2c6c3291 skills: use fmt.Errorf-style errors Zygmunt Krynicki 2016-01-27 13:41:43 +01:00
  • 272be2c959 Merge branch 'skills-repo-types' into skills-repo-skill Zygmunt Krynicki 2016-01-27 12:08:35 +01:00
  • ca2e9f8b06 skills: tweak tests for Repository.Type() Zygmunt Krynicki 2016-01-27 12:03:48 +01:00
  • 18684df033 skills: tweak error message on Repository.AddType() Zygmunt Krynicki 2016-01-27 11:59:15 +01:00
  • 190538ab75 skills: dropErrDuplicateType Zygmunt Krynicki 2016-01-27 11:47:15 +01:00
  • 0cd24bd0ff skills: use map to store types in a repo Zygmunt Krynicki 2016-01-27 11:45:32 +01:00
  • 55bfe3ff16 skills: drop Repository.AllTypes() Zygmunt Krynicki 2016-01-27 11:44:52 +01:00
  • 377d1e7576 test about expired account keys, but error message could be better Samuele Pedroni 2016-01-26 20:47:34 +01:00
  • 940e00ba49 fix error msg Samuele Pedroni 2016-01-26 20:34:19 +01:00
  • b168244401 fix test Samuele Pedroni 2016-01-26 20:29:25 +01:00
  • 18d111a8dd given that we switched to lookup by keyid there can be essentially only one relevant account key or none, use that fact to simplify the code, also switch to store the trusted account keys in a memory backstore so that we can search them more uniformly Samuele Pedroni 2016-01-26 20:26:36 +01:00
  • e34ca9c21d wip: client and daemon side of querying for assertions Samuele Pedroni 2016-01-26 19:24:13 +01:00
  • e92ab55482 Merge branch 'master' into snap-search John R. Lenton 2016-01-26 16:39:26 +00:00
  • f72d129d13 daemon: add REST APIs for skills Zygmunt Krynicki 2016-01-26 14:58:11 +01:00
  • 0fcb0e9fe7 daemon: put a skill repository in each Daemon Zygmunt Krynicki 2016-01-26 14:10:25 +01:00
  • 3e4c35d547 skills: tweak the message in ErrSkillBusy Zygmunt Krynicki 2016-01-26 17:22:49 +01:00
  • 3c19e7b432 Merge pull request #367 from stevenwilkin/snapd-client-filter-snaps-by-type John Lenton 2016-01-26 16:15:27 +00:00
  • 4e05d7302a skills: sanitize added slots Zygmunt Krynicki 2016-01-26 17:05:02 +01:00
  • 8081d4f3b2 skills: split Type.Sanitize into .Sanitize{Skill,Slot}() Zygmunt Krynicki 2016-01-26 16:56:48 +01:00
  • d35baff57f skills: add Repository.UsersOf() Zygmunt Krynicki 2016-01-26 14:57:57 +01:00
  • 7d388fb03d skills: fix some tests for Repository.GrantedBy() Zygmunt Krynicki 2016-01-26 16:14:43 +01:00
  • 2a8358f77f skills: allow passing apps to Repository.AddSkill() Zygmunt Krynicki 2016-01-26 16:12:45 +01:00
  • f9c98fe669 skills: add a way to add built-in types Zygmunt Krynicki 2016-01-26 14:09:59 +01:00
  • 219763fe94 fully transition to /snaps as the snap location 1.0.15 Michael Vogt 2016-01-26 16:11:20 +01:00
  • 48ba54bef0 have their own file for asserts.go tests Samuele Pedroni 2016-01-26 14:51:40 +01:00
  • 1e4476691f Merge branch 'asserts-decoder' into asserts-snap-asserts-cmd-query Samuele Pedroni 2016-01-26 14:37:55 +01:00
  • a3daaf3421 Merge branch 'skills-repo-slots' into skills-repo-grantrevoke Zygmunt Krynicki 2016-01-26 13:57:31 +01:00
  • 13a49e960a Merge branch 'skills-repo-skill' into skills-repo-slots Zygmunt Krynicki 2016-01-26 13:49:35 +01:00