Граф коммитов

118 Коммитов

Автор SHA1 Сообщение Дата
Kevin Dangoor 316306df99 multifile plugins in the gallery are now stored in zip format 2010-03-31 14:00:41 -04:00
Kevin Dangoor 93e7f1fe2c better error message for metadata validation fail in plugin upload 2010-03-31 13:38:42 -04:00
Kevin Dangoor ae31450672 name is now derived from the plugin filename/directory name
--HG--
rename : bespin/tests/plugindir/SingleFilePlugin1.js => bespin/tests/plugindir/single_file_plugin1.js
rename : bespin/tests/plugindir/SingleFilePlugin2.js => bespin/tests/plugindir/single_file_plugin2.js
rename : bespin/tests/plugindir/SingleFilePlugin3.js => bespin/tests/plugindir/single_file_plugin3.js
2010-03-31 13:17:47 -04:00
Kevin Dangoor 8b4c2db44a plugin installation from the gallery returns the metadata of the
installed plugins
2010-03-30 16:01:25 -04:00
Kevin Dangoor 2dcce432bf plugin installation handles dependencies 2010-03-30 15:55:34 -04:00
Kevin Dangoor 1744ca11a0 install from gallery partly implemented (not enough tests, no dependency
handling)
2010-03-30 13:48:58 -04:00
Kevin Dangoor bcee7f8b46 add server side for /plugin/gallery/
change packageInfo to package_info to better fit the PEP8 standard
2010-03-30 13:07:09 -04:00
Kevin Dangoor 12b8b94dbd add checks for plugin security (based on ownership) and already existing
versions
2010-03-30 12:02:35 -04:00
Kevin Dangoor b924046c26 Can now "upload" a plugin (which actually just copies it to the right place) 2010-03-29 21:37:08 -04:00
Kevin Dangoor 41851edb87 start adding plugin gallery infrastructure, including Gallery database table
and validation for plugin metadata for plugins that are going into the
gallery
2010-03-29 14:01:47 -04:00
Kevin Dangoor d0fb128f9c use the new package.json format for plugins
--HG--
rename : bespin/tests/plugindir/plugin1/plugin.json => bespin/tests/plugindir/plugin1/package.json
rename : bespin/tests/plugindir/plugin2/plugin.json => bespin/tests/plugindir/plugin2/package.json
rename : bespin/tests/plugindir/plugin3/plugin.json => bespin/tests/plugindir/plugin3/package.json
2010-03-27 23:36:41 -04:00
Kevin Dangoor 5f256ad897 serve up version stamped CSS files to avoid overcaching in development
and permit the right amount of caching in production
2010-03-24 09:35:06 -04:00
Kevin Dangoor 9fec38d25f remove extra / from quickopen output 2010-03-23 06:59:44 -04:00
Kevin Dangoor ebcdec2b04 fix variable-rename induced bug (yay tests). also update the list_all
test to match the new format
2010-03-18 07:27:15 -04:00
Joe Walker ef93807fcd updating list_all to use new JSON format
--HG--
extra : rebase_source : 21755f060234aca81118f7310adeb9455f2ec392
2010-03-18 09:07:21 +00:00
Kevin Dangoor c2b794638a log file saves (to keep track of active daily users and length of time
in use)
2010-03-17 21:56:30 -04:00
Kevin Dangoor 0a0c671a87 add the upgrade task to the pavement and fix a bug in the migration for
the eventlog table
2010-03-17 21:44:42 -04:00
Kevin Dangoor 69997a2246 adds the eventlog table to the database, and the first couple of actions
we gather stats on:

