Commit Graph

56 Commits

Author SHA1 Message Date
Peter 'Pita' Martischka 973aad5c96 Fix doesPadExist check 2012-02-27 14:13:47 +01:00
Peter 'Pita' Martischka 00c3281a02 Forbid colons, this Fixes #301 2012-02-26 19:59:02 +01:00
Chad Weider 546aaae379 Merge branch 'modulize-share' 2012-02-14 12:10:41 -08:00
Chad Weider 9837cda257 Correct typo in 363e168561. 2012-02-14 12:09:47 -08:00
Peter 'Pita' Martischka ebeb2da275 Merge pull request #422 from jhollinger/fix_listPads
HTTP API listPads should return an array
2012-02-14 09:22:18 -08:00
Chad Weider 363e168561 Share `randomString` method.
This simply shares a common implementation and makes no judgements on the validity of its use. The string created is not a secure random number, so some uses of it may not be applicable.
2012-02-10 14:52:34 -08:00
Chad Weider f8f80968ca Share the `AttributePoolFactory`, `Changeset`, and `contentcollector` modules. 2012-02-10 14:52:34 -08:00
Jordan 5fde0b548c HTTP API listPads should return an array 2012-02-06 21:10:37 -05:00
booo 0c723c2686 remove joose dependency 2012-01-30 15:59:13 +01:00
booo a300bb6e92 move randomString function into module 2012-01-28 13:24:58 +01:00
John McLear 642b716553 Merge pull request #289 from jhollinger/no_spaces
Sanitize pad names
2012-01-08 07:30:07 -08:00
Jordan 7c84d8cc74 Bugfix to API calling indexOf on an undefined padID 2011-12-22 00:22:36 -05:00
Jordan e8ef99fb72 Sanitize pad names 2011-12-16 15:41:11 -05:00
Peter 'Pita' Martischka 6684d6ed52 replaced all stop callbacks with customError callbacks. Fixes #270 2011-12-10 16:46:47 +01:00
Peter 'Pita' Martischka 49006a3b6a Don't make the globalPads too global ;) 2011-12-08 23:32:51 +01:00
Peter 'Pita' Martischka 5c56e62d67 Changed all error handling to async-stacktrace style + fixed import/export on unix 2011-12-04 16:50:02 +01:00
Peter 'Pita' Martischka 3aacc0a1eb Merge pull request #222 from jhollinger/master
API-only access, per issue #150
2011-11-26 12:22:04 -08:00
Jordan 5e7c5d5dd3 Add editOnly option 2011-11-21 12:44:33 -05:00
Jordan 9850ba43ee Implement a 'requireSession' mode, which requires any user to have a valid session 2011-11-21 01:45:37 -05:00
Lorenzo Gil Sanchez a26918c69e Hook the ImportHtml module into the API 2011-11-17 10:26:32 +01:00
Lorenzo Gil e4481ea22b Allow to get the HTML of the pad with the API 2011-10-31 11:19:51 +01:00
Rob Speer 2d3272e3b6 make globalPads into an ad-hoc Object that can store values with arbitrary names. Fixes issue #160. 2011-09-30 00:41:46 -04:00
Peter 'Pita' Martischka e771542961 added deleteGroup API function 2011-08-22 13:11:34 +01:00
Peter 'Pita' Martischka 41883e688b moved require joose to the correct place 2011-08-17 17:49:05 +01:00
Peter 'Pita' Martischka 77ba4e3e6c ensure wrong socketio messages doesn't kill the server 2011-08-17 17:28:30 +01:00
Peter 'Pita' Martischka d2c502e2be added deletePad API function 2011-08-16 20:02:30 +01:00
Peter 'Pita' Martischka 783c192726 ensure password and publicStatus functions are only used with group pads 2011-08-16 18:17:46 +01:00
Peter 'Pita' Martischka d0e378f63a added a security manager to control pad access on group pads 2011-08-13 22:07:21 +01:00
Peter 'Pita' Martischka 3c99e07030 fixed regular expression PadID check 2011-08-13 17:48:36 +01:00
Peter 'Pita' Martischka 0e05e58c76 changed copyright from Peter 'Pita' Martischka to Peter 'Pita' Martischka (Primary Technology Ltd) 2011-08-11 15:27:16 +01:00
Peter 'Pita' Martischka ce1012438e added setPublicStatus, getPublicStatus, setPassword and isPasswordProtected 2011-08-10 22:44:16 +01:00
Peter 'Pita' Martischka 292c68a0a5 harmonize different ID types, improved the prefixes 2011-08-10 22:44:08 +01:00
Peter 'Pita' Martischka f6b87daa27 added deleteSession 2011-08-10 22:43:58 +01:00
Peter 'Pita' Martischka dc15682a27 changed name of getMapped*4 functions to create*IfNotExistsFor 2011-08-10 22:43:38 +01:00
Peter 'Pita' Martischka 183d1597c6 clean up 2011-08-09 20:22:39 +01:00
Peter 'Pita' Martischka dbf9dc6dfb added listSessionsOfGroup and listSessionsOfAuthor 2011-08-09 20:14:32 +01:00
Peter 'Pita' Martischka 4b48380a2f added createSession and getSessionInfo 2011-08-09 16:45:49 +01:00
Peter 'Pita' Martischka f01906d815 added getMappedAuthor4 2011-08-09 14:42:12 +01:00
Peter 'Pita' Martischka e336b4f940 added create Author 2011-08-09 12:09:04 +01:00
Peter 'Pita' Martischka e6ba60bddc cleaned up authormanager 2011-08-09 11:55:12 +01:00
Peter 'Pita' Martischka 4670cbc60a added the listPads and createGroupPad 2011-08-08 17:35:40 +01:00
Peter 'Pita' Martischka 178b4a95ec added getMappedGroup4 and createGroup 2011-08-08 16:21:31 +01:00
Peter 'Pita' Martischka 9fa52c0e66 added createPad 2011-08-04 19:20:14 +01:00
Peter 'Pita' Martischka 3e0f30bdde added getReadOnlyID 2011-08-04 17:40:51 +01:00
Peter 'Pita' Martischka 7b030710d2 added getRevisionsCount 2011-08-04 17:24:36 +01:00
Peter 'Pita' Martischka d5d9830dd3 added setText and simplified getText 2011-08-04 17:18:59 +01:00
Peter 'Pita' Martischka 820c18c7e9 check the padID with a regular expression 2011-08-04 16:07:58 +01:00
Peter 'Pita' Martischka f45b7ce9ea Installed API infrastructure, getText works already 2011-08-03 19:31:25 +01:00
Peter 'Pita' Martischka 9a71cc4729 replaced tabs with spaces 2011-08-01 18:45:28 +01:00
Peter 'Pita' Martischka 38fd56a877 bugfix bugfix 2011-07-31 20:32:46 +01:00