- 05 Oct, 2009 28 commits
-
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
Nigel McNie authored
The other base class methods had detailed descriptions, so this only seems fair. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
We unconditionally json_encode it on the way out, so this is necessary. Allows us to store arrays in the export, too. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This is necessary so blocks can make decisions about importing based on the owner. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Found this bug while doing View import. Using uksort passes the keys in for sorting, which is not what the sorting function was actually expecting. uasort is what I meant to use. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This is so that we know all artefacts have been created, so that the views they're in can also then be set up. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
We get one (or more) from the import file now. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This looks in the artefactid and artefactids fields only (which we know are either a lone artefact ID, or a list of them, based on the field name). This is somewhat of a limitation if blocks are storing artefact IDs elsewhere, but it's not insurmountable. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
We pass through the view config as well so that the importing methods can look at the view owner, among other things it might want to look at. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This allows us to unconditionally json_decode them on import without worrying about whether they were encoded or not. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
We import the first one as the primary e-mail address. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
One hack: we shove the profile icon ID in the artefactid field, so it gets converted to a proper leap entry ID on the way out, and back to an artefact ID on the way in. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This allows us to hint that the View needs to export config suitable for a certain format (e.g. leap), so it can give us data we can manage in an easier form. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This allows it to be used when we're doing things with Views not owned by the logged in user in blockinstance->commit(). For example, when the admin user is importing a new user. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
This behaviour has been observed once or twice from badly written get_artefacts() methods. We now make sure all the artefact IDs returned are checked to be integers. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Semantically, this means our exports have the most important e-mails first, which we use at import time to make sure we set the primary e-mail correctly. Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Nigel McNie authored
Signed-off-by:
Nigel McNie <nigel@catalyst.net.nz>
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
Richard Mansfield authored
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 04 Oct, 2009 2 commits
-
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz> (cherry picked from commit 03667644)
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 02 Oct, 2009 4 commits
-
-
Richard Mansfield authored
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
- 28 Sep, 2009 6 commits
-
-
Richard Mansfield authored
-
Richard Mansfield authored
-
Richard Mansfield authored
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-
Richard Mansfield authored
-
Richard Mansfield authored
Signed-off-by:
Richard Mansfield <richardm@catalyst.net.nz>
-