From f938afb8ab4cb091d12e0ef0311eaea14b774798 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Mon, 19 Apr 2010 21:50:37 +0200 Subject: [PATCH] Simpler deployment. --- README.rst => README.md | 0 deployment.py | 65 ++++++ fabfile.py | 218 ------------------ ...calsettings.sample => localsettings.sample | 0 platforma/config/logging.cfg => logging.cfg | 0 .../config/logging.cfg.dev => logging.cfg.dev | 0 platforma/config/platforma.vhost.template | 38 --- redakcja.vhost.template | 25 ++ ...ma.wsgi.template => redakcja.wsgi.template | 12 +- {platforma => redakcja}/__init__.py | 0 {platforma => redakcja}/compress_settings.py | 0 {platforma => redakcja}/context_processors.py | 0 .../locale/pl/LC_MESSAGES/django.mo | Bin .../locale/pl/LC_MESSAGES/django.po | 0 {platforma => redakcja}/manage.py | 0 {platforma => redakcja}/settings.py | 22 +- .../static/css/dialogs.css | 0 .../static/css/filelist.css | 0 .../static/css/gallery.css | 0 .../static/css/history.css | 0 {platforma => redakcja}/static/css/html.css | 0 .../static/css/html_print.css | 0 .../static/css/jquery.autocomplete.css | 0 {platforma => redakcja}/static/css/master.css | 0 .../static/css/summary.css | 0 .../static/css/xmlcolors_15032010.css | 0 .../static/filebrowser/css/filebrowser.css | 0 .../img/filebrowser_icon_delete.gif | Bin .../img/filebrowser_icon_delete_hover.gif | Bin .../img/filebrowser_icon_imagegenerator.gif | Bin .../filebrowser_icon_imagegenerator_hover.gif | Bin .../img/filebrowser_icon_makethumb.gif | Bin .../img/filebrowser_icon_makethumb_hover.gif | Bin .../img/filebrowser_icon_rename.gif | Bin .../img/filebrowser_icon_rename_hover.gif | Bin .../img/filebrowser_icon_select.gif | Bin .../img/filebrowser_icon_select_disabled.gif | Bin .../img/filebrowser_icon_select_hover.gif | Bin .../filebrowser/img/filebrowser_icon_show.gif | Bin .../img/filebrowser_icon_show_hover.gif | Bin .../img/filebrowser_icon_showversions.gif | Bin .../filebrowser_icon_showversions_hover.gif | Bin ...owser_object-tools_icon_imagegenerator.gif | Bin ...object-tools_icon_imagegenerator_hover.gif | Bin ...rowser_object-tools_icon_makedirectory.gif | Bin ..._object-tools_icon_makedirectory_hover.gif | Bin ...ilebrowser_object-tools_icon_makethumb.gif | Bin ...wser_object-tools_icon_makethumb_hover.gif | Bin ...owser_object-tools_icon_multipleupload.gif | Bin ...object-tools_icon_multipleupload_hover.gif | Bin .../filebrowser/img/filebrowser_type_.gif | Bin .../filebrowser/img/filebrowser_type_code.gif | Bin .../img/filebrowser_type_document.gif | Bin .../img/filebrowser_type_folder.gif | Bin .../img/filebrowser_type_image.gif | Bin .../img/filebrowser_type_sound.gif | Bin .../img/filebrowser_type_video.gif | Bin .../img/tableheader_arrow_down.gif | Bin .../filebrowser/img/tableheader_arrow_up.gif | Bin .../filebrowser/img/tableheader_arrows.gif | Bin .../static/filebrowser/js/AddFileBrowser.js | 0 .../static/filebrowser/js/FB_CKEditor.js | 0 .../filebrowser/js/FB_FileBrowseField.js | 0 .../static/filebrowser/js/FB_TinyMCE.js | 0 .../static/filebrowser/js/TinyMCEAdmin.js | 0 .../static/filebrowser/js/jquery-1.3.2.min.js | 0 .../uploadify/Uploadify v2.1.0 Manual.pdf | Bin .../static/filebrowser/uploadify/cancel.png | Bin .../static/filebrowser/uploadify/check.php | 0 .../com/adobe/air/logging/FileTarget.as | 0 .../uploadify/com/adobe/crypto/HMAC.as | 0 .../uploadify/com/adobe/crypto/MD5.as | 0 .../uploadify/com/adobe/crypto/MD5Stream.as | 0 .../uploadify/com/adobe/crypto/SHA1.as | 0 .../uploadify/com/adobe/crypto/SHA224.as | 0 .../uploadify/com/adobe/crypto/SHA256.as | 0 .../com/adobe/crypto/WSSEUsernameToken.as | 0 .../com/adobe/errors/IllegalStateError.as | 0 .../com/adobe/fileformats/vcard/Address.as | 0 .../com/adobe/fileformats/vcard/Email.as | 0 .../com/adobe/fileformats/vcard/Phone.as | 0 .../com/adobe/fileformats/vcard/VCard.as | 0 .../adobe/fileformats/vcard/VCardParser.as | 0 .../uploadify/com/adobe/images/BitString.as | 0 .../uploadify/com/adobe/images/JPGEncoder.as | 0 .../uploadify/com/adobe/images/PNGEncoder.as | 0 .../com/adobe/net/DynamicURLLoader.as | 0 .../uploadify/com/adobe/net/IURIResolver.as | 0 .../uploadify/com/adobe/net/MimeTypeMap.as | 0 .../uploadify/com/adobe/net/URI.as | 0 .../com/adobe/net/URIEncodingBitmap.as | 0 .../com/adobe/net/proxies/RFC2817Socket.as | 0 .../com/adobe/protocols/dict/Database.as | 0 .../com/adobe/protocols/dict/Definition.as | 0 .../com/adobe/protocols/dict/Dict.as | 0 .../adobe/protocols/dict/DictionaryServer.as | 0 .../com/adobe/protocols/dict/MatchStrategy.as | 0 .../com/adobe/protocols/dict/Response.as | 0 .../protocols/dict/events/ConnectedEvent.as | 0 .../protocols/dict/events/DatabaseEvent.as | 0 .../protocols/dict/events/DefinitionEvent.as | 0 .../dict/events/DefinitionHeaderEvent.as | 0 .../dict/events/DictionaryServerEvent.as | 0 .../dict/events/DisconnectedEvent.as | 0 .../adobe/protocols/dict/events/ErrorEvent.as | 0 .../adobe/protocols/dict/events/MatchEvent.as | 0 .../dict/events/MatchStrategiesEvent.as | 0 .../protocols/dict/events/NoMatchEvent.as | 0 .../dict/util/CompleteResponseEvent.as | 0 .../adobe/protocols/dict/util/SocketHelper.as | 0 .../com/adobe/serialization/json/JSON.as | 0 .../adobe/serialization/json/JSONDecoder.as | 0 .../adobe/serialization/json/JSONEncoder.as | 0 .../serialization/json/JSONParseError.as | 0 .../com/adobe/serialization/json/JSONToken.as | 0 .../adobe/serialization/json/JSONTokenType.as | 0 .../adobe/serialization/json/JSONTokenizer.as | 0 .../uploadify/com/adobe/utils/ArrayUtil.as | 0 .../uploadify/com/adobe/utils/DateUtil.as | 0 .../com/adobe/utils/DictionaryUtil.as | 0 .../uploadify/com/adobe/utils/IntUtil.as | 0 .../com/adobe/utils/NumberFormatter.as | 0 .../uploadify/com/adobe/utils/StringUtil.as | 0 .../uploadify/com/adobe/utils/XMLUtil.as | 0 .../com/adobe/webapis/ServiceBase.as | 0 .../com/adobe/webapis/URLLoaderBase.as | 0 .../com/adobe/webapis/events/ServiceEvent.as | 0 .../uploadify/example/_notes/dwsync.xml | 0 .../filebrowser/uploadify/example/cancel.png | Bin .../uploadify/example/css/_notes/dwsync.xml | 0 .../uploadify/example/css/default.css | 0 .../uploadify/example/css/uploadify.css | 0 .../filebrowser/uploadify/example/index.php | 0 .../example/scripts/_notes/dwsync.xml | 0 .../uploadify/example/scripts/check.php | 0 .../example/scripts/expressInstall.swf | Bin .../example/scripts/jquery-1.3.2.min.js | 0 .../scripts/jquery.uploadify.v2.1.0.min.js | 0 .../uploadify/example/scripts/swfobject.js | 0 .../uploadify/example/scripts/uploadify.php | 0 .../uploadify/example/scripts/uploadify.swf | Bin .../filebrowser/uploadify/expressInstall.swf | Bin .../filebrowser/uploadify/jquery-1.3.2.min.js | 0 .../uploadify/jquery.uploadify.v2.1.0.js | 0 .../uploadify/jquery.uploadify.v2.1.0.min.js | 0 .../static/filebrowser/uploadify/swfobject.js | 0 .../uploadify/uploadify.allglyphs.swf | Bin .../filebrowser/uploadify/uploadify.css | 0 .../filebrowser/uploadify/uploadify.fla | Bin .../filebrowser/uploadify/uploadify.php | 0 .../filebrowser/uploadify/uploadify.swf | Bin .../static/icons/close.png | Bin .../static/icons/go-next.png | Bin .../static/icons/go-previous.png | Bin {platforma => redakcja}/static/icons/zoom.png | Bin .../static/icons/zoom_in.png | Bin .../static/icons/zoom_out.png | Bin .../static/img/gallery.png | Bin {platforma => redakcja}/static/img/logo.png | Bin .../static/img/sample_cover.png | Bin .../static/img/spinner.gif | Bin .../static/js/button_scripts.js | 0 .../static/js/jquery-1.4.2.min.js | 0 .../static/js/jquery.autocomplete.js | 0 .../static/js/jquery.blockui.js | 0 .../static/js/jquery.elastic.js | 0 .../static/js/lib/codemirror/codemirror.js | 0 .../static/js/lib/codemirror/editor.js | 0 .../static/js/lib/codemirror/parsexml.js | 0 .../static/js/lib/codemirror/select.js | 0 .../static/js/lib/codemirror/stringstream.js | 0 .../static/js/lib/codemirror/tokenize.js | 0 .../static/js/lib/codemirror/undo.js | 0 .../static/js/lib/codemirror/util.js | 0 {platforma => redakcja}/static/js/slugify.js | 0 .../static/js/wiki/base.js | 0 .../static/js/wiki/dialog_addtag.js | 0 .../static/js/wiki/dialog_save.js | 0 .../static/js/wiki/loader.js | 0 .../static/js/wiki/loader_readonly.js | 0 .../static/js/wiki/view_column_diff.js | 0 .../static/js/wiki/view_editor_source.js | 0 .../static/js/wiki/view_editor_wysiwyg.js | 0 .../static/js/wiki/view_gallery.js | 0 .../static/js/wiki/view_history.js | 0 .../static/js/wiki/view_summary.js | 0 .../static/js/wiki/wikiapi.js | 0 .../static/js/wiki/xslt.js | 0 .../static/xsl/wl2html_client.xsl | 0 {platforma => redakcja}/templates/404.html | 0 {platforma => redakcja}/templates/500.html | 0 {platforma => redakcja}/templates/503.html | 0 .../templates/admin/index.html | 0 {platforma => redakcja}/templates/base.html | 0 .../templates/registration/head_login.html | 0 .../templates/registration/login.html | 0 {platforma => redakcja}/urls.py | 0 .../requirements.txt => requirements.txt | 0 setup.py | 109 --------- 199 files changed, 109 insertions(+), 380 deletions(-) rename README.rst => README.md (100%) create mode 100644 deployment.py delete mode 100644 fabfile.py rename platforma/config/localsettings.sample => localsettings.sample (100%) rename platforma/config/logging.cfg => logging.cfg (100%) rename platforma/config/logging.cfg.dev => logging.cfg.dev (100%) delete mode 100644 platforma/config/platforma.vhost.template create mode 100644 redakcja.vhost.template rename platforma/config/platforma.wsgi.template => redakcja.wsgi.template (62%) rename {platforma => redakcja}/__init__.py (100%) rename {platforma => redakcja}/compress_settings.py (100%) rename {platforma => redakcja}/context_processors.py (100%) rename {platforma => redakcja}/locale/pl/LC_MESSAGES/django.mo (100%) rename {platforma => redakcja}/locale/pl/LC_MESSAGES/django.po (100%) rename {platforma => redakcja}/manage.py (100%) rename {platforma => redakcja}/settings.py (90%) rename {platforma => redakcja}/static/css/dialogs.css (100%) rename {platforma => redakcja}/static/css/filelist.css (100%) rename {platforma => redakcja}/static/css/gallery.css (100%) rename {platforma => redakcja}/static/css/history.css (100%) rename {platforma => redakcja}/static/css/html.css (100%) rename {platforma => redakcja}/static/css/html_print.css (100%) rename {platforma => redakcja}/static/css/jquery.autocomplete.css (100%) rename {platforma => redakcja}/static/css/master.css (100%) rename {platforma => redakcja}/static/css/summary.css (100%) rename {platforma => redakcja}/static/css/xmlcolors_15032010.css (100%) rename {platforma => redakcja}/static/filebrowser/css/filebrowser.css (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_delete.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_delete_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_imagegenerator.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_imagegenerator_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_makethumb.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_makethumb_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_rename.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_rename_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_select.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_select_disabled.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_select_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_show.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_show_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_showversions.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_icon_showversions_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_makethumb.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_makethumb_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload_hover.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_code.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_document.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_folder.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_image.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_sound.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/filebrowser_type_video.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/tableheader_arrow_down.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/tableheader_arrow_up.gif (100%) rename {platforma => redakcja}/static/filebrowser/img/tableheader_arrows.gif (100%) rename {platforma => redakcja}/static/filebrowser/js/AddFileBrowser.js (100%) rename {platforma => redakcja}/static/filebrowser/js/FB_CKEditor.js (100%) rename {platforma => redakcja}/static/filebrowser/js/FB_FileBrowseField.js (100%) rename {platforma => redakcja}/static/filebrowser/js/FB_TinyMCE.js (100%) rename {platforma => redakcja}/static/filebrowser/js/TinyMCEAdmin.js (100%) rename {platforma => redakcja}/static/filebrowser/js/jquery-1.3.2.min.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/Uploadify v2.1.0 Manual.pdf (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/cancel.png (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/check.php (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/air/logging/FileTarget.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/HMAC.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/MD5.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/MD5Stream.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/SHA1.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/SHA224.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/SHA256.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/crypto/WSSEUsernameToken.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/errors/IllegalStateError.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Address.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Email.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Phone.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCard.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCardParser.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/images/BitString.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/images/JPGEncoder.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/images/PNGEncoder.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/DynamicURLLoader.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/IURIResolver.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/MimeTypeMap.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/URI.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/URIEncodingBitmap.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/net/proxies/RFC2817Socket.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/Database.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/Definition.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/Dict.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/DictionaryServer.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/MatchStrategy.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/Response.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ConnectedEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DatabaseEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionHeaderEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DictionaryServerEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DisconnectedEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ErrorEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchStrategiesEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/events/NoMatchEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/util/CompleteResponseEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/protocols/dict/util/SocketHelper.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSON.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONDecoder.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONEncoder.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONParseError.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONToken.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenType.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenizer.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/ArrayUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/DateUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/DictionaryUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/IntUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/NumberFormatter.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/StringUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/utils/XMLUtil.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/webapis/ServiceBase.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/webapis/URLLoaderBase.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/com/adobe/webapis/events/ServiceEvent.as (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/_notes/dwsync.xml (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/cancel.png (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/css/_notes/dwsync.xml (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/css/default.css (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/css/uploadify.css (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/index.php (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/_notes/dwsync.xml (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/check.php (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/expressInstall.swf (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/jquery-1.3.2.min.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/jquery.uploadify.v2.1.0.min.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/swfobject.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/uploadify.php (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/example/scripts/uploadify.swf (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/expressInstall.swf (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/jquery-1.3.2.min.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.min.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/swfobject.js (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/uploadify.allglyphs.swf (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/uploadify.css (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/uploadify.fla (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/uploadify.php (100%) rename {platforma => redakcja}/static/filebrowser/uploadify/uploadify.swf (100%) rename {platforma => redakcja}/static/icons/close.png (100%) rename {platforma => redakcja}/static/icons/go-next.png (100%) rename {platforma => redakcja}/static/icons/go-previous.png (100%) rename {platforma => redakcja}/static/icons/zoom.png (100%) rename {platforma => redakcja}/static/icons/zoom_in.png (100%) rename {platforma => redakcja}/static/icons/zoom_out.png (100%) rename {platforma => redakcja}/static/img/gallery.png (100%) rename {platforma => redakcja}/static/img/logo.png (100%) rename {platforma => redakcja}/static/img/sample_cover.png (100%) rename {platforma => redakcja}/static/img/spinner.gif (100%) rename {platforma => redakcja}/static/js/button_scripts.js (100%) rename {platforma => redakcja}/static/js/jquery-1.4.2.min.js (100%) rename {platforma => redakcja}/static/js/jquery.autocomplete.js (100%) rename {platforma => redakcja}/static/js/jquery.blockui.js (100%) rename {platforma => redakcja}/static/js/jquery.elastic.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/codemirror.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/editor.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/parsexml.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/select.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/stringstream.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/tokenize.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/undo.js (100%) rename {platforma => redakcja}/static/js/lib/codemirror/util.js (100%) rename {platforma => redakcja}/static/js/slugify.js (100%) rename {platforma => redakcja}/static/js/wiki/base.js (100%) rename {platforma => redakcja}/static/js/wiki/dialog_addtag.js (100%) rename {platforma => redakcja}/static/js/wiki/dialog_save.js (100%) rename {platforma => redakcja}/static/js/wiki/loader.js (100%) rename {platforma => redakcja}/static/js/wiki/loader_readonly.js (100%) rename {platforma => redakcja}/static/js/wiki/view_column_diff.js (100%) rename {platforma => redakcja}/static/js/wiki/view_editor_source.js (100%) rename {platforma => redakcja}/static/js/wiki/view_editor_wysiwyg.js (100%) rename {platforma => redakcja}/static/js/wiki/view_gallery.js (100%) rename {platforma => redakcja}/static/js/wiki/view_history.js (100%) rename {platforma => redakcja}/static/js/wiki/view_summary.js (100%) rename {platforma => redakcja}/static/js/wiki/wikiapi.js (100%) rename {platforma => redakcja}/static/js/wiki/xslt.js (100%) rename {platforma => redakcja}/static/xsl/wl2html_client.xsl (100%) rename {platforma => redakcja}/templates/404.html (100%) rename {platforma => redakcja}/templates/500.html (100%) rename {platforma => redakcja}/templates/503.html (100%) rename {platforma => redakcja}/templates/admin/index.html (100%) rename {platforma => redakcja}/templates/base.html (100%) rename {platforma => redakcja}/templates/registration/head_login.html (100%) rename {platforma => redakcja}/templates/registration/login.html (100%) rename {platforma => redakcja}/urls.py (100%) rename platforma/config/requirements.txt => requirements.txt (100%) delete mode 100644 setup.py diff --git a/README.rst b/README.md similarity index 100% rename from README.rst rename to README.md diff --git a/deployment.py b/deployment.py new file mode 100644 index 00000000..bdfbb43a --- /dev/null +++ b/deployment.py @@ -0,0 +1,65 @@ +#!/srv/internal/cas/pythonenv/bin/python +from __future__ import with_statement + +import shutil +import os +import sys + +from string import Template + +def render_template(source, dest, context={}): + print "Rendering template:", + with open(source, 'rb') as source_file: + t = Template(source_file.read()) + with open(dest, 'wb') as dest_file: + dest_file.write(t.safe_substitute(context)) + print "done." + +def restart_wsgi(): + print "Restarting wsgi application:", + os.system("touch %s" % WSGI_TARGET) + print "done." + +def update_application(): + print "Updating repository.", + os.system("cd %s; git pull" % PROJECT_ROOT) + print "Installing requirements" + os.system("pip install -r %s" % os.path.join(PROJECT_ROOT, 'requirements.txt')) + print "Installing local requirements" + os.system("pip install -r %s" % os.path.join(ROOT, 'etc', 'requirements.txt')) + print "done." + +ROOT = os.path.dirname(os.path.abspath(__file__)) + +PYTHON = os.path.join(ROOT, 'pythonenv', 'bin', 'python') +PYTHON_SITE = os.path.join(ROOT, 'pythonenv', 'lib', 'python2.6', 'site-packages') + +PROJECT_NAME = 'redakcja' +PROJECT_ROOT = os.path.join(ROOT, 'app') + +MEDIA_ROOT = os.path.join(ROOT, 'www', 'media') + +ADMIN_EMAIL = 'lrekucki@gmail.com' + +WSGI_TARGET = os.path.join(ROOT, 'www', 'wsgi', PROJECT_NAME + '.wsgi') +WSGI_DIR = os.path.dirname(WSGI_TARGET) + +WSGI_USER = PROJECT_NAME +WSGI_PROCESSES = 5 +WSGI_THREADS = 1 + +DOMAIN = 'redakcja.wolnelektury.pl' +DOMAIN_ALIASES = 'redakcja.nowoczesnapolska.org.pl' + +# +# Load local configuration +# +sys.path = [ os.path.join(ROOT, 'etc') ] + sys.path + +from local_deployment import * + +if __name__ == '__main__': + update_application() + render_template(os.path.join(PROJECT_ROOT, PROJECT_NAME + '.wsgi.template'), WSGI_TARGET, context=globals()) + render_template(os.path.join(PROJECT_ROOT, PROJECT_NAME + '.vhost.template'), os.path.join(ROOT, 'etc', PROJECT_NAME + '.vhost'), context=globals()) + restart_wsgi() diff --git a/fabfile.py b/fabfile.py deleted file mode 100644 index 399f1c2f..00000000 --- a/fabfile.py +++ /dev/null @@ -1,218 +0,0 @@ -from __future__ import with_statement # needed for python 2.5 -from fabric.api import * -from fabric.contrib import files - -import os -import time - -# ========== -# = Config = -# ========== -# Globals -env.project_name = 'platforma' -env.use_south = True -env.giturl = "git://github.com/fnp/redakcja.git" - - -# Servers -def staging(): - """Use staging server""" - env.hosts = ['stigma.nowoczesnapolska.org.pl:2222'] - env.user = 'platforma' - env.path = '/var/services/platforma' - env.python = '/usr/bin/python' - env.virtualenv = '/usr/bin/virtualenv' - env.pip = '/usr/bin/pip' - env.gitbranch = "staging" - common() - - -def production(): - """Use production server""" - env.hosts = ['szo.nowoczesnapolska.org.pl:2225'] - env.user = 'librarian' - env.gitbranch = 'master' - env.sandbox = '/srv/library-in-a-box/sandbox/' - env.virtualenv = os.path.join(env.sandbox, 'bin', 'virtualenv') - - env.pip = os.path.join(env.sandbox, 'python', 'bin', 'pip') - env.python = os.path.join(env.sandbox, 'python', 'bin', 'python') - common() - - -def common(): - env.path = os.path.join(env.sandbox, env.project_name) - env.target = os.path.join(env.path, 'bin', 'python') - - -# ========= -# = Tasks = -# ========= -def test(): - "Run the test suite and bail out if it fails" - require('hosts', 'path', provided_by=[staging, production]) - result = run('cd %(path)s/%(project_name)s; %(python)s manage.py test' % env) - - -def setup(): - """ - Setup a fresh virtualenv as well as a few useful directories, then run - a full deployment. virtualenv and pip should be already installed. - """ - require('hosts', 'sandbox', provided_by=[staging, production]) - - run("mkdir -p %(path)s; mkdir -p %(path)s/www/wsgi; mkdir -p %(path)s/www/media" % env) - - # make a git mirror - run("""cd %(path)s; -git clone %(giturl)s mirror; -cd %(path)s/mirror; -git pull""" % env, pty=True) - - run('%(virtualenv)s %(path)s' % env, pty=True) - run('cd %(path)s; rm -rf releases shared packages; mkdir -p releases; mkdir -p shared; mkdir -p packages;' % env, pty=True) - - # symlink static content - run("""cd %(path)s/www/media; -ln -sf %(path)s/releases/current/%(project_name)s/static static -ln -sf %(path)s/lib/python2.6/site-packages/django/contrib/admin/media admin-media -mkdir -p dynamic -""" % env) - - run('cd %(path)s/releases; ln -s . current; ln -s . previous' % env, pty=True) - - deploy() - - -def deploy(): - """ - Deploy the latest version of the site to the servers, - install any required third party modules, - install the virtual host and then restart the webserver - """ - require('hosts', 'sandbox', 'gitbranch', provided_by=[staging, production]) - - env.release = time.strftime('%Y-%m-%dT%H%M') - - prepare_package_from_git() - - upload_wsgi_script() -# upload_vhost_sample() - install_requirements() - hardlink_localsettings() - symlink_current_release() - migrate() - django_compress() - restart_webserver() - - -def deploy_version(version): - "Specify a specific version to be made live" - require('hosts', 'path', provided_by=[localhost, webserver]) - env.version = version - with cd(env.path): - run('rm releases/previous; mv releases/current releases/previous;', pty=True) - run('ln -s %(version)s releases/current' % env, pty=True) - - restart_webserver() - - -def rollback(): - """ - Limited rollback capability. Simple loads the previously current - version of the code. Rolling back again will swap between the two. - """ - require('hosts', provided_by=[staging, production]) - require('path') - with cd(env.path): - run('mv releases/current releases/_previous;', pty=True) - run('mv releases/previous releases/current;', pty=True) - run('mv releases/_previous releases/previous;', pty=True) - restart_webserver() - - -# ===================================================================== -# = Helpers. These are called by other functions rather than directly = -# ===================================================================== -def prepare_package_from_git(): - "Create an archive from the current Git master branch and upload it" - print '>>> upload tar from git' - - require('release', provided_by=[deploy]) - - run('mkdir -p %(path)s/releases/%(release)s' % env, pty=True) - run('mkdir -p %(path)s/packages' % env, pty=True) - run('cd %(path)s/mirror; git pull; git archive --format=tar %(gitbranch)s | gzip > %(path)s/packages/%(release)s.tar.gz' % env) - run('cd %(path)s/releases/%(release)s && tar zxf ../../packages/%(release)s.tar.gz' % env, pty=True) - - -#def upload_vhost_sample(): -# "Create and upload Apache virtual host configuration sample" -# print ">>> upload vhost sample" -# files.upload_template('%(project_name)s.vhost.template' % env, '%(path)s/%(project_name)s.vhost.sample' % env, context=env) - - -def upload_wsgi_script(): - "Create and upload a wsgi script sample" - print ">>> upload wsgi script sample" - files.upload_template('%(project_name)s/config/%(project_name)s.wsgi.template' % env, '%(path)s/www/wsgi/%(project_name)s.wsgi' % env, context=env) - run('chmod ug+x %(path)s/www/wsgi/%(project_name)s.wsgi' % env) - - -def install_requirements(): - "Install the required packages from the requirements file using pip" - - print '>>> Instaling global requirements' - require('release', provided_by=[deploy]) - run('cd %(path)s; %(path)s/bin/pip install -r %(path)s/releases/%(release)s/%(project_name)s/config/requirements.txt' % env, pty=True) - - print '>>> Instaling site requirements' - - with settings(warn_only=True): - run('cd %(path)s; %(path)s/bin/pip install -r %(sandbox)s/etc/%(project_name)s/requirements.txt' % env, pty=True) - - -def hardlink_localsettings(): - "Hardlink localsettings.py from root directory to release directory (if this file exists)" - print ">>> Hardlink localsettings" - require('release', 'path', provided_by=[deploy]) - require('sandbox', provided_by=[staging, production]) - - # hardlink localsettings - with settings(warn_only=True): - run('ln %(sandbox)s/etc/%(project_name)s/localsettings.py %(path)s/releases/%(release)s/%(project_name)s' % env) - - -def symlink_current_release(): - "Symlink our current release" - print '>>> symlink current release' - require('release', provided_by=[deploy]) - require('path', provided_by=[staging, production]) - with cd(env.path): - run('rm releases/previous; mv releases/current releases/previous') - run('ln -s %(release)s releases/current' % env) - - -def migrate(): - "Update the database" - print '>>> migrate' - require('project_name', provided_by=[staging, production]) - with cd('%(path)s/releases/current/%(project_name)s' % env): - run('%(target)s manage.py syncdb --noinput' % env, pty=True) - - if env.use_south: - run('%(target)s manage.py migrate' % env, pty=True) - - -def django_compress(): - "Update static files" - print '>>> migrate' - require('project_name', provided_by=[staging, production]) - with cd('%(path)s/releases/current/%(project_name)s' % env): - run('%(target)s manage.py synccompress --force' % env, pty=True) - - -def restart_webserver(): - "Restart the web server" - print '>>> restart webserver' - run('touch %(path)s/www/wsgi/%(project_name)s.wsgi' % env) diff --git a/platforma/config/localsettings.sample b/localsettings.sample similarity index 100% rename from platforma/config/localsettings.sample rename to localsettings.sample diff --git a/platforma/config/logging.cfg b/logging.cfg similarity index 100% rename from platforma/config/logging.cfg rename to logging.cfg diff --git a/platforma/config/logging.cfg.dev b/logging.cfg.dev similarity index 100% rename from platforma/config/logging.cfg.dev rename to logging.cfg.dev diff --git a/platforma/config/platforma.vhost.template b/platforma/config/platforma.vhost.template deleted file mode 100644 index 7d445573..00000000 --- a/platforma/config/platforma.vhost.template +++ /dev/null @@ -1,38 +0,0 @@ - - ServerName %(project_name)s.example.com - ServerAdmin admin@example.com - - WSGIDaemonProcess %(project_name)s user=%(user)s group=%(user)s processes=2 threads=15 display-name=%%{GROUP} python-path=%(path)s/lib/python2.5/site-packages - WSGIProcessGroup %(project_name)s - - WSGIScriptAlias / %(path)s/%(project_name)s.wsgi - - Order allow,deny - allow from all - - - Alias /media %(path)s/media - - Options Indexes - Order allow,deny - Allow from all - - - Alias /admin-media %(path)s/admin-media - - Options Indexes - Order allow,deny - Allow from all - - - Alias /static %(path)s/releases/current/%(project_name)s/static - - Options Indexes - Order allow,deny - Allow from all - - - LogLevel warn - ErrorLog /var/log/apache2/error.log - CustomLog /var/log/apache2/access.log combined - diff --git a/redakcja.vhost.template b/redakcja.vhost.template new file mode 100644 index 00000000..fbd21a9a --- /dev/null +++ b/redakcja.vhost.template @@ -0,0 +1,25 @@ + + ServerName $DOMAIN + ServerAlias $DOMAIN_ALIASES + ServerAdmin $ADMIN_EMAIL + + WSGIDaemonProcess $PROJECT_NAME user=$WSGI_USER group=$WSGI_USER processes=$WSGI_PROCESSES threads=$WSGI_THREADS display-name=%{GROUP} + WSGIProcessGroup $PROJECT_NAME + + WSGIScriptAlias / $WSGI_TARGET + + Order allow,deny + allow from all + + + Alias /media $MEDIA_ROOT + + Options Indexes, FollowLinks + Order allow,deny + Allow from all + + + LogLevel warn + ErrorLog /var/log/apache2/$PROJECT_NAME/error.log + CustomLog /var/log/apache2/$PROJECT_NAME/access.log combined + diff --git a/platforma/config/platforma.wsgi.template b/redakcja.wsgi.template similarity index 62% rename from platforma/config/platforma.wsgi.template rename to redakcja.wsgi.template index 6a1770c0..6b772f34 100644 --- a/platforma/config/platforma.wsgi.template +++ b/redakcja.wsgi.template @@ -1,6 +1,6 @@ -#!%(python)s +#!$PYTHON import site -site.addsitedir('%(path)s/lib/python2.6/site-packages') +site.addsitedir('$PYTHON_SITE') import os from os.path import abspath, dirname, join @@ -12,13 +12,13 @@ sys.stdout = sys.stderr # Add apps and lib directories to PYTHONPATH sys.path = [ - '%(path)s/releases/current', - '%(path)s/releases/current/apps', - '%(path)s/releases/current/lib', + '$PROJECT_ROOT', + '$PROJECT_ROOT/lib', + '$PROJECT_ROOT/apps', ] + sys.path # Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = '%(project_name)s.settings' +os.environ['DJANGO_SETTINGS_MODULE'] = '$PROJECT_NAME.settings' from django.core.handlers.wsgi import WSGIHandler application = WSGIHandler() diff --git a/platforma/__init__.py b/redakcja/__init__.py similarity index 100% rename from platforma/__init__.py rename to redakcja/__init__.py diff --git a/platforma/compress_settings.py b/redakcja/compress_settings.py similarity index 100% rename from platforma/compress_settings.py rename to redakcja/compress_settings.py diff --git a/platforma/context_processors.py b/redakcja/context_processors.py similarity index 100% rename from platforma/context_processors.py rename to redakcja/context_processors.py diff --git a/platforma/locale/pl/LC_MESSAGES/django.mo b/redakcja/locale/pl/LC_MESSAGES/django.mo similarity index 100% rename from platforma/locale/pl/LC_MESSAGES/django.mo rename to redakcja/locale/pl/LC_MESSAGES/django.mo diff --git a/platforma/locale/pl/LC_MESSAGES/django.po b/redakcja/locale/pl/LC_MESSAGES/django.po similarity index 100% rename from platforma/locale/pl/LC_MESSAGES/django.po rename to redakcja/locale/pl/LC_MESSAGES/django.po diff --git a/platforma/manage.py b/redakcja/manage.py similarity index 100% rename from platforma/manage.py rename to redakcja/manage.py diff --git a/platforma/settings.py b/redakcja/settings.py similarity index 90% rename from platforma/settings.py rename to redakcja/settings.py index 1f9d5d00..8fd71c71 100644 --- a/platforma/settings.py +++ b/redakcja/settings.py @@ -44,19 +44,19 @@ USE_I18N = True # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" -MEDIA_ROOT = PROJECT_ROOT + '/media/' +MEDIA_ROOT = PROJECT_ROOT + '/media/dynamic' STATIC_ROOT = PROJECT_ROOT + '/static/' # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). # Examples: "http://media.lawrence.com", "http://example.com/media/" -MEDIA_URL = '/media/' -STATIC_URL = '/static/' +MEDIA_URL = '/media/dynamic/' +STATIC_URL = '/media/static/' # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a # trailing slash. # Examples: "http://foo.com/media/", "/media/". -ADMIN_MEDIA_PREFIX = '/admin-media/' +ADMIN_MEDIA_PREFIX = '/media/admin-media/' # Make this unique, and don't share it with anybody. SECRET_KEY = 'ife@x^_lak+x84=lxtr!-ur$5g$+s6xt85gbbm@e_fk6q3r8=+' @@ -73,7 +73,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processors.i18n", - "platforma.context_processors.settings", + "redakcja.context_processors.settings", # this is instead of media "django.core.context_processors.request", ) @@ -95,7 +95,7 @@ AUTHENTICATION_BACKENDS = ( 'django_cas.backends.CASBackend', ) -ROOT_URLCONF = 'platforma.urls' +ROOT_URLCONF = 'redakcja.urls' TEMPLATE_DIRS = ( PROJECT_ROOT + '/templates', @@ -175,8 +175,12 @@ except NameError: ('logging.cfg' if not DEBUG else 'logging.cfg.dev')) try: import logging - import logging.config - logging.config.fileConfig(LOGGING_CONFIG_FILE) -except ImportError, exc: + if os.path.isfile(LOGGING_CONFIG_FILE): + import logging.config + logging.config.fileConfig(LOGGING_CONFIG_FILE) + else: + import sys + logging.basicConfig(stream=sys.stderr) +except ImportError as exc: raise diff --git a/platforma/static/css/dialogs.css b/redakcja/static/css/dialogs.css similarity index 100% rename from platforma/static/css/dialogs.css rename to redakcja/static/css/dialogs.css diff --git a/platforma/static/css/filelist.css b/redakcja/static/css/filelist.css similarity index 100% rename from platforma/static/css/filelist.css rename to redakcja/static/css/filelist.css diff --git a/platforma/static/css/gallery.css b/redakcja/static/css/gallery.css similarity index 100% rename from platforma/static/css/gallery.css rename to redakcja/static/css/gallery.css diff --git a/platforma/static/css/history.css b/redakcja/static/css/history.css similarity index 100% rename from platforma/static/css/history.css rename to redakcja/static/css/history.css diff --git a/platforma/static/css/html.css b/redakcja/static/css/html.css similarity index 100% rename from platforma/static/css/html.css rename to redakcja/static/css/html.css diff --git a/platforma/static/css/html_print.css b/redakcja/static/css/html_print.css similarity index 100% rename from platforma/static/css/html_print.css rename to redakcja/static/css/html_print.css diff --git a/platforma/static/css/jquery.autocomplete.css b/redakcja/static/css/jquery.autocomplete.css similarity index 100% rename from platforma/static/css/jquery.autocomplete.css rename to redakcja/static/css/jquery.autocomplete.css diff --git a/platforma/static/css/master.css b/redakcja/static/css/master.css similarity index 100% rename from platforma/static/css/master.css rename to redakcja/static/css/master.css diff --git a/platforma/static/css/summary.css b/redakcja/static/css/summary.css similarity index 100% rename from platforma/static/css/summary.css rename to redakcja/static/css/summary.css diff --git a/platforma/static/css/xmlcolors_15032010.css b/redakcja/static/css/xmlcolors_15032010.css similarity index 100% rename from platforma/static/css/xmlcolors_15032010.css rename to redakcja/static/css/xmlcolors_15032010.css diff --git a/platforma/static/filebrowser/css/filebrowser.css b/redakcja/static/filebrowser/css/filebrowser.css similarity index 100% rename from platforma/static/filebrowser/css/filebrowser.css rename to redakcja/static/filebrowser/css/filebrowser.css diff --git a/platforma/static/filebrowser/img/filebrowser_icon_delete.gif b/redakcja/static/filebrowser/img/filebrowser_icon_delete.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_delete.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_delete.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_delete_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_delete_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_delete_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_delete_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_imagegenerator.gif b/redakcja/static/filebrowser/img/filebrowser_icon_imagegenerator.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_imagegenerator.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_imagegenerator.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_imagegenerator_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_imagegenerator_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_imagegenerator_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_imagegenerator_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_makethumb.gif b/redakcja/static/filebrowser/img/filebrowser_icon_makethumb.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_makethumb.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_makethumb.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_makethumb_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_makethumb_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_makethumb_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_makethumb_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_rename.gif b/redakcja/static/filebrowser/img/filebrowser_icon_rename.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_rename.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_rename.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_rename_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_rename_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_rename_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_rename_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_select.gif b/redakcja/static/filebrowser/img/filebrowser_icon_select.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_select.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_select.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_select_disabled.gif b/redakcja/static/filebrowser/img/filebrowser_icon_select_disabled.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_select_disabled.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_select_disabled.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_select_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_select_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_select_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_select_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_show.gif b/redakcja/static/filebrowser/img/filebrowser_icon_show.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_show.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_show.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_show_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_show_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_show_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_show_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_showversions.gif b/redakcja/static/filebrowser/img/filebrowser_icon_showversions.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_showversions.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_showversions.gif diff --git a/platforma/static/filebrowser/img/filebrowser_icon_showversions_hover.gif b/redakcja/static/filebrowser/img/filebrowser_icon_showversions_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_icon_showversions_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_icon_showversions_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator_hover.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_imagegenerator_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory_hover.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makedirectory_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_makethumb.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makethumb.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_makethumb.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makethumb.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_makethumb_hover.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makethumb_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_makethumb_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_makethumb_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload.gif diff --git a/platforma/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload_hover.gif b/redakcja/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload_hover.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload_hover.gif rename to redakcja/static/filebrowser/img/filebrowser_object-tools_icon_multipleupload_hover.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_.gif b/redakcja/static/filebrowser/img/filebrowser_type_.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_.gif rename to redakcja/static/filebrowser/img/filebrowser_type_.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_code.gif b/redakcja/static/filebrowser/img/filebrowser_type_code.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_code.gif rename to redakcja/static/filebrowser/img/filebrowser_type_code.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_document.gif b/redakcja/static/filebrowser/img/filebrowser_type_document.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_document.gif rename to redakcja/static/filebrowser/img/filebrowser_type_document.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_folder.gif b/redakcja/static/filebrowser/img/filebrowser_type_folder.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_folder.gif rename to redakcja/static/filebrowser/img/filebrowser_type_folder.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_image.gif b/redakcja/static/filebrowser/img/filebrowser_type_image.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_image.gif rename to redakcja/static/filebrowser/img/filebrowser_type_image.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_sound.gif b/redakcja/static/filebrowser/img/filebrowser_type_sound.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_sound.gif rename to redakcja/static/filebrowser/img/filebrowser_type_sound.gif diff --git a/platforma/static/filebrowser/img/filebrowser_type_video.gif b/redakcja/static/filebrowser/img/filebrowser_type_video.gif similarity index 100% rename from platforma/static/filebrowser/img/filebrowser_type_video.gif rename to redakcja/static/filebrowser/img/filebrowser_type_video.gif diff --git a/platforma/static/filebrowser/img/tableheader_arrow_down.gif b/redakcja/static/filebrowser/img/tableheader_arrow_down.gif similarity index 100% rename from platforma/static/filebrowser/img/tableheader_arrow_down.gif rename to redakcja/static/filebrowser/img/tableheader_arrow_down.gif diff --git a/platforma/static/filebrowser/img/tableheader_arrow_up.gif b/redakcja/static/filebrowser/img/tableheader_arrow_up.gif similarity index 100% rename from platforma/static/filebrowser/img/tableheader_arrow_up.gif rename to redakcja/static/filebrowser/img/tableheader_arrow_up.gif diff --git a/platforma/static/filebrowser/img/tableheader_arrows.gif b/redakcja/static/filebrowser/img/tableheader_arrows.gif similarity index 100% rename from platforma/static/filebrowser/img/tableheader_arrows.gif rename to redakcja/static/filebrowser/img/tableheader_arrows.gif diff --git a/platforma/static/filebrowser/js/AddFileBrowser.js b/redakcja/static/filebrowser/js/AddFileBrowser.js similarity index 100% rename from platforma/static/filebrowser/js/AddFileBrowser.js rename to redakcja/static/filebrowser/js/AddFileBrowser.js diff --git a/platforma/static/filebrowser/js/FB_CKEditor.js b/redakcja/static/filebrowser/js/FB_CKEditor.js similarity index 100% rename from platforma/static/filebrowser/js/FB_CKEditor.js rename to redakcja/static/filebrowser/js/FB_CKEditor.js diff --git a/platforma/static/filebrowser/js/FB_FileBrowseField.js b/redakcja/static/filebrowser/js/FB_FileBrowseField.js similarity index 100% rename from platforma/static/filebrowser/js/FB_FileBrowseField.js rename to redakcja/static/filebrowser/js/FB_FileBrowseField.js diff --git a/platforma/static/filebrowser/js/FB_TinyMCE.js b/redakcja/static/filebrowser/js/FB_TinyMCE.js similarity index 100% rename from platforma/static/filebrowser/js/FB_TinyMCE.js rename to redakcja/static/filebrowser/js/FB_TinyMCE.js diff --git a/platforma/static/filebrowser/js/TinyMCEAdmin.js b/redakcja/static/filebrowser/js/TinyMCEAdmin.js similarity index 100% rename from platforma/static/filebrowser/js/TinyMCEAdmin.js rename to redakcja/static/filebrowser/js/TinyMCEAdmin.js diff --git a/platforma/static/filebrowser/js/jquery-1.3.2.min.js b/redakcja/static/filebrowser/js/jquery-1.3.2.min.js similarity index 100% rename from platforma/static/filebrowser/js/jquery-1.3.2.min.js rename to redakcja/static/filebrowser/js/jquery-1.3.2.min.js diff --git a/platforma/static/filebrowser/uploadify/Uploadify v2.1.0 Manual.pdf b/redakcja/static/filebrowser/uploadify/Uploadify v2.1.0 Manual.pdf similarity index 100% rename from platforma/static/filebrowser/uploadify/Uploadify v2.1.0 Manual.pdf rename to redakcja/static/filebrowser/uploadify/Uploadify v2.1.0 Manual.pdf diff --git a/platforma/static/filebrowser/uploadify/cancel.png b/redakcja/static/filebrowser/uploadify/cancel.png similarity index 100% rename from platforma/static/filebrowser/uploadify/cancel.png rename to redakcja/static/filebrowser/uploadify/cancel.png diff --git a/platforma/static/filebrowser/uploadify/check.php b/redakcja/static/filebrowser/uploadify/check.php similarity index 100% rename from platforma/static/filebrowser/uploadify/check.php rename to redakcja/static/filebrowser/uploadify/check.php diff --git a/platforma/static/filebrowser/uploadify/com/adobe/air/logging/FileTarget.as b/redakcja/static/filebrowser/uploadify/com/adobe/air/logging/FileTarget.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/air/logging/FileTarget.as rename to redakcja/static/filebrowser/uploadify/com/adobe/air/logging/FileTarget.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/HMAC.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/HMAC.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/HMAC.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/HMAC.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/MD5.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/MD5.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/MD5.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/MD5.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/MD5Stream.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/MD5Stream.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/MD5Stream.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/MD5Stream.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA1.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA1.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA1.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA1.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA224.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA224.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA224.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA224.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA256.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA256.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/SHA256.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/SHA256.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/crypto/WSSEUsernameToken.as b/redakcja/static/filebrowser/uploadify/com/adobe/crypto/WSSEUsernameToken.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/crypto/WSSEUsernameToken.as rename to redakcja/static/filebrowser/uploadify/com/adobe/crypto/WSSEUsernameToken.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/errors/IllegalStateError.as b/redakcja/static/filebrowser/uploadify/com/adobe/errors/IllegalStateError.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/errors/IllegalStateError.as rename to redakcja/static/filebrowser/uploadify/com/adobe/errors/IllegalStateError.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Address.as b/redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Address.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Address.as rename to redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Address.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Email.as b/redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Email.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Email.as rename to redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Email.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Phone.as b/redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Phone.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Phone.as rename to redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/Phone.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCard.as b/redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCard.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCard.as rename to redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCard.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCardParser.as b/redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCardParser.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCardParser.as rename to redakcja/static/filebrowser/uploadify/com/adobe/fileformats/vcard/VCardParser.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/images/BitString.as b/redakcja/static/filebrowser/uploadify/com/adobe/images/BitString.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/images/BitString.as rename to redakcja/static/filebrowser/uploadify/com/adobe/images/BitString.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/images/JPGEncoder.as b/redakcja/static/filebrowser/uploadify/com/adobe/images/JPGEncoder.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/images/JPGEncoder.as rename to redakcja/static/filebrowser/uploadify/com/adobe/images/JPGEncoder.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/images/PNGEncoder.as b/redakcja/static/filebrowser/uploadify/com/adobe/images/PNGEncoder.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/images/PNGEncoder.as rename to redakcja/static/filebrowser/uploadify/com/adobe/images/PNGEncoder.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/DynamicURLLoader.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/DynamicURLLoader.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/DynamicURLLoader.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/DynamicURLLoader.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/IURIResolver.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/IURIResolver.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/IURIResolver.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/IURIResolver.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/MimeTypeMap.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/MimeTypeMap.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/MimeTypeMap.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/MimeTypeMap.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/URI.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/URI.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/URI.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/URI.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/URIEncodingBitmap.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/URIEncodingBitmap.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/URIEncodingBitmap.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/URIEncodingBitmap.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/net/proxies/RFC2817Socket.as b/redakcja/static/filebrowser/uploadify/com/adobe/net/proxies/RFC2817Socket.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/net/proxies/RFC2817Socket.as rename to redakcja/static/filebrowser/uploadify/com/adobe/net/proxies/RFC2817Socket.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Database.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Database.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Database.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Database.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Definition.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Definition.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Definition.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Definition.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Dict.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Dict.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Dict.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Dict.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/DictionaryServer.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/DictionaryServer.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/DictionaryServer.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/DictionaryServer.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/MatchStrategy.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/MatchStrategy.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/MatchStrategy.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/MatchStrategy.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Response.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Response.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/Response.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/Response.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ConnectedEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ConnectedEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ConnectedEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ConnectedEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DatabaseEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DatabaseEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DatabaseEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DatabaseEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionHeaderEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionHeaderEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionHeaderEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DefinitionHeaderEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DictionaryServerEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DictionaryServerEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DictionaryServerEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DictionaryServerEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DisconnectedEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DisconnectedEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DisconnectedEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/DisconnectedEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ErrorEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ErrorEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ErrorEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/ErrorEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchStrategiesEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchStrategiesEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchStrategiesEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/MatchStrategiesEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/NoMatchEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/NoMatchEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/events/NoMatchEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/events/NoMatchEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/util/CompleteResponseEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/util/CompleteResponseEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/util/CompleteResponseEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/util/CompleteResponseEvent.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/util/SocketHelper.as b/redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/util/SocketHelper.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/protocols/dict/util/SocketHelper.as rename to redakcja/static/filebrowser/uploadify/com/adobe/protocols/dict/util/SocketHelper.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSON.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSON.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSON.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSON.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONDecoder.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONDecoder.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONDecoder.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONDecoder.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONEncoder.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONEncoder.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONEncoder.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONEncoder.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONParseError.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONParseError.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONParseError.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONParseError.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONToken.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONToken.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONToken.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONToken.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenType.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenType.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenType.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenType.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenizer.as b/redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenizer.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenizer.as rename to redakcja/static/filebrowser/uploadify/com/adobe/serialization/json/JSONTokenizer.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/ArrayUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/ArrayUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/ArrayUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/ArrayUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/DateUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/DateUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/DateUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/DateUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/DictionaryUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/DictionaryUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/DictionaryUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/DictionaryUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/IntUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/IntUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/IntUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/IntUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/NumberFormatter.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/NumberFormatter.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/NumberFormatter.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/NumberFormatter.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/StringUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/StringUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/StringUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/StringUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/utils/XMLUtil.as b/redakcja/static/filebrowser/uploadify/com/adobe/utils/XMLUtil.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/utils/XMLUtil.as rename to redakcja/static/filebrowser/uploadify/com/adobe/utils/XMLUtil.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/webapis/ServiceBase.as b/redakcja/static/filebrowser/uploadify/com/adobe/webapis/ServiceBase.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/webapis/ServiceBase.as rename to redakcja/static/filebrowser/uploadify/com/adobe/webapis/ServiceBase.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/webapis/URLLoaderBase.as b/redakcja/static/filebrowser/uploadify/com/adobe/webapis/URLLoaderBase.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/webapis/URLLoaderBase.as rename to redakcja/static/filebrowser/uploadify/com/adobe/webapis/URLLoaderBase.as diff --git a/platforma/static/filebrowser/uploadify/com/adobe/webapis/events/ServiceEvent.as b/redakcja/static/filebrowser/uploadify/com/adobe/webapis/events/ServiceEvent.as similarity index 100% rename from platforma/static/filebrowser/uploadify/com/adobe/webapis/events/ServiceEvent.as rename to redakcja/static/filebrowser/uploadify/com/adobe/webapis/events/ServiceEvent.as diff --git a/platforma/static/filebrowser/uploadify/example/_notes/dwsync.xml b/redakcja/static/filebrowser/uploadify/example/_notes/dwsync.xml similarity index 100% rename from platforma/static/filebrowser/uploadify/example/_notes/dwsync.xml rename to redakcja/static/filebrowser/uploadify/example/_notes/dwsync.xml diff --git a/platforma/static/filebrowser/uploadify/example/cancel.png b/redakcja/static/filebrowser/uploadify/example/cancel.png similarity index 100% rename from platforma/static/filebrowser/uploadify/example/cancel.png rename to redakcja/static/filebrowser/uploadify/example/cancel.png diff --git a/platforma/static/filebrowser/uploadify/example/css/_notes/dwsync.xml b/redakcja/static/filebrowser/uploadify/example/css/_notes/dwsync.xml similarity index 100% rename from platforma/static/filebrowser/uploadify/example/css/_notes/dwsync.xml rename to redakcja/static/filebrowser/uploadify/example/css/_notes/dwsync.xml diff --git a/platforma/static/filebrowser/uploadify/example/css/default.css b/redakcja/static/filebrowser/uploadify/example/css/default.css similarity index 100% rename from platforma/static/filebrowser/uploadify/example/css/default.css rename to redakcja/static/filebrowser/uploadify/example/css/default.css diff --git a/platforma/static/filebrowser/uploadify/example/css/uploadify.css b/redakcja/static/filebrowser/uploadify/example/css/uploadify.css similarity index 100% rename from platforma/static/filebrowser/uploadify/example/css/uploadify.css rename to redakcja/static/filebrowser/uploadify/example/css/uploadify.css diff --git a/platforma/static/filebrowser/uploadify/example/index.php b/redakcja/static/filebrowser/uploadify/example/index.php similarity index 100% rename from platforma/static/filebrowser/uploadify/example/index.php rename to redakcja/static/filebrowser/uploadify/example/index.php diff --git a/platforma/static/filebrowser/uploadify/example/scripts/_notes/dwsync.xml b/redakcja/static/filebrowser/uploadify/example/scripts/_notes/dwsync.xml similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/_notes/dwsync.xml rename to redakcja/static/filebrowser/uploadify/example/scripts/_notes/dwsync.xml diff --git a/platforma/static/filebrowser/uploadify/example/scripts/check.php b/redakcja/static/filebrowser/uploadify/example/scripts/check.php similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/check.php rename to redakcja/static/filebrowser/uploadify/example/scripts/check.php diff --git a/platforma/static/filebrowser/uploadify/example/scripts/expressInstall.swf b/redakcja/static/filebrowser/uploadify/example/scripts/expressInstall.swf similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/expressInstall.swf rename to redakcja/static/filebrowser/uploadify/example/scripts/expressInstall.swf diff --git a/platforma/static/filebrowser/uploadify/example/scripts/jquery-1.3.2.min.js b/redakcja/static/filebrowser/uploadify/example/scripts/jquery-1.3.2.min.js similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/jquery-1.3.2.min.js rename to redakcja/static/filebrowser/uploadify/example/scripts/jquery-1.3.2.min.js diff --git a/platforma/static/filebrowser/uploadify/example/scripts/jquery.uploadify.v2.1.0.min.js b/redakcja/static/filebrowser/uploadify/example/scripts/jquery.uploadify.v2.1.0.min.js similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/jquery.uploadify.v2.1.0.min.js rename to redakcja/static/filebrowser/uploadify/example/scripts/jquery.uploadify.v2.1.0.min.js diff --git a/platforma/static/filebrowser/uploadify/example/scripts/swfobject.js b/redakcja/static/filebrowser/uploadify/example/scripts/swfobject.js similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/swfobject.js rename to redakcja/static/filebrowser/uploadify/example/scripts/swfobject.js diff --git a/platforma/static/filebrowser/uploadify/example/scripts/uploadify.php b/redakcja/static/filebrowser/uploadify/example/scripts/uploadify.php similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/uploadify.php rename to redakcja/static/filebrowser/uploadify/example/scripts/uploadify.php diff --git a/platforma/static/filebrowser/uploadify/example/scripts/uploadify.swf b/redakcja/static/filebrowser/uploadify/example/scripts/uploadify.swf similarity index 100% rename from platforma/static/filebrowser/uploadify/example/scripts/uploadify.swf rename to redakcja/static/filebrowser/uploadify/example/scripts/uploadify.swf diff --git a/platforma/static/filebrowser/uploadify/expressInstall.swf b/redakcja/static/filebrowser/uploadify/expressInstall.swf similarity index 100% rename from platforma/static/filebrowser/uploadify/expressInstall.swf rename to redakcja/static/filebrowser/uploadify/expressInstall.swf diff --git a/platforma/static/filebrowser/uploadify/jquery-1.3.2.min.js b/redakcja/static/filebrowser/uploadify/jquery-1.3.2.min.js similarity index 100% rename from platforma/static/filebrowser/uploadify/jquery-1.3.2.min.js rename to redakcja/static/filebrowser/uploadify/jquery-1.3.2.min.js diff --git a/platforma/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.js b/redakcja/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.js similarity index 100% rename from platforma/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.js rename to redakcja/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.js diff --git a/platforma/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.min.js b/redakcja/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.min.js similarity index 100% rename from platforma/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.min.js rename to redakcja/static/filebrowser/uploadify/jquery.uploadify.v2.1.0.min.js diff --git a/platforma/static/filebrowser/uploadify/swfobject.js b/redakcja/static/filebrowser/uploadify/swfobject.js similarity index 100% rename from platforma/static/filebrowser/uploadify/swfobject.js rename to redakcja/static/filebrowser/uploadify/swfobject.js diff --git a/platforma/static/filebrowser/uploadify/uploadify.allglyphs.swf b/redakcja/static/filebrowser/uploadify/uploadify.allglyphs.swf similarity index 100% rename from platforma/static/filebrowser/uploadify/uploadify.allglyphs.swf rename to redakcja/static/filebrowser/uploadify/uploadify.allglyphs.swf diff --git a/platforma/static/filebrowser/uploadify/uploadify.css b/redakcja/static/filebrowser/uploadify/uploadify.css similarity index 100% rename from platforma/static/filebrowser/uploadify/uploadify.css rename to redakcja/static/filebrowser/uploadify/uploadify.css diff --git a/platforma/static/filebrowser/uploadify/uploadify.fla b/redakcja/static/filebrowser/uploadify/uploadify.fla similarity index 100% rename from platforma/static/filebrowser/uploadify/uploadify.fla rename to redakcja/static/filebrowser/uploadify/uploadify.fla diff --git a/platforma/static/filebrowser/uploadify/uploadify.php b/redakcja/static/filebrowser/uploadify/uploadify.php similarity index 100% rename from platforma/static/filebrowser/uploadify/uploadify.php rename to redakcja/static/filebrowser/uploadify/uploadify.php diff --git a/platforma/static/filebrowser/uploadify/uploadify.swf b/redakcja/static/filebrowser/uploadify/uploadify.swf similarity index 100% rename from platforma/static/filebrowser/uploadify/uploadify.swf rename to redakcja/static/filebrowser/uploadify/uploadify.swf diff --git a/platforma/static/icons/close.png b/redakcja/static/icons/close.png similarity index 100% rename from platforma/static/icons/close.png rename to redakcja/static/icons/close.png diff --git a/platforma/static/icons/go-next.png b/redakcja/static/icons/go-next.png similarity index 100% rename from platforma/static/icons/go-next.png rename to redakcja/static/icons/go-next.png diff --git a/platforma/static/icons/go-previous.png b/redakcja/static/icons/go-previous.png similarity index 100% rename from platforma/static/icons/go-previous.png rename to redakcja/static/icons/go-previous.png diff --git a/platforma/static/icons/zoom.png b/redakcja/static/icons/zoom.png similarity index 100% rename from platforma/static/icons/zoom.png rename to redakcja/static/icons/zoom.png diff --git a/platforma/static/icons/zoom_in.png b/redakcja/static/icons/zoom_in.png similarity index 100% rename from platforma/static/icons/zoom_in.png rename to redakcja/static/icons/zoom_in.png diff --git a/platforma/static/icons/zoom_out.png b/redakcja/static/icons/zoom_out.png similarity index 100% rename from platforma/static/icons/zoom_out.png rename to redakcja/static/icons/zoom_out.png diff --git a/platforma/static/img/gallery.png b/redakcja/static/img/gallery.png similarity index 100% rename from platforma/static/img/gallery.png rename to redakcja/static/img/gallery.png diff --git a/platforma/static/img/logo.png b/redakcja/static/img/logo.png similarity index 100% rename from platforma/static/img/logo.png rename to redakcja/static/img/logo.png diff --git a/platforma/static/img/sample_cover.png b/redakcja/static/img/sample_cover.png similarity index 100% rename from platforma/static/img/sample_cover.png rename to redakcja/static/img/sample_cover.png diff --git a/platforma/static/img/spinner.gif b/redakcja/static/img/spinner.gif similarity index 100% rename from platforma/static/img/spinner.gif rename to redakcja/static/img/spinner.gif diff --git a/platforma/static/js/button_scripts.js b/redakcja/static/js/button_scripts.js similarity index 100% rename from platforma/static/js/button_scripts.js rename to redakcja/static/js/button_scripts.js diff --git a/platforma/static/js/jquery-1.4.2.min.js b/redakcja/static/js/jquery-1.4.2.min.js similarity index 100% rename from platforma/static/js/jquery-1.4.2.min.js rename to redakcja/static/js/jquery-1.4.2.min.js diff --git a/platforma/static/js/jquery.autocomplete.js b/redakcja/static/js/jquery.autocomplete.js similarity index 100% rename from platforma/static/js/jquery.autocomplete.js rename to redakcja/static/js/jquery.autocomplete.js diff --git a/platforma/static/js/jquery.blockui.js b/redakcja/static/js/jquery.blockui.js similarity index 100% rename from platforma/static/js/jquery.blockui.js rename to redakcja/static/js/jquery.blockui.js diff --git a/platforma/static/js/jquery.elastic.js b/redakcja/static/js/jquery.elastic.js similarity index 100% rename from platforma/static/js/jquery.elastic.js rename to redakcja/static/js/jquery.elastic.js diff --git a/platforma/static/js/lib/codemirror/codemirror.js b/redakcja/static/js/lib/codemirror/codemirror.js similarity index 100% rename from platforma/static/js/lib/codemirror/codemirror.js rename to redakcja/static/js/lib/codemirror/codemirror.js diff --git a/platforma/static/js/lib/codemirror/editor.js b/redakcja/static/js/lib/codemirror/editor.js similarity index 100% rename from platforma/static/js/lib/codemirror/editor.js rename to redakcja/static/js/lib/codemirror/editor.js diff --git a/platforma/static/js/lib/codemirror/parsexml.js b/redakcja/static/js/lib/codemirror/parsexml.js similarity index 100% rename from platforma/static/js/lib/codemirror/parsexml.js rename to redakcja/static/js/lib/codemirror/parsexml.js diff --git a/platforma/static/js/lib/codemirror/select.js b/redakcja/static/js/lib/codemirror/select.js similarity index 100% rename from platforma/static/js/lib/codemirror/select.js rename to redakcja/static/js/lib/codemirror/select.js diff --git a/platforma/static/js/lib/codemirror/stringstream.js b/redakcja/static/js/lib/codemirror/stringstream.js similarity index 100% rename from platforma/static/js/lib/codemirror/stringstream.js rename to redakcja/static/js/lib/codemirror/stringstream.js diff --git a/platforma/static/js/lib/codemirror/tokenize.js b/redakcja/static/js/lib/codemirror/tokenize.js similarity index 100% rename from platforma/static/js/lib/codemirror/tokenize.js rename to redakcja/static/js/lib/codemirror/tokenize.js diff --git a/platforma/static/js/lib/codemirror/undo.js b/redakcja/static/js/lib/codemirror/undo.js similarity index 100% rename from platforma/static/js/lib/codemirror/undo.js rename to redakcja/static/js/lib/codemirror/undo.js diff --git a/platforma/static/js/lib/codemirror/util.js b/redakcja/static/js/lib/codemirror/util.js similarity index 100% rename from platforma/static/js/lib/codemirror/util.js rename to redakcja/static/js/lib/codemirror/util.js diff --git a/platforma/static/js/slugify.js b/redakcja/static/js/slugify.js similarity index 100% rename from platforma/static/js/slugify.js rename to redakcja/static/js/slugify.js diff --git a/platforma/static/js/wiki/base.js b/redakcja/static/js/wiki/base.js similarity index 100% rename from platforma/static/js/wiki/base.js rename to redakcja/static/js/wiki/base.js diff --git a/platforma/static/js/wiki/dialog_addtag.js b/redakcja/static/js/wiki/dialog_addtag.js similarity index 100% rename from platforma/static/js/wiki/dialog_addtag.js rename to redakcja/static/js/wiki/dialog_addtag.js diff --git a/platforma/static/js/wiki/dialog_save.js b/redakcja/static/js/wiki/dialog_save.js similarity index 100% rename from platforma/static/js/wiki/dialog_save.js rename to redakcja/static/js/wiki/dialog_save.js diff --git a/platforma/static/js/wiki/loader.js b/redakcja/static/js/wiki/loader.js similarity index 100% rename from platforma/static/js/wiki/loader.js rename to redakcja/static/js/wiki/loader.js diff --git a/platforma/static/js/wiki/loader_readonly.js b/redakcja/static/js/wiki/loader_readonly.js similarity index 100% rename from platforma/static/js/wiki/loader_readonly.js rename to redakcja/static/js/wiki/loader_readonly.js diff --git a/platforma/static/js/wiki/view_column_diff.js b/redakcja/static/js/wiki/view_column_diff.js similarity index 100% rename from platforma/static/js/wiki/view_column_diff.js rename to redakcja/static/js/wiki/view_column_diff.js diff --git a/platforma/static/js/wiki/view_editor_source.js b/redakcja/static/js/wiki/view_editor_source.js similarity index 100% rename from platforma/static/js/wiki/view_editor_source.js rename to redakcja/static/js/wiki/view_editor_source.js diff --git a/platforma/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js similarity index 100% rename from platforma/static/js/wiki/view_editor_wysiwyg.js rename to redakcja/static/js/wiki/view_editor_wysiwyg.js diff --git a/platforma/static/js/wiki/view_gallery.js b/redakcja/static/js/wiki/view_gallery.js similarity index 100% rename from platforma/static/js/wiki/view_gallery.js rename to redakcja/static/js/wiki/view_gallery.js diff --git a/platforma/static/js/wiki/view_history.js b/redakcja/static/js/wiki/view_history.js similarity index 100% rename from platforma/static/js/wiki/view_history.js rename to redakcja/static/js/wiki/view_history.js diff --git a/platforma/static/js/wiki/view_summary.js b/redakcja/static/js/wiki/view_summary.js similarity index 100% rename from platforma/static/js/wiki/view_summary.js rename to redakcja/static/js/wiki/view_summary.js diff --git a/platforma/static/js/wiki/wikiapi.js b/redakcja/static/js/wiki/wikiapi.js similarity index 100% rename from platforma/static/js/wiki/wikiapi.js rename to redakcja/static/js/wiki/wikiapi.js diff --git a/platforma/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js similarity index 100% rename from platforma/static/js/wiki/xslt.js rename to redakcja/static/js/wiki/xslt.js diff --git a/platforma/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl similarity index 100% rename from platforma/static/xsl/wl2html_client.xsl rename to redakcja/static/xsl/wl2html_client.xsl diff --git a/platforma/templates/404.html b/redakcja/templates/404.html similarity index 100% rename from platforma/templates/404.html rename to redakcja/templates/404.html diff --git a/platforma/templates/500.html b/redakcja/templates/500.html similarity index 100% rename from platforma/templates/500.html rename to redakcja/templates/500.html diff --git a/platforma/templates/503.html b/redakcja/templates/503.html similarity index 100% rename from platforma/templates/503.html rename to redakcja/templates/503.html diff --git a/platforma/templates/admin/index.html b/redakcja/templates/admin/index.html similarity index 100% rename from platforma/templates/admin/index.html rename to redakcja/templates/admin/index.html diff --git a/platforma/templates/base.html b/redakcja/templates/base.html similarity index 100% rename from platforma/templates/base.html rename to redakcja/templates/base.html diff --git a/platforma/templates/registration/head_login.html b/redakcja/templates/registration/head_login.html similarity index 100% rename from platforma/templates/registration/head_login.html rename to redakcja/templates/registration/head_login.html diff --git a/platforma/templates/registration/login.html b/redakcja/templates/registration/login.html similarity index 100% rename from platforma/templates/registration/login.html rename to redakcja/templates/registration/login.html diff --git a/platforma/urls.py b/redakcja/urls.py similarity index 100% rename from platforma/urls.py rename to redakcja/urls.py diff --git a/platforma/config/requirements.txt b/requirements.txt similarity index 100% rename from platforma/config/requirements.txt rename to requirements.txt diff --git a/setup.py b/setup.py deleted file mode 100644 index 199329ec..00000000 --- a/setup.py +++ /dev/null @@ -1,109 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import os -from distutils.core import setup - -RESOURCE_PATHS = ('templates', 'static', 'media', 'locale', 'config') - - -def is_package(path): - return os.path.isdir(path) \ - and os.path.isfile(os.path.join(path, '__init__.py')) - - -def find_packages(path, base=""): - """ Find all packages in path """ - packages = {} - for item in os.listdir(path): - dir = os.path.join(path, item) - if is_package(dir): - if base: - module_name = "%(base)s.%(item)s" % vars() - else: - module_name = item - packages[module_name] = dir - packages.update(find_packages(dir, module_name)) - return packages - - -def files_from(*paths, **kwargs): - base = kwargs.pop('base') - - def generator(): - for path in paths: - path = os.path.join(base, path) - if not os.path.isdir(path) or is_package(path): - continue - - for dir, _, files in os.walk(path): - for file in files: - yield os.path.relpath(os.path.join(dir, file), base) - - return list(generator()) - - -def django_setup(project, apps=[], apps_dir='apps', package_dir={}, packages=[], package_data={}, **kwargs): - - # directories - extra_dirs = dict((app, os.path.join(apps_dir, app)) for app in apps) - extra_dirs[project] = project - package_dir.update(extra_dirs) - - # applications - packages.extend(apps) - # with all subpackages - for app in apps: - packages.extend(find_packages(os.path.join(apps_dir, app), base=app)) - # and the project - packages.append(project) - - # extra data - extra_data = {} - for app in apps: - extra_data[app] = files_from(*RESOURCE_PATHS, base=os.path.join(apps_dir, app)) - extra_data[project] = files_from(*RESOURCE_PATHS, base=project) - package_data.update(extra_data) - - return setup( - package_dir=package_dir, - packages=packages, - package_data=package_data, **kwargs) - - -# -# The real stuff :) -# -django_setup( - name='fnp-redakcja', - version='1.1', - description='IDE for developing books.', - author="Fundacja Nowoczesna Polska", - author_email='fundacja@nowoczesnapolska.org.pl', - license="GNU Affero General Public License 3", - maintainer='Łukasz Rekucki', - maintainer_email='lrekucki@gmail.com', - url='http://github.com/fnp/redakcja', - package_dir={'': 'lib'}, - py_modules=[ - 'wlapi', - 'vstorage', - ], - scripts=[ - 'scripts/crop.py', - 'scripts/imgconv.py', - ], - # django applications - project='platforma', - apps_dir='apps', - apps=[ - 'compress', - 'django_cas', - 'filebrowser', - 'toolbar', - 'wiki', - ], - requires=[ - "librarian (>=1.3)", - "Django (>=1.1.1,<1.2)", - ]) -- 2.20.1