1. new user registrations
2. number of user plugins
2010-03-17 21:41:59 -04:00
Kevin Dangoor f991a1f45b list_all is now supported at the root (let's hope no one has *too* many
files!). Also the result is now relative to the path that is passed in.
2010-03-11 10:38:36 -05:00
Kevin Dangoor f5d0231294 list_all now supports subtrees 2010-03-11 07:01:52 -05:00
Kevin Dangoor 0086431f4a provide the location of user plugins for the client side to use 2010-03-10 08:39:57 -05:00
Kevin Dangoor fe9b2fa203 adds support for importing plugins in tarballs and zipfiles 2010-03-09 22:14:53 -05:00
Kevin Dangoor 29fc14a8ac add support for installation of single file plugins 2010-03-09 21:22:59 -05:00
Kevin Dangoor f0eb148924 strip leading slashes from plugin locations
put the user added plugins before the other user plugins
2010-03-04 12:53:47 -05:00
Kevin Dangoor 0c03cc61b9 support for individual plugins on the plugin path (so that a user can
add individual plugins)
2010-03-03 21:21:54 -05:00
Kevin Dangoor bb48434282 fix Python 2.6 and accidental license application errors in tests 2010-02-12 07:24:32 -08:00
Kevin Dangoor 167a160229 remove license header that broke this config file 2010-01-25 06:51:20 -05:00
Kevin Dangoor 72a914f014 apply the tri-license header to the files 2010-01-15 16:05:49 -05:00
Kevin Dangoor e1a1a59984 rename bespinbuild->dryice 2010-01-12 21:26:42 -05:00
Kevin Dangoor 7bbf332bfe removing the extraneous bespin- from directory names 2010-01-11 16:17:50 -05:00
Kevin Dangoor 76cc419f49 set plugin resource URLs appropriately for our server environment 2010-01-11 11:47:48 -05:00
Kevin Dangoor 9e5a975ca3 pull the basic plugin metadata handling out into bespinbuild 2010-01-04 15:50:18 -05:00
Kevin Dangoor af8420aac4 static dir updates for rubyless server setup 2009-12-23 11:21:57 -05:00
Kevin Dangoor 67458ee82b get rid of dead code 2009-12-23 11:21:35 -05:00
Kevin Dangoor e9ca6fce9c plugins can be reloaded, even if the user is not authenticated. However,
if the plugin is a "user plugin" it obviously can't be reloaded without
auth.
2009-12-21 11:16:22 -05:00
Kevin Dangoor 397c587af5 provide infrastructure for the development setup to load test plugins 2009-12-18 13:02:24 -05:00
Kevin Dangoor 0e909efd12 add reload URL to the metadata 2009-12-18 13:02:09 -05:00
Kevin Dangoor d25eedd1a5 only add errors to the metadata when there are errors 2009-12-18 10:12:42 -05:00
Kevin Dangoor 60eaec8c32 report errors in plugins back to the client 2009-12-18 10:03:55 -05:00
Kevin Dangoor 33824cf948 URL needs a leading slash, since it does not include the base 2009-12-17 16:05:28 -05:00
Kevin Dangoor 546d657151 server now provides plugin metadata in JSON rather than as a script 2009-12-17 15:47:29 -05:00
Kevin Dangoor d2c122ad3b verify that you can still put the metadata in a variable, if you wish 2009-12-17 12:50:49 -05:00
Kevin Dangoor 532e6cb6a4 add more tests to verify the behavior of the metadata parser 2009-12-17 12:44:48 -05:00
Kevin Dangoor 6adc3f64d4 new metadata format 2009-12-17 12:13:51 -05:00
Kevin Dangoor 93c85f02d4 single file plugins should not register any stylesheets 2009-12-09 14:39:35 -05:00
Kevin Dangoor 6b29fbaac6 CSS is now registered with Tiki 2009-12-09 14:28:54 -05:00
Kevin Dangoor 613f55e4af a simplification. work under the assumption that you're only changing
a single plugin, so that's the only bit that needs refreshed metadata
2009-12-06 22:22:29 -05:00
Kevin Dangoor 6578535a6f can now generate metadata required to reload a plugin 2009-12-06 22:17:39 -05:00
Kevin Dangoor c5ece8920d better use of plugin path by maintaining plugin locations. This makes it so
that the server doesn't need to hunt through the whole path for each file.
2009-12-02 10:08:19 -05:00
Kevin Dangoor bfc066c6e3 rename package->index, which is the new name for the top of a package 2009-12-02 13:50:09 -05:00
Kevin Dangoor 6286f15983 get auth cookie working properly in development with the new server
setup

make script lookup work for user-installed plugins
2009-11-25 23:37:25 -05:00
Kevin Dangoor 5c51e27d6f simplified calling to the plugin catalog 2009-11-25 23:04:53 -05:00
Kevin Dangoor 83288366e9 plugins can be registered in the user's editable space 2009-11-25 15:59:36 -05:00
Kevin Dangoor ee1dc21b8f add support for user plugins in BespinSettings/plugins/ 2009-11-25 15:41:18 -05:00
Kevin Dangoor 788e2ee8a2 single file plugins are actually masquerading as packages. 2009-11-25 11:11:20 -05:00
Kevin Dangoor 424cdd1a76 need to store the metadata in a variable for this to be legal JS 2009-11-25 11:04:23 -05:00
Kevin Dangoor 4b4b5741f2 improve the error message for missing metadata in a single file plugin 2009-11-25 10:50:27 -05:00
Kevin Dangoor 1f8a01f009 support for single file plugins 2009-11-25 10:47:47 -05:00
Kevin Dangoor 9e99fed3b1 refactoring for the next round of plugin handling 2009-11-25 09:41:37 -05:00
Kevin Dangoor 46e99fb77f pass plugin metadata back to the client 2009-11-19 22:59:50 -05:00
Kevin Dangoor e3245bfc9f controller side is now fleshed out for presenting tiki with the
default plugin set
2009-11-18 22:42:46 -05:00
Kevin Dangoor 629a48d396 container object for plugin metadata 2009-11-18 21:34:44 -05:00
Kevin Dangoor ea5f08fd01 fix tests based on current repository layout/feature set (actually just
deleting two no-longer-relevant tests)
2009-11-18 15:48:16 -05:00
Kevin Dangoor 8943d8b996 revert 0e91d59724ac, because it's not required with a little bit of
configuration magic in SC.
2009-11-17 10:51:58 -05:00
Kevin Dangoor 131aa960c9 set up pathpopper middleware, which is useful for running behind the
SproutCore server
2009-11-16 22:25:45 -05:00
Kevin Dangoor 2969ebd956 add URLRelay compatible proxy 2009-09-28 16:07:07 -07:00
Kevin Dangoor 1799e9b650 adding some initial hooks to the JavaScript 2009-09-28 10:53:46 -07:00
Kevin Dangoor 3028cf0fce initial commit of bespin python server that is separate from the bespin
client code
2009-09-23 09:57:21 -04:00