├── .gitignore ├── _project ├── docs ├── en │ ├── _static │ │ ├── bae1.png │ │ ├── bae2.png │ │ ├── bae3.png │ │ ├── bae4.png │ │ ├── bae5.png │ │ ├── bae6.png │ │ ├── error.png │ │ ├── first.png │ │ ├── gevent_01.png │ │ ├── heroku1.png │ │ ├── heroku2.png │ │ ├── heroku3.png │ │ ├── menus_app.png │ │ ├── new.png │ │ ├── plugs_todo_first.png │ │ ├── plugs_todo_index.png │ │ ├── uliweb_media.png │ │ ├── uliweb_small.png │ │ ├── upload_01.png │ │ └── view_index.png │ ├── architecture.md │ ├── conf.py │ ├── deployment.md │ ├── exclude.txt │ ├── extending.md │ ├── form.md │ ├── globals.md │ ├── guestbook.md │ ├── hello_uliweb.md │ ├── i18n.md │ ├── index.md │ ├── installation.md │ ├── introduction.md │ ├── manage_guide.md │ ├── orm.md │ ├── template.md │ ├── update.md │ └── url_mapping.md ├── index.html ├── make.bat ├── make.sh ├── static │ ├── jquery-1.7.2.min.js │ └── jquery.cookie.js ├── templates │ ├── default.html │ ├── index.html │ └── layout.html └── zh_CN │ ├── uliweb │ ├── _static │ │ ├── bae1.png │ │ ├── bae2.png │ │ ├── bae3.png │ │ ├── bae4.png │ │ ├── bae5.png │ │ ├── bae6.png │ │ ├── blog_layout.jpg │ │ ├── blog_run_first.png │ │ ├── blogs │ │ │ └── admin_layout.png │ │ ├── error.png │ │ ├── first.png │ │ ├── gevent_01.png │ │ ├── heroku1.png │ │ ├── heroku2.png │ │ ├── heroku3.png │ │ ├── menus_app.png │ │ ├── new.png │ │ ├── plugs_todo_first.png │ │ ├── plugs_todo_index.png │ │ ├── uliweb_media.png │ │ ├── uliweb_small.png │ │ ├── upload_01.png │ │ └── view_index.png │ ├── app │ │ ├── celery.md │ │ ├── clean.md │ │ ├── objcache.md │ │ ├── recorder.md │ │ └── sequence.md │ ├── app_auth.md │ ├── app_csrf.md │ ├── app_rbac.md │ ├── app_secretkey.md │ ├── app_soap.md │ ├── app_staticfiles.md │ ├── app_template.md │ ├── app_upload.md │ ├── architecture.md │ ├── articles │ │ ├── auth_type.md │ │ ├── css_js_combine.md │ │ ├── find_option.md │ │ ├── gevent_support.md │ │ ├── jqcookie.md │ │ ├── multitable_query.md │ │ ├── nginx_cfg.md │ │ ├── sqlite_timeout.md │ │ ├── svg_mimetype_config.md │ │ ├── tornado_support.md │ │ ├── url_prefix.md │ │ ├── what_does_model_init_does.md │ │ └── xhr_redirect_json.md │ ├── bae.md │ ├── basic.md │ ├── blogs │ │ ├── admin_layout.md │ │ ├── blog_add.md │ │ ├── blog_design.md │ │ ├── codes │ │ │ └── 01 │ │ │ │ ├── admin_layout.css │ │ │ │ └── admin_layout.html │ │ ├── create_project.md │ │ ├── globle_design.md │ │ └── introduction.md │ ├── cache.md │ ├── command.md │ ├── common_apis.md │ ├── compat.md │ ├── conf.py │ ├── db │ │ ├── api.md │ │ ├── faq.md │ │ ├── introduction.md │ │ ├── multidb.md │ │ └── orm.md │ ├── debug_with_pycharm.md │ ├── deployment.md │ ├── exclude.txt │ ├── form.md │ ├── generic.md │ ├── globals.md │ ├── guestbook.md │ ├── hello_uliweb.md │ ├── heroku.md │ ├── i18n.md │ ├── index.md │ ├── installation.md │ ├── introduction.md │ ├── log.md │ ├── mail.md │ ├── manage_guide.md │ ├── middleware.md │ ├── plugs │ │ ├── apps.md │ │ ├── dialog2.md │ │ └── menus.md │ ├── plugs_todo.md │ ├── sae.md │ ├── session.md │ ├── settings.md │ ├── taglibs.md │ ├── template.md │ ├── test.md │ ├── uliweb_apps.md │ ├── uliweb_ui │ │ ├── apis.md │ │ └── rgrid.md │ ├── update │ │ ├── update_0.1.4.md │ │ ├── update_0.1.5.md │ │ ├── update_0.1.6.md │ │ ├── update_0.1.7.md │ │ ├── update_0.2.1.md │ │ ├── update_0.2.2.md │ │ ├── update_0.2.3.md │ │ ├── update_0.2.4.md │ │ ├── update_0.2.5.md │ │ ├── update_0.2.6.md │ │ ├── update_0.2.md │ │ ├── update_0.3.1.md │ │ ├── update_0.3.md │ │ ├── update_0.4.1.md │ │ ├── update_0.4.md │ │ └── update_0.5.md │ ├── url_mapping.md │ ├── utils │ │ └── workers.md │ ├── views.md │ ├── whouse.md │ └── xmlrpc.md │ └── uliweb3 │ ├── _static │ ├── apijson_todo_01.png │ ├── apijson_todo_02.png │ ├── bae1.png │ ├── bae2.png │ ├── bae3.png │ ├── bae4.png │ ├── bae5.png │ ├── bae6.png │ ├── blog_layout.jpg │ ├── blog_run_first.png │ ├── blogs │ │ └── admin_layout.png │ ├── debug_with_pycharm_01.png │ ├── debug_with_pycharm_02.png │ ├── debug_with_pycharm_03.png │ ├── debug_with_pycharm_04.png │ ├── error.png │ ├── first.png │ ├── gantt01.png │ ├── gevent_01.png │ ├── heroku1.png │ ├── heroku2.png │ ├── heroku3.png │ ├── menus_app.png │ ├── new.png │ ├── plugs_todo_first.png │ ├── plugs_todo_index.png │ ├── ulipad_0310.PNG │ ├── uliweb_media.png │ ├── uliweb_small.png │ ├── upload_01.png │ └── view_index.png │ ├── app │ ├── auth.md │ ├── celery.md │ ├── clean.md │ ├── csrf.md │ ├── objcache.md │ ├── rbac.md │ ├── recorder.md │ ├── secretkey.md │ ├── sequence.md │ ├── soap.md │ ├── staticfiles.md │ ├── template.md │ ├── timezone.md │ └── upload.md │ ├── architecture.md │ ├── articles │ ├── auth_type.md │ ├── css_js_combine.md │ ├── find_option.md │ ├── gevent_support.md │ ├── jqcookie.md │ ├── multitable_query.md │ ├── nginx_cfg.md │ ├── sqlite_timeout.md │ ├── svg_mimetype_config.md │ ├── tornado_support.md │ ├── url_prefix.md │ ├── what_does_model_init_does.md │ └── xhr_redirect_json.md │ ├── bae.md │ ├── basic.md │ ├── blogs │ ├── admin_layout.md │ ├── blog_add.md │ ├── blog_design.md │ ├── codes │ │ └── 01 │ │ │ ├── admin_layout.css │ │ │ └── admin_layout.html │ ├── create_project.md │ ├── globle_design.md │ └── introduction.md │ ├── cache.md │ ├── command.md │ ├── common_apis.md │ ├── compat.md │ ├── conf.py │ ├── db │ ├── api.md │ ├── faq.md │ ├── introduction.md │ ├── multidb.md │ └── orm.md │ ├── debug_with_pycharm.md │ ├── deployment.md │ ├── exclude.txt │ ├── form.md │ ├── generic.md │ ├── globals.md │ ├── heroku.md │ ├── i18n.md │ ├── index.md │ ├── installation.md │ ├── introduction.md │ ├── log.md │ ├── mail.md │ ├── manage_guide.md │ ├── middleware.md │ ├── sae.md │ ├── session.md │ ├── settings.md │ ├── taglibs.md │ ├── template.md │ ├── test.md │ ├── tutorial │ ├── guestbook.md │ ├── hello_uliweb.md │ ├── todo_apijson.md │ └── todo_basic.md │ ├── uliweb_apps.md │ ├── uliweb_ui │ ├── apis.md │ └── rgrid.md │ ├── update │ ├── update_0.1.4.md │ ├── update_0.1.5.md │ ├── update_0.1.6.md │ ├── update_0.1.7.md │ ├── update_0.2.1.md │ ├── update_0.2.2.md │ ├── update_0.2.3.md │ ├── update_0.2.4.md │ ├── update_0.2.5.md │ ├── update_0.2.6.md │ ├── update_0.2.md │ ├── update_0.3.1.md │ ├── update_0.3.md │ ├── update_0.4.1.md │ ├── update_0.4.md │ └── update_0.5.md │ ├── url_mapping.md │ ├── utils │ └── workers.md │ ├── views.md │ ├── whouse.md │ └── xmlrpc.md └── projects ├── .gitignore ├── uliweb ├── generic_blog │ ├── apps │ │ ├── blog │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── models.py │ │ │ ├── settings.ini │ │ │ ├── static │ │ │ │ └── readme.txt │ │ │ ├── templates │ │ │ │ ├── BlogView │ │ │ │ │ ├── add.html │ │ │ │ │ ├── edit.html │ │ │ │ │ ├── layout.html │ │ │ │ │ ├── list.html │ │ │ │ │ └── view.html │ │ │ │ └── readme.txt │ │ │ └── views.py │ │ └── settings.ini │ ├── fcgi_handler.fcgi │ └── wsgi_handler.py ├── guestbook │ ├── .gitignore │ ├── apps │ │ ├── GuestBook │ │ │ ├── __init__.py │ │ │ ├── forms.py │ │ │ ├── models.py │ │ │ ├── settings.ini │ │ │ ├── static │ │ │ │ └── delete.gif │ │ │ ├── templates │ │ │ │ ├── base.html │ │ │ │ ├── error.html │ │ │ │ ├── index.html │ │ │ │ └── new_comment.html │ │ │ └── views.py │ │ ├── ckeditor │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── static │ │ │ │ └── ckeditor │ │ │ │ │ ├── .htaccess │ │ │ │ │ ├── CHANGES.html │ │ │ │ │ ├── LICENSE.html │ │ │ │ │ ├── ckeditor.js │ │ │ │ │ ├── ckeditor_basic.js │ │ │ │ │ ├── config.js │ │ │ │ │ ├── contents.css │ │ │ │ │ ├── images │ │ │ │ │ └── spacer.gif │ │ │ │ │ ├── lang │ │ │ │ │ ├── _languages.js │ │ │ │ │ ├── _translationstatus.txt │ │ │ │ │ ├── af.js │ │ │ │ │ ├── ar.js │ │ │ │ │ ├── bg.js │ │ │ │ │ ├── bn.js │ │ │ │ │ ├── bs.js │ │ │ │ │ ├── ca.js │ │ │ │ │ ├── cs.js │ │ │ │ │ ├── da.js │ │ │ │ │ ├── de.js │ │ │ │ │ ├── el.js │ │ │ │ │ ├── en-au.js │ │ │ │ │ ├── en-ca.js │ │ │ │ │ ├── en-uk.js │ │ │ │ │ ├── en.js │ │ │ │ │ ├── eo.js │ │ │ │ │ ├── es.js │ │ │ │ │ ├── et.js │ │ │ │ │ ├── eu.js │ │ │ │ │ ├── fa.js │ │ │ │ │ ├── fi.js │ │ │ │ │ ├── fo.js │ │ │ │ │ ├── fr-ca.js │ │ │ │ │ ├── fr.js │ │ │ │ │ ├── gl.js │ │ │ │ │ ├── gu.js │ │ │ │ │ ├── he.js │ │ │ │ │ ├── hi.js │ │ │ │ │ ├── hr.js │ │ │ │ │ ├── hu.js │ │ │ │ │ ├── is.js │ │ │ │ │ ├── it.js │ │ │ │ │ ├── ja.js │ │ │ │ │ ├── km.js │ │ │ │ │ ├── ko.js │ │ │ │ │ ├── lt.js │ │ │ │ │ ├── lv.js │ │ │ │ │ ├── mn.js │ │ │ │ │ ├── ms.js │ │ │ │ │ ├── nb.js │ │ │ │ │ ├── nl.js │ │ │ │ │ ├── no.js │ │ │ │ │ ├── pl.js │ │ │ │ │ ├── pt-br.js │ │ │ │ │ ├── pt.js │ │ │ │ │ ├── ro.js │ │ │ │ │ ├── ru.js │ │ │ │ │ ├── sk.js │ │ │ │ │ ├── sl.js │ │ │ │ │ ├── sr-latn.js │ │ │ │ │ ├── sr.js │ │ │ │ │ ├── sv.js │ │ │ │ │ ├── th.js │ │ │ │ │ ├── tr.js │ │ │ │ │ ├── uk.js │ │ │ │ │ ├── vi.js │ │ │ │ │ ├── zh-cn.js │ │ │ │ │ └── zh.js │ │ │ │ │ ├── plugins │ │ │ │ │ ├── about │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ ├── about.js │ │ │ │ │ │ │ └── logo_ckeditor.png │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── basicstyles │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── blockquote │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── button │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── clipboard │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── paste.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── colorbutton │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── contextmenu │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── dialog │ │ │ │ │ │ ├── dialogDefinition.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── dialogui │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── domiterator │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── editingblock │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── elementspath │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── enterkey │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── entities │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── fakeobjects │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── filebrowser │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── find │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── find.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── flash │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── flash.js │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── placeholder.png │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── floatpanel │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── font │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── format │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── forms │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ ├── button.js │ │ │ │ │ │ │ ├── checkbox.js │ │ │ │ │ │ │ ├── form.js │ │ │ │ │ │ │ ├── hiddenfield.js │ │ │ │ │ │ │ ├── radio.js │ │ │ │ │ │ │ ├── select.js │ │ │ │ │ │ │ ├── textarea.js │ │ │ │ │ │ │ └── textfield.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── horizontalrule │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── htmldataprocessor │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── htmlwriter │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── iframedialog │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── image │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── image.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── indent │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── justify │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── keystrokes │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── link │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ ├── anchor.js │ │ │ │ │ │ │ └── link.js │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── anchor.gif │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── list │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── listblock │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── maximize │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── menu │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── menubutton │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── newpage │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── pagebreak │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── pagebreak.gif │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── panel │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── panelbutton │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── pastefromword │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── pastefromword.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── pastetext │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── pastetext.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── popup │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── preview │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── print │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── removeformat │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── resize │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── richcombo │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── save │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── scayt │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ ├── options.js │ │ │ │ │ │ │ └── toolbar.css │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── selection │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── showblocks │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── block_address.png │ │ │ │ │ │ │ ├── block_blockquote.png │ │ │ │ │ │ │ ├── block_div.png │ │ │ │ │ │ │ ├── block_h1.png │ │ │ │ │ │ │ ├── block_h2.png │ │ │ │ │ │ │ ├── block_h3.png │ │ │ │ │ │ │ ├── block_h4.png │ │ │ │ │ │ │ ├── block_h5.png │ │ │ │ │ │ │ ├── block_h6.png │ │ │ │ │ │ │ ├── block_p.png │ │ │ │ │ │ │ └── block_pre.png │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── smiley │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── smiley.js │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── angel_smile.gif │ │ │ │ │ │ │ ├── angry_smile.gif │ │ │ │ │ │ │ ├── broken_heart.gif │ │ │ │ │ │ │ ├── confused_smile.gif │ │ │ │ │ │ │ ├── cry_smile.gif │ │ │ │ │ │ │ ├── devil_smile.gif │ │ │ │ │ │ │ ├── embaressed_smile.gif │ │ │ │ │ │ │ ├── envelope.gif │ │ │ │ │ │ │ ├── heart.gif │ │ │ │ │ │ │ ├── kiss.gif │ │ │ │ │ │ │ ├── lightbulb.gif │ │ │ │ │ │ │ ├── omg_smile.gif │ │ │ │ │ │ │ ├── regular_smile.gif │ │ │ │ │ │ │ ├── sad_smile.gif │ │ │ │ │ │ │ ├── shades_smile.gif │ │ │ │ │ │ │ ├── teeth_smile.gif │ │ │ │ │ │ │ ├── thumbs_down.gif │ │ │ │ │ │ │ ├── thumbs_up.gif │ │ │ │ │ │ │ ├── tounge_smile.gif │ │ │ │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ │ │ │ └── wink_smile.gif │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── sourcearea │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── specialchar │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── specialchar.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── styles │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── stylescombo │ │ │ │ │ │ ├── plugin.js │ │ │ │ │ │ └── styles │ │ │ │ │ │ │ └── default.js │ │ │ │ │ ├── tab │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── table │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── table.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── tabletools │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── tableCell.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── templates │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── templates.js │ │ │ │ │ │ ├── plugin.js │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ ├── default.js │ │ │ │ │ │ │ └── images │ │ │ │ │ │ │ ├── template1.gif │ │ │ │ │ │ │ ├── template2.gif │ │ │ │ │ │ │ └── template3.gif │ │ │ │ │ ├── toolbar │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── uicolor │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ └── uicolor.js │ │ │ │ │ │ ├── lang │ │ │ │ │ │ │ └── en.js │ │ │ │ │ │ ├── plugin.js │ │ │ │ │ │ ├── uicolor.gif │ │ │ │ │ │ └── yui │ │ │ │ │ │ │ ├── assets │ │ │ │ │ │ │ ├── hue_bg.png │ │ │ │ │ │ │ ├── hue_thumb.png │ │ │ │ │ │ │ ├── picker_mask.png │ │ │ │ │ │ │ ├── picker_thumb.png │ │ │ │ │ │ │ └── yui.css │ │ │ │ │ │ │ └── yui.js │ │ │ │ │ ├── undo │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── wsc │ │ │ │ │ │ ├── dialogs │ │ │ │ │ │ │ ├── ciframe.html │ │ │ │ │ │ │ ├── tmpFrameset.html │ │ │ │ │ │ │ ├── wsc.css │ │ │ │ │ │ │ └── wsc.js │ │ │ │ │ │ └── plugin.js │ │ │ │ │ └── wysiwygarea │ │ │ │ │ │ └── plugin.js │ │ │ │ │ ├── skins │ │ │ │ │ ├── kama │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── editor.css │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ │ │ └── toolbar_start.gif │ │ │ │ │ │ ├── skin.js │ │ │ │ │ │ └── templates.css │ │ │ │ │ ├── office2003 │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── editor.css │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ │ └── sprites_ie6.png │ │ │ │ │ │ ├── skin.js │ │ │ │ │ │ └── templates.css │ │ │ │ │ └── v2 │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── editor.css │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── images │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ │ └── toolbar_start.gif │ │ │ │ │ │ ├── skin.js │ │ │ │ │ │ └── templates.css │ │ │ │ │ └── themes │ │ │ │ │ └── default │ │ │ │ │ └── theme.js │ │ │ └── template_plugins │ │ │ │ ├── __init__.py │ │ │ │ └── ckeditor.py │ │ └── settings.ini │ └── wsgi_handler.wsgi ├── plugs_todo │ ├── _project │ ├── apps │ │ ├── settings.ini │ │ └── todo │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── models.py │ │ │ ├── settings.ini │ │ │ ├── static │ │ │ └── readme.txt │ │ │ ├── templates │ │ │ ├── base.html │ │ │ └── readme.txt │ │ │ └── views.py │ ├── fcgi_handler.fcgi │ └── wsgi_handler.py ├── simple_todo │ ├── app.yaml │ ├── apps │ │ ├── settings.ini │ │ └── todo │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── models.py │ │ │ ├── settings.ini │ │ │ ├── static │ │ │ ├── readme.txt │ │ │ └── styles │ │ │ │ ├── index │ │ │ │ ├── images │ │ │ │ │ ├── bg_1.png │ │ │ │ │ ├── email.png │ │ │ │ │ ├── home.png │ │ │ │ │ ├── msn.png │ │ │ │ │ ├── qq.png │ │ │ │ │ └── website.png │ │ │ │ └── style.css │ │ │ │ └── reset.css │ │ │ ├── templates │ │ │ ├── Todo │ │ │ │ ├── edit.html │ │ │ │ └── index.html │ │ │ ├── error.html │ │ │ ├── index.html │ │ │ ├── layout.html │ │ │ └── readme.txt │ │ │ └── views.py │ ├── fcgi_handler.fcgi │ ├── gae_handler.py │ └── wsgi_handler.py ├── soap_test │ ├── apps │ │ ├── settings.ini │ │ └── soap_test │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── static │ │ │ └── readme.txt │ │ │ ├── templates │ │ │ └── readme.txt │ │ │ └── views.py │ ├── fcgi_handler.fcgi │ ├── test_pys.py │ ├── test_suds.py │ └── wsgi_handler.py ├── upload_demo │ ├── apps │ │ ├── settings.ini │ │ └── test │ │ │ ├── __init__.py │ │ │ ├── conf.py │ │ │ ├── info.ini │ │ │ ├── models.py │ │ │ ├── settings.ini │ │ │ ├── static │ │ │ └── readme.txt │ │ │ ├── templates │ │ │ ├── edit.html │ │ │ ├── error.html │ │ │ ├── index.html │ │ │ ├── list.html │ │ │ ├── readme.txt │ │ │ └── upload.html │ │ │ └── views.py │ ├── fcgi_handler.fcgi │ └── wsgi_handler.py └── xmlrpc_test │ ├── apps │ ├── Hello │ │ ├── __init__.py │ │ ├── conf.py │ │ ├── info.ini │ │ ├── static │ │ │ └── readme.txt │ │ ├── templates │ │ │ └── readme.txt │ │ └── views.py │ └── settings.ini │ ├── fcgi_handler.fcgi │ ├── test_xmlrpc.py │ └── wsgi_handler.py └── uliweb3 ├── .gitignore ├── apijson_todo ├── .gitignore ├── README.md ├── apps │ ├── __init__.py │ ├── settings.ini │ └── todo │ │ ├── README.md │ │ ├── __init__.py │ │ ├── models.py │ │ ├── settings.ini │ │ ├── static │ │ └── readme.txt │ │ ├── templates │ │ ├── base.html │ │ ├── index.html │ │ └── readme.txt │ │ └── views.py ├── database.db ├── doc │ └── readme.txt ├── requirements.txt ├── setup.py └── wsgi_handler.py ├── guestbook ├── .gitignore ├── apps │ ├── GuestBook │ │ ├── __init__.py │ │ ├── forms.py │ │ ├── models.py │ │ ├── settings.ini │ │ ├── static │ │ │ └── delete.gif │ │ ├── templates │ │ │ ├── base.html │ │ │ ├── error.html │ │ │ ├── index.html │ │ │ └── new_comment.html │ │ └── views.py │ ├── ckeditor │ │ ├── __init__.py │ │ ├── conf.py │ │ ├── info.ini │ │ ├── static │ │ │ └── ckeditor │ │ │ │ ├── .htaccess │ │ │ │ ├── CHANGES.html │ │ │ │ ├── LICENSE.html │ │ │ │ ├── ckeditor.js │ │ │ │ ├── ckeditor_basic.js │ │ │ │ ├── config.js │ │ │ │ ├── contents.css │ │ │ │ ├── images │ │ │ │ └── spacer.gif │ │ │ │ ├── lang │ │ │ │ ├── _languages.js │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── af.js │ │ │ │ ├── ar.js │ │ │ │ ├── bg.js │ │ │ │ ├── bn.js │ │ │ │ ├── bs.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en-au.js │ │ │ │ ├── en-ca.js │ │ │ │ ├── en-uk.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── es.js │ │ │ │ ├── et.js │ │ │ │ ├── eu.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fo.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── fr.js │ │ │ │ ├── gl.js │ │ │ │ ├── gu.js │ │ │ │ ├── he.js │ │ │ │ ├── hi.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── is.js │ │ │ │ ├── it.js │ │ │ │ ├── ja.js │ │ │ │ ├── km.js │ │ │ │ ├── ko.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── mn.js │ │ │ │ ├── ms.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── sr-latn.js │ │ │ │ ├── sr.js │ │ │ │ ├── sv.js │ │ │ │ ├── th.js │ │ │ │ ├── tr.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh.js │ │ │ │ ├── plugins │ │ │ │ ├── about │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── about.js │ │ │ │ │ │ └── logo_ckeditor.png │ │ │ │ │ └── plugin.js │ │ │ │ ├── basicstyles │ │ │ │ │ └── plugin.js │ │ │ │ ├── blockquote │ │ │ │ │ └── plugin.js │ │ │ │ ├── button │ │ │ │ │ └── plugin.js │ │ │ │ ├── clipboard │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── paste.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── colorbutton │ │ │ │ │ └── plugin.js │ │ │ │ ├── contextmenu │ │ │ │ │ └── plugin.js │ │ │ │ ├── dialog │ │ │ │ │ ├── dialogDefinition.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── dialogui │ │ │ │ │ └── plugin.js │ │ │ │ ├── domiterator │ │ │ │ │ └── plugin.js │ │ │ │ ├── editingblock │ │ │ │ │ └── plugin.js │ │ │ │ ├── elementspath │ │ │ │ │ └── plugin.js │ │ │ │ ├── enterkey │ │ │ │ │ └── plugin.js │ │ │ │ ├── entities │ │ │ │ │ └── plugin.js │ │ │ │ ├── fakeobjects │ │ │ │ │ └── plugin.js │ │ │ │ ├── filebrowser │ │ │ │ │ └── plugin.js │ │ │ │ ├── find │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── find.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── flash │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── flash.js │ │ │ │ │ ├── images │ │ │ │ │ │ └── placeholder.png │ │ │ │ │ └── plugin.js │ │ │ │ ├── floatpanel │ │ │ │ │ └── plugin.js │ │ │ │ ├── font │ │ │ │ │ └── plugin.js │ │ │ │ ├── format │ │ │ │ │ └── plugin.js │ │ │ │ ├── forms │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── button.js │ │ │ │ │ │ ├── checkbox.js │ │ │ │ │ │ ├── form.js │ │ │ │ │ │ ├── hiddenfield.js │ │ │ │ │ │ ├── radio.js │ │ │ │ │ │ ├── select.js │ │ │ │ │ │ ├── textarea.js │ │ │ │ │ │ └── textfield.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── horizontalrule │ │ │ │ │ └── plugin.js │ │ │ │ ├── htmldataprocessor │ │ │ │ │ └── plugin.js │ │ │ │ ├── htmlwriter │ │ │ │ │ └── plugin.js │ │ │ │ ├── iframedialog │ │ │ │ │ └── plugin.js │ │ │ │ ├── image │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── image.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── indent │ │ │ │ │ └── plugin.js │ │ │ │ ├── justify │ │ │ │ │ └── plugin.js │ │ │ │ ├── keystrokes │ │ │ │ │ └── plugin.js │ │ │ │ ├── link │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── anchor.js │ │ │ │ │ │ └── link.js │ │ │ │ │ ├── images │ │ │ │ │ │ └── anchor.gif │ │ │ │ │ └── plugin.js │ │ │ │ ├── list │ │ │ │ │ └── plugin.js │ │ │ │ ├── listblock │ │ │ │ │ └── plugin.js │ │ │ │ ├── maximize │ │ │ │ │ └── plugin.js │ │ │ │ ├── menu │ │ │ │ │ └── plugin.js │ │ │ │ ├── menubutton │ │ │ │ │ └── plugin.js │ │ │ │ ├── newpage │ │ │ │ │ └── plugin.js │ │ │ │ ├── pagebreak │ │ │ │ │ ├── images │ │ │ │ │ │ └── pagebreak.gif │ │ │ │ │ └── plugin.js │ │ │ │ ├── panel │ │ │ │ │ └── plugin.js │ │ │ │ ├── panelbutton │ │ │ │ │ └── plugin.js │ │ │ │ ├── pastefromword │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── pastefromword.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── pastetext │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── pastetext.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── popup │ │ │ │ │ └── plugin.js │ │ │ │ ├── preview │ │ │ │ │ └── plugin.js │ │ │ │ ├── print │ │ │ │ │ └── plugin.js │ │ │ │ ├── removeformat │ │ │ │ │ └── plugin.js │ │ │ │ ├── resize │ │ │ │ │ └── plugin.js │ │ │ │ ├── richcombo │ │ │ │ │ └── plugin.js │ │ │ │ ├── save │ │ │ │ │ └── plugin.js │ │ │ │ ├── scayt │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── options.js │ │ │ │ │ │ └── toolbar.css │ │ │ │ │ └── plugin.js │ │ │ │ ├── selection │ │ │ │ │ └── plugin.js │ │ │ │ ├── showblocks │ │ │ │ │ ├── images │ │ │ │ │ │ ├── block_address.png │ │ │ │ │ │ ├── block_blockquote.png │ │ │ │ │ │ ├── block_div.png │ │ │ │ │ │ ├── block_h1.png │ │ │ │ │ │ ├── block_h2.png │ │ │ │ │ │ ├── block_h3.png │ │ │ │ │ │ ├── block_h4.png │ │ │ │ │ │ ├── block_h5.png │ │ │ │ │ │ ├── block_h6.png │ │ │ │ │ │ ├── block_p.png │ │ │ │ │ │ └── block_pre.png │ │ │ │ │ └── plugin.js │ │ │ │ ├── smiley │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── smiley.js │ │ │ │ │ ├── images │ │ │ │ │ │ ├── angel_smile.gif │ │ │ │ │ │ ├── angry_smile.gif │ │ │ │ │ │ ├── broken_heart.gif │ │ │ │ │ │ ├── confused_smile.gif │ │ │ │ │ │ ├── cry_smile.gif │ │ │ │ │ │ ├── devil_smile.gif │ │ │ │ │ │ ├── embaressed_smile.gif │ │ │ │ │ │ ├── envelope.gif │ │ │ │ │ │ ├── heart.gif │ │ │ │ │ │ ├── kiss.gif │ │ │ │ │ │ ├── lightbulb.gif │ │ │ │ │ │ ├── omg_smile.gif │ │ │ │ │ │ ├── regular_smile.gif │ │ │ │ │ │ ├── sad_smile.gif │ │ │ │ │ │ ├── shades_smile.gif │ │ │ │ │ │ ├── teeth_smile.gif │ │ │ │ │ │ ├── thumbs_down.gif │ │ │ │ │ │ ├── thumbs_up.gif │ │ │ │ │ │ ├── tounge_smile.gif │ │ │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ │ │ └── wink_smile.gif │ │ │ │ │ └── plugin.js │ │ │ │ ├── sourcearea │ │ │ │ │ └── plugin.js │ │ │ │ ├── specialchar │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── specialchar.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── styles │ │ │ │ │ └── plugin.js │ │ │ │ ├── stylescombo │ │ │ │ │ ├── plugin.js │ │ │ │ │ └── styles │ │ │ │ │ │ └── default.js │ │ │ │ ├── tab │ │ │ │ │ └── plugin.js │ │ │ │ ├── table │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── table.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── tabletools │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── tableCell.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── templates │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── templates.js │ │ │ │ │ ├── plugin.js │ │ │ │ │ └── templates │ │ │ │ │ │ ├── default.js │ │ │ │ │ │ └── images │ │ │ │ │ │ ├── template1.gif │ │ │ │ │ │ ├── template2.gif │ │ │ │ │ │ └── template3.gif │ │ │ │ ├── toolbar │ │ │ │ │ └── plugin.js │ │ │ │ ├── uicolor │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── uicolor.js │ │ │ │ │ ├── lang │ │ │ │ │ │ └── en.js │ │ │ │ │ ├── plugin.js │ │ │ │ │ ├── uicolor.gif │ │ │ │ │ └── yui │ │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── hue_bg.png │ │ │ │ │ │ ├── hue_thumb.png │ │ │ │ │ │ ├── picker_mask.png │ │ │ │ │ │ ├── picker_thumb.png │ │ │ │ │ │ └── yui.css │ │ │ │ │ │ └── yui.js │ │ │ │ ├── undo │ │ │ │ │ └── plugin.js │ │ │ │ ├── wsc │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── ciframe.html │ │ │ │ │ │ ├── tmpFrameset.html │ │ │ │ │ │ ├── wsc.css │ │ │ │ │ │ └── wsc.js │ │ │ │ │ └── plugin.js │ │ │ │ └── wysiwygarea │ │ │ │ │ └── plugin.js │ │ │ │ ├── skins │ │ │ │ ├── kama │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── images │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ │ └── toolbar_start.gif │ │ │ │ │ ├── skin.js │ │ │ │ │ └── templates.css │ │ │ │ ├── office2003 │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── images │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ └── sprites_ie6.png │ │ │ │ │ ├── skin.js │ │ │ │ │ └── templates.css │ │ │ │ └── v2 │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── images │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ ├── dialog_sides_rtl.png │ │ │ │ │ ├── mini.gif │ │ │ │ │ ├── noimage.png │ │ │ │ │ ├── sprites.png │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ └── toolbar_start.gif │ │ │ │ │ ├── skin.js │ │ │ │ │ └── templates.css │ │ │ │ └── themes │ │ │ │ └── default │ │ │ │ └── theme.js │ │ └── template_plugins │ │ │ ├── __init__.py │ │ │ └── ckeditor.py │ └── settings.ini └── wsgi_handler.wsgi ├── hello ├── .gitignore ├── README.md ├── apps │ ├── Hello │ │ ├── README.md │ │ ├── __init__.py │ │ ├── static │ │ │ └── readme.txt │ │ ├── templates │ │ │ ├── readme.txt │ │ │ ├── template.html │ │ │ └── template1.html │ │ └── views.py │ ├── __init__.py │ └── settings.ini ├── doc │ └── readme.txt ├── requirements.txt ├── setup.py └── wsgi_handler.py ├── simple_todo ├── .gitignore ├── app.yaml ├── apps │ ├── settings.ini │ └── todo │ │ ├── __init__.py │ │ ├── conf.py │ │ ├── info.ini │ │ ├── models.py │ │ ├── settings.ini │ │ ├── static │ │ ├── readme.txt │ │ └── styles │ │ │ ├── index │ │ │ ├── images │ │ │ │ ├── bg_1.png │ │ │ │ ├── email.png │ │ │ │ ├── home.png │ │ │ │ ├── msn.png │ │ │ │ ├── qq.png │ │ │ │ └── website.png │ │ │ └── style.css │ │ │ └── reset.css │ │ ├── templates │ │ ├── Todo │ │ │ ├── edit.html │ │ │ └── index.html │ │ ├── error.html │ │ ├── index.html │ │ ├── layout.html │ │ └── readme.txt │ │ └── views.py ├── fcgi_handler.fcgi ├── gae_handler.py └── wsgi_handler.py └── upload_demo ├── apps ├── settings.ini └── test │ ├── __init__.py │ ├── conf.py │ ├── info.ini │ ├── models.py │ ├── settings.ini │ ├── static │ └── readme.txt │ ├── templates │ ├── edit.html │ ├── error.html │ ├── index.html │ ├── list.html │ ├── readme.txt │ └── upload.html │ └── views.py ├── fcgi_handler.fcgi └── wsgi_handler.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.bak 3 | .idea -------------------------------------------------------------------------------- /_project: -------------------------------------------------------------------------------- 1 | [default] 2 | projectname = Markdown,python, 3 | 4 | [acp] 5 | .md = md.acp, 6 | 7 | [highlight] 8 | .md = md 9 | 10 | -------------------------------------------------------------------------------- /docs/en/_static/bae1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae1.png -------------------------------------------------------------------------------- /docs/en/_static/bae2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae2.png -------------------------------------------------------------------------------- /docs/en/_static/bae3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae3.png -------------------------------------------------------------------------------- /docs/en/_static/bae4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae4.png -------------------------------------------------------------------------------- /docs/en/_static/bae5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae5.png -------------------------------------------------------------------------------- /docs/en/_static/bae6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/bae6.png -------------------------------------------------------------------------------- /docs/en/_static/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/error.png -------------------------------------------------------------------------------- /docs/en/_static/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/first.png -------------------------------------------------------------------------------- /docs/en/_static/gevent_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/gevent_01.png -------------------------------------------------------------------------------- /docs/en/_static/heroku1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/heroku1.png -------------------------------------------------------------------------------- /docs/en/_static/heroku2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/heroku2.png -------------------------------------------------------------------------------- /docs/en/_static/heroku3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/heroku3.png -------------------------------------------------------------------------------- /docs/en/_static/menus_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/menus_app.png -------------------------------------------------------------------------------- /docs/en/_static/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/new.png -------------------------------------------------------------------------------- /docs/en/_static/plugs_todo_first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/plugs_todo_first.png -------------------------------------------------------------------------------- /docs/en/_static/plugs_todo_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/plugs_todo_index.png -------------------------------------------------------------------------------- /docs/en/_static/uliweb_media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/uliweb_media.png -------------------------------------------------------------------------------- /docs/en/_static/uliweb_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/uliweb_small.png -------------------------------------------------------------------------------- /docs/en/_static/upload_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/upload_01.png -------------------------------------------------------------------------------- /docs/en/_static/view_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/en/_static/view_index.png -------------------------------------------------------------------------------- /docs/en/exclude.txt: -------------------------------------------------------------------------------- 1 | conf.py 2 | templates 3 | .git 4 | .svn 5 | _svn 6 | *.pyc 7 | *.bak 8 | *.txt 9 | make.bat 10 | .DS_Store -------------------------------------------------------------------------------- /docs/en/i18n.md: -------------------------------------------------------------------------------- 1 | # I18N Process 2 | 3 | -------------------------------------------------------------------------------- /docs/en/index.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | 3 | {% toc max_depth=1 %} 4 | introduction.md 5 | architecture.md 6 | update.md 7 | {% endtoc %} 8 | 9 | ## Tutorials 10 | 11 | {% toc max_depth=1 %} 12 | hello_uliweb.md 13 | guestbook.md 14 | {% endtoc %} 15 | 16 | ## Technique Docs 17 | 18 | {% toc max_depth=1 %} 19 | installation.md 20 | url_mapping.md 21 | template.md 22 | manage_guide.md 23 | orm.md 24 | form.md 25 | extending.md 26 | deployment.md 27 | globals.md 28 | {% endtoc %} 29 | 30 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Uliweb-Doc 6 | 7 | 8 | 9 | 10 | 14 | 28 | 29 | -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- 1 | cd zh_CN 2 | parm make -d ..\..\..\uliweb-doc-static\zh_CN 3 | cd ..\en 4 | parm make -d ..\..\..\uliweb-doc-static\en 5 | cd .. 6 | copy /Y index.html ..\..\uliweb-doc-static 7 | -------------------------------------------------------------------------------- /docs/make.sh: -------------------------------------------------------------------------------- 1 | cd zh_CN/uliweb 2 | parm make -d ../../../../uliweb-doc-static/zh_CN/uliweb 3 | cd ../uliweb3 4 | parm make -d ../../../../uliweb-doc-static/zh_CN/uliweb3 5 | cd ../../en 6 | parm make -d ../../../uliweb-doc-static/en 7 | cd .. 8 | cp index.html ../../uliweb-doc-static 9 | -------------------------------------------------------------------------------- /docs/templates/default.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} -------------------------------------------------------------------------------- /docs/templates/index.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block content}} 4 |
5 |
6 | {{< 8 |
9 | 10 |
11 |
12 | {{<< body}} 13 | {{<< defined('page_footer') or ''}} 14 |
15 |
16 | 17 | 22 | {{end}} 23 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae1.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae2.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae3.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae4.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae5.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/bae6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/bae6.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/blog_layout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/blog_layout.jpg -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/blog_run_first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/blog_run_first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/blogs/admin_layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/blogs/admin_layout.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/error.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/gevent_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/gevent_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/heroku1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/heroku1.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/heroku2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/heroku2.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/heroku3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/heroku3.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/menus_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/menus_app.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/new.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/plugs_todo_first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/plugs_todo_first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/plugs_todo_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/plugs_todo_index.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/uliweb_media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/uliweb_media.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/uliweb_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/uliweb_small.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/upload_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/upload_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/_static/view_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb/_static/view_index.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/articles/jqcookie.md: -------------------------------------------------------------------------------- 1 | # jqcookie使用说明 2 | 3 | 因为jqcookie属于jqutils,所以要在相关的settings里加上 4 | 5 | 6 | 'plugs.ui.jquery.jqutils' 7 | 8 | 9 | 然后在template里加上 10 | 11 | 12 | {{use "jqcookie"}} 13 | 14 | 15 | 这样就能在生成的html里加上相关的js文件 16 | 17 | 使用方面请参考 https://github.com/js-cookie/js-cookie#basic-usage 18 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/articles/nginx_cfg.md: -------------------------------------------------------------------------------- 1 | # Nginx配置例子 2 | 3 | ## 反代例子 4 | ``` 5 | server { 6 | listen 80; 7 | server_name xxx; 8 | location / { 9 | proxy_pass http://localhost:3000/; 10 | proxy_set_header X-Forwarded-Host $host; 11 | proxy_set_header X-Forwarded-Server $host; 12 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 13 | } 14 | #static files 15 | location ~ ^/static/ { 16 | root /home/xxx/xxx/export/; 17 | } 18 | #favicon 19 | location = /favicon.ico { 20 | alias /home/xxx/xxx/favicon.ico; 21 | } 22 | } 23 | ``` -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/articles/sqlite_timeout.md: -------------------------------------------------------------------------------- 1 | # uliweb里sqlite的timeout参数 2 | 3 | (整理自[google groups相关讨论](https://groups.google.com/d/topic/uliweb/cv8J3T1_EH8/discussion)) 4 | 5 | 本来uliorm里是支持CONNECTION_ARGS参数的,那么应该要能这么用: 6 | (加timeout参数的原因可以参考[这里](http://stackoverflow.com/questions/15065037/how-to-increase-connection-timeout-using-sqlalchemy-with-sqlite-in-python)) 7 | 8 | ``` 9 | [ORM] 10 | CONNECTIONS = { 11 | 'default':{ 12 | 'CONNECTION':'sqlite:///database.db', 13 | 'CONNECTION_ARGS':{'timeout': 8.0}, 14 | 'CONNECTION_TYPE':'short', 15 | } 16 | } 17 | ``` 18 | 19 | 但是因为sqlalchemy的实现,在数据库引擎为sqlite的时候不支持这么用,而是在数据库url里给出,例子: 20 | 21 | ``` 22 | [ORM] 23 | CONNECTIONS = { 24 | 'default':{ 25 | 'CONNECTION':'sqlite:///database.db?timeout=8.0', 26 | 'CONNECTION_TYPE':'short', 27 | } 28 | } 29 | ``` 30 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/articles/url_prefix.md: -------------------------------------------------------------------------------- 1 | # 站点的url前缀配置例子 2 | 3 | local_settings.ini例子: 4 | 5 | ``` 6 | [DOMAINS] 7 | default = {'url_prefix': '/myprefix', 'domain': '', 'display': False} 8 | static = {'url_prefix': '/myprefix', 'domain': '', 'display': False} 9 | ``` 10 | 11 | 这样就可以对所有views及静态文件的url加上前缀,原来 http://mysite/test 会变成 http://mysite/myprefix/test 12 | 13 | 同时web服务器的配置也需要加上前缀,以 nginx 为例: 14 | 15 | ``` 16 | server { 17 | listen 80; 18 | server_name example.com; 19 | location /myprefix/ { 20 | proxy_pass http://localhost:8000/myprefix/; 21 | ... 22 | } 23 | } 24 | ``` 25 | 26 | 最后还有一个如果需要加 url prefix ,那么代码(python/html/javascript)里不能把 url 写死,应该用 [url_for](http://limodou.github.io/uliweb-doc/zh_CN/url_mapping.html#title_1-3) 或者 [url_for_static](http://limodou.github.io/uliweb-doc/zh_CN/app_staticfiles.html#title_1-1),比如在html里可以这么用url_for: 27 | 28 | ``` 29 | {{=url_for('Test.views.index')}} 30 | ``` 31 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/articles/what_does_model_init_does.md: -------------------------------------------------------------------------------- 1 | 导入一个Model时都做了些什么? 2 | =============================== 3 | 4 | 当使用get_model(model_name, engine_name=None)时,都做了哪些事呢? 5 | 6 | 1. 从engine中的models属性里,查找model_name,找到后,如果model_path为字符串,则 7 | 开始导入对应的模块 8 | 2. 导入模块,则开始对Model类进行初始化 9 | 1. 创建Property对象,对于Reference等会对引用的Model执行get_model,所以这里可能循环 10 | 2. 执行Model元类初始化,执行 `__property_config__` 方法 11 | 3. 对类执行bind操作,关联metadata 12 | 1. 根据所有Property来创建Column,执行Property的create方法 13 | 2. 创建Table对象 14 | 3. 处理Model的OnInit方法,如进行索引的处理 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/blogs/blog_add.md: -------------------------------------------------------------------------------- 1 | # 添加博客 2 | 3 | 因为现在数据库中还不存在数据,所以让我们先创建添加功能,这样有了数据,就可以实现Blog的展示了。 4 | 5 | 添加功能可以算做是管理功能,在教程后面,我们将实现统一的管理界面。在本章节,我将创建一个管理的View。 6 | 7 | ## 创建 views_admin.py 8 | 9 | 在 `apps/blog` 目录下面创建 `views_admin.py` 文件,输入以下内容: 10 | 11 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/blogs/codes/01/admin_layout.css: -------------------------------------------------------------------------------- 1 | html, body {margin:0;background-color:white;padding:0;height:100%;} 2 | .head {background-color:#00B5AD;color:white;margin:0em;padding:4px;} 3 | .container {margin-left:210px;position:relative;min-height:100%;background-color:white;} 4 | .side-menu {position:absolute; top: 5px; left:-205px;width:210px;} 5 | .content {padding:10px;} 6 | .content .grid {margin-left:0;margin-right:0;} 7 | .mmGrid table {font-size:14px;} 8 | .mmPaginator {font-size:14px;} 9 | .mmGrid .mmg-backboard label {font-size:14px;width:120px;} 10 | .ui.secondary.inverted.menu .active.item { 11 | background-color: rgba(255, 255, 255, 0.3); 12 | } 13 | .ui.form span.field_required {font-weight:bold;color:red;font-size:1.5em;} 14 | .ui-pnotify-text {font-size:0.6em;} 15 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/common_apis.md: -------------------------------------------------------------------------------- 1 | # 常用API 2 | 3 | ## manage.py 4 | 5 | ### make_simple_application 6 | 7 | 用于创建application实例。 8 | 9 | ``` 10 | def make_simple_application(apps_dir='apps', project_dir=None, include_apps=None, 11 | settings_file='', local_settings_file='', 12 | default_settings=None, dispatcher_cls=None, dispatcher_kwargs=None, reuse=True, 13 | pythonpath=None): 14 | ``` 15 | 16 | default_settings -- 17 | 用于覆盖缺省的配置信息。格式为 `section/key`, 如 `PARA/test`. -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/debug_with_pycharm.md: -------------------------------------------------------------------------------- 1 | # 使用PyCharm进行调试 2 | 3 | Uliweb可以使用象PyCharm进行程序调试,下面讲一下大概的设置方式。 4 | 5 | ## 创建调试配置 6 | 7 | 在PyCharm右上角可以切换运行的配置, 点击后可以看到: 8 | 9 | ![](_static/debug_with_pycharm_01.png) 10 | 11 | 选择第一项 `Edit Configuration...`, 然后进入: 12 | 13 | ![](_static/debug_with_pycharm_02.png) 14 | 15 | 先点击左上角添加一个配置项。 16 | 17 | 然后在 `Script` 处填上 Uliweb 安装目录下的 `__main__.py` 文件, 这个可以作为启动文件。 18 | 19 | 接着在 `Script Parameters` 处输入将要使用的命令行, 如 `runserver` 。这里还可以指定象 `-p` 之类 20 | 的端口号参数。 21 | 22 | 然后在 `Working Directory` 处填入你的项目目录。 23 | 24 | 这样环境就创建好了。 25 | 26 | ## 调试 27 | 28 | 在需要时,点击环境选项右侧的 Bug 按钮,就可以进入调试环境了。 29 | 30 | ![](_static/debug_with_pycharm_03.png) 31 | 32 | 调试窗口一般在下面, 最左侧是用来控制继续运行,停止等的按钮。上面是 Step Over, Step Into, Step Out之类的按钮。 33 | 34 | 它有两个Tab窗口, Debugger用来查看运行变量, 调用栈。 Console是输出控制台。 35 | 36 | ![](_static/debug_with_pycharm_04.png) 37 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/exclude.txt: -------------------------------------------------------------------------------- 1 | conf.py 2 | templates 3 | .git 4 | .svn 5 | _svn 6 | *.pyc 7 | *.bak 8 | *.txt 9 | make.bat 10 | .DS_Store -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/installation.md: -------------------------------------------------------------------------------- 1 | # 安装说明 2 | 3 | 4 | ## 要求 5 | 6 | 7 | * Python 2.6+ 目前不支持3.X 8 | * setuptools 0.6c11+ 9 | 10 | 11 | ## 额外要求 12 | 13 | 14 | * SQLAlchemy 0.6+ (如果使用Uliweb ORM需要安装它) 15 | 16 | 最简单的方法是使用easy_install或pip,如: 17 | 18 | 19 | ``` 20 | easy_install Uliweb 21 | pip install Uliweb 22 | ``` 23 | 24 | 另外如果你想跟踪最新的代码,可以使用git来下载代码, 25 | 26 | ``` 27 | git clone git://github.com/limodou/uliweb.git 28 | cd uliweb 29 | python setup.py develop 30 | ``` 31 | 32 | 使用develop安装只会在Python/site-packages下建一个链接,并不会真正安装,好处就是更新方便。 33 | 不过,当Uliweb的版本升级了,还是要再执行一下安装过程的。 34 | 35 | 当然你也可以直接通过 install 来安装。 36 | 37 | 38 | ``` 39 | python setup.py install 40 | ``` 41 | 42 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/plugs/apps.md: -------------------------------------------------------------------------------- 1 | # Plugs App 清单 2 | 3 | 4 | ## plugs.ui 5 | 6 | ### plugs.ui.jquery.jqdropdown 7 | 8 | 用来实现类似于bootstrap dropdown的jquery插件。 9 | 10 | * https://github.com/claviska/jquery-dropdown 11 | 12 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/uliweb_ui/apis.md: -------------------------------------------------------------------------------- 1 | # APIs 2 | 3 | Uliweb-UI 提供了常用的一些js的API,分别描述如下: 4 | 5 | ## load 6 | 7 | ``` 8 | load('module', callback) 9 | load(['module', ...], callback) 10 | 11 | function callback () {...} 12 | ``` 13 | 14 | load 用来实现动态装入某个ui的组件,其中第一个参数可以是一个组件名或组件数组,它也可以是一个真正的URL.为了方便 15 | 使用,Uliweb-UI将常用的组件定义在了 settings.ini 中, 采用 `TEMPLATE_USE` 的定义方式.这种定义方式可以在 16 | 模板中使用 `{{use "name"}}`, 但是不能直接用在 `load` 中,因此需要使用 `uliweb jsmodule -a uliweb_ui` 17 | 来生成一个叫 `jsmodules.js` 的文件,并且放在 `uliweb_ui/static/jsmodules.js` 下. 使用 `jsmodule` 18 | 命令时,需要在某个项目目录下运行,不能直接运行. 19 | 20 | 通常在 Uliweb-UI 中定义的 module 命令都是以 `ui.` 开始,具体有哪些可以使用的组件,可以查看 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/uliweb_ui/rgrid.md: -------------------------------------------------------------------------------- 1 | # rgrid 2 | 3 | ## 按钮 4 | 5 | ### 按钮属性 6 | 7 | lable -- 8 | 按钮名称 9 | url -- 10 | 按钮链接,如果没有定义 `onClick` 事件回调, 则点击按钮后会直接跳转 11 | class -- 12 | 按钮的样式, 按 bootstrap 或 AdminLTE 的风格 13 | onClick -- 14 | 点击事件回调 15 | icon -- 16 | 按钮图标 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.1.5.md: -------------------------------------------------------------------------------- 1 | # 0.1.5 2 | 3 | 4 | 更新内容 5 | 6 | 7 | * 修改cache设置,移除file_dir和lock_dir 8 | * 添加更多的dispatch调用异常输出信息 9 | * 添加uliweb.contrib.form app,添加get_form函数 10 | * 修改auth支持get_form功能 11 | * 改进file_storage过程。 12 | * 修正RedirectException显示bug。 13 | * 添加TablenameConvert到uliweb.orm中,通过orm.set_tablename_converter(converter)传递函数,或者在settings.ini中定义,如: 14 | 15 | > [ORM] 16 | > TABLENAME_CONVERTER = 'uliweb.utils.common.camel_to_' 17 | 当Model名字是CamelCase时,将转化为camel_case 18 | * 添加Reference,OneToOne,ManyToMany关系到Model层级 19 | * 如果collection_name为None,并且tablename_set已存在,将自动创建新的collection_name,因此collection_name将会被会复制,如果传递了collection_name,并且tablename_set已经存在,将抛出异常,请注意其中的差别。 20 | * 修改默认CHAR, str, unicode的max_length为255,之前默认为30. 21 | * 在validator.py添加IS_LENGTH_LESSTHAN和IS_LENGTH_BETWEEN。 22 | * 添加[GLOBAL_OBJECTS]机制,此处的对象配置将被注入到uliweb中。 23 | * 在uliweb中添加validator,使用[VALIDATORS]机制 24 | * 在generic.py中添加IS_LENGTH_LESSTHAN,如果max_length存在。 25 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.2.1.md: -------------------------------------------------------------------------------- 1 | # 0.2.1 2 | 3 | * 添加 `uliweb.utils.timeit` 模块,用户可以使用 `with timeit(prompt):` 来计算下面 4 | 代码的执行时间 5 | * 修改 `file_serving()` 处理的 `action` 缺省值为 `None`. 这样缺省的 `/uploads` 文件 6 | 服务不再是默认为下载。 7 | * 修复ORM的Reference的validate问题。它影响Reference的默认缺省值。 8 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.2.3.md: -------------------------------------------------------------------------------- 1 | # 0.2.3 2 | 3 | * 更新nginx配置文件的输出模板,添加 proxy_set_header 指令 4 | * 向 ORM 添加 save_file() 方法,你可以用它保存select之后的结果集到一个csv文件中 5 | * 修复 SortedDict 类中丢失的 clear() 方法 6 | * 修改i18n处理,对于项目和apps方式的抽取,它将首先启动应用,这样是为了让自定义tag可以起作用。但是建议用户尽量不用自定义tag,因为模板中可以直接写python代码。 7 | * 向utils/common.py中添加walk_dirs()方法,这个函数可以用来遍历目录,同时可以支持对文件名和后缀的过滤功能。 8 | 9 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.2.6.md: -------------------------------------------------------------------------------- 1 | # 0.2.6 2 | 3 | * 増加在定义关系字段时,当引用Model不是字符串而是Model类时发出警告的提示。需 4 | 使用字符串名称。 5 | * 修复在 ListView 和 SelectListView 中对 `manual` 和 `total` 处理的Bug。 6 | * 修复 `rawsql` bug。 7 | * 向 Generic ListView 中増加使用 `get_object` 的调用,使用缓存机制来处理引用对象。 8 | * 修复 `get_cached()` Bug。 9 | * 修复在 Generic 中 AddView 和 EditView 中处理 `process_files()` 的Bug。 10 | * 在进入 Shell 环境前増加对调用 `readline` 的支持。 11 | * 将乐观锁相关的参数由 `occ` 改为 `version` 。 12 | * 修复 ManyToMany 缓存值在保存时没有正确使用的Bug(由于没有存入 `_old_values` )。 13 | * 当在 Model 中定义了主键时,将不再自动创建 `id` 字段,如: 14 | 15 | ``` 16 | user_id = Field(int, primary_key=True, autoincrement=True) 17 | ``` 18 | 19 | * 修复 `sqldot` 命令在处理 settings.ini 中定义的 Model 名称与 `__tablename__` 不一致 20 | 时的Bug。 21 | * 优化 `sqlhtml` 文档输出,増加 Model 描述及索引的输出。 22 | * 将 `runserver` 的日志输出改为缺省是彩色输出,可以使用 `--nocolor` 关闭。 23 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.3.1.md: -------------------------------------------------------------------------------- 1 | # 0.3.1 2014-07-04 2 | 3 | ## 问题修复 4 | 5 | * 修复 `include` 在 ini 中的bug 6 | * 修复在 orm.get() 中的condition判断bug 7 | * 修复 recorder bug 8 | 9 | ## 功能优化 10 | 11 | * 增加 qqmail 邮件服务后端支持,感谢 Yubin Wang 12 | * 增加 `yes` 命令行选项,删除 makeapp, makeproject 命令的 `--force` 选项 13 | * 删除 `Command` 类中的 `has_options` 属性,改为根据 `option_list` 的长度来动态判断 14 | 15 | ## ORM相关 16 | 17 | * 增加 `sqlshell` 命令 18 | * 向 ORM 结果对象添加 `having` 和 `join` 方法 19 | * 增加整个数据库 dump 和 load 支持 #33 20 | * 向 orm 的 __all__ 添加 `NotFound` 21 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.4.1.md: -------------------------------------------------------------------------------- 1 | # 0.4.1 2014-11-22 2 | 3 | ## 问题修复 4 | 5 | * 修正 generic 中的 AddView 和 EditView 对 version的处理。当version为真时才会将version值 6 | 传入obj.save()中。而不是False时也自动传入。以避免表中无version字段时的出错。 7 | * 修正对同一个view函数同时使用 expose('/') 和 expose('') 时不正确的bug。 8 | * 修正在一个Model中多次使用 ManyToMany 使用 through 时 9 | * 恢复 count() 的处理使用旧的方式,即使用条件来计算,而不是根所结果集,对于结果集情况需要自行处理,因为 10 | 有可能对性能影响很大。 11 | * 修正模板中使用 try: 的bug 12 | 13 | ## 功能优化 14 | 15 | * 增加 sequence app,可以用来它生成序列值。详情参见 [sequence](app/sequence.html) 16 | * 优化 nginx 和 supervisor 配置内容的生成 17 | * 向URL匹配规则缺省添加 strict_slashes=False 的参数,这样URL结尾有无 '/' 都是正确的 18 | * 优化 Reference() ,如果 reference_class 为 None,则自动处理为 SelfReference 19 | * 优化 ManyToMany(),如果 reference_class 为 None,则自动实现对自身的多对多的关系 20 | * 在app下的settings.ini中添加 #{appname} 的支持,会自动替换为当前app的名字。 21 | * 在模板中添加对 head.js 的支持,可以使用 {{head "xxx"}} 和 {{head_link "xxx.js"}}标签,类似于 22 | {{use}}和{{link}}。不过uliweb本身没有包含 head.js,将放在plugs中,并且是我修改过的。 23 | 24 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/update/update_0.4.md: -------------------------------------------------------------------------------- 1 | # 0.4 2014-9-19 2 | 3 | ## 问题修复 4 | 5 | * 修正 Pickle 缺省值Bug,将不会自动将空值转为 '' 6 | * 修正当存在 group_by, limit, join 时的 count 的实现,将使用 `select count(*) from (select * from table)` 7 | * 修正 uliweb load 在处理cvs格式时的Bug,感谢 taogeT 8 | * 修正 `tmp/templates_temp` 创建Bug 9 | * 修正显示模板块顺序不正确的Bug 10 | 11 | ## 功能优化 12 | 13 | * 使用tornado的模板代码重构uliweb的模板实现,具体变化内容详见 [模板](../template.html) 14 | * 添加 staticize 命令,实现静态化 15 | * 添加 `__debug__` 参数用于跟踪 i18n 语言的变化 16 | * ORM多数据库配置时,增加复制的支持,你可以在 CONNECTIONS 配置项中进行设置 17 | * 向 ORM 中添加 `set_session()` 函数 18 | * 向ORM中的 Property 类添加 `fieldname` 参数 19 | * 向 `load` 和 `loadtable` 添加 `-z` 参数,感谢 linuxr 20 | * 向模板的 `Loader.load()` 方法添加 `layout` 参数,可以用来实现动态模板继承 21 | * 添加 `validatetemplate` 命令,可以用来检查项目,app或单个模板的语法是否正确。可以方便用来检查升级到0.4后的模板问题。 详情参见 [validatetemplate](../manage_guide.html#validatetemplate) -------------------------------------------------------------------------------- /docs/zh_CN/uliweb/whouse.md: -------------------------------------------------------------------------------- 1 | # 使用Uliweb的网站或项目 2 | 3 | ## 网站 4 | 5 | * http://uliweb.clkg.org 6 | * http://www.xyxwsju.gov.cn/ 7 | * http://www.xyxdaj.gov.cn/ 8 | * http://mnz.xuyong.gov.cn/ 9 | 10 | ## 项目 11 | 12 | * https://github.com/limodou/uliwebzone (social site) 13 | * http://git.oschina.net/devop/honeybee 14 | * https://github.com/limodou/wshell (web shell) 15 | * https://github.com/limodou/chatroom 16 | * https://github.com/zhangchunlin/shapps (app collections) 17 | * https://github.com/Longwosion/uliweb-redbreast (workflow engine) -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/apijson_todo_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/apijson_todo_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/apijson_todo_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/apijson_todo_02.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae1.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae2.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae3.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae4.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae5.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/bae6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/bae6.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/blog_layout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/blog_layout.jpg -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/blog_run_first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/blog_run_first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/blogs/admin_layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/blogs/admin_layout.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/debug_with_pycharm_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/debug_with_pycharm_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/debug_with_pycharm_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/debug_with_pycharm_02.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/debug_with_pycharm_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/debug_with_pycharm_03.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/debug_with_pycharm_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/debug_with_pycharm_04.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/error.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/gantt01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/gantt01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/gevent_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/gevent_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/heroku1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/heroku1.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/heroku2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/heroku2.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/heroku3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/heroku3.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/menus_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/menus_app.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/new.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/plugs_todo_first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/plugs_todo_first.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/plugs_todo_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/plugs_todo_index.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/ulipad_0310.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/ulipad_0310.PNG -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/uliweb_media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/uliweb_media.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/uliweb_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/uliweb_small.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/upload_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/upload_01.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/_static/view_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/docs/zh_CN/uliweb3/_static/view_index.png -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/articles/jqcookie.md: -------------------------------------------------------------------------------- 1 | # jqcookie使用说明 2 | 3 | 因为jqcookie属于jqutils,所以要在相关的settings里加上 4 | 5 | 6 | 'plugs.ui.jquery.jqutils' 7 | 8 | 9 | 然后在template里加上 10 | 11 | 12 | {{use "jqcookie"}} 13 | 14 | 15 | 这样就能在生成的html里加上相关的js文件 16 | 17 | 使用方面请参考 https://github.com/js-cookie/js-cookie#basic-usage 18 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/articles/nginx_cfg.md: -------------------------------------------------------------------------------- 1 | # Nginx配置例子 2 | 3 | ## 反代例子 4 | ``` 5 | server { 6 | listen 80; 7 | server_name xxx; 8 | location / { 9 | proxy_pass http://localhost:3000/; 10 | proxy_set_header X-Forwarded-Host $host; 11 | proxy_set_header X-Forwarded-Server $host; 12 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 13 | } 14 | #static files 15 | location ~ ^/static/ { 16 | root /home/xxx/xxx/export/; 17 | } 18 | #favicon 19 | location = /favicon.ico { 20 | alias /home/xxx/xxx/favicon.ico; 21 | } 22 | } 23 | ``` -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/articles/sqlite_timeout.md: -------------------------------------------------------------------------------- 1 | # uliweb里sqlite的timeout参数 2 | 3 | (整理自[google groups相关讨论](https://groups.google.com/d/topic/uliweb/cv8J3T1_EH8/discussion)) 4 | 5 | 本来uliorm里是支持CONNECTION_ARGS参数的,那么应该要能这么用: 6 | (加timeout参数的原因可以参考[这里](http://stackoverflow.com/questions/15065037/how-to-increase-connection-timeout-using-sqlalchemy-with-sqlite-in-python)) 7 | 8 | ``` 9 | [ORM] 10 | CONNECTIONS = { 11 | 'default':{ 12 | 'CONNECTION':'sqlite:///database.db', 13 | 'CONNECTION_ARGS':{'timeout': 8.0}, 14 | 'CONNECTION_TYPE':'short', 15 | } 16 | } 17 | ``` 18 | 19 | 但是因为sqlalchemy的实现,在数据库引擎为sqlite的时候不支持这么用,而是在数据库url里给出,例子: 20 | 21 | ``` 22 | [ORM] 23 | CONNECTIONS = { 24 | 'default':{ 25 | 'CONNECTION':'sqlite:///database.db?timeout=8.0', 26 | 'CONNECTION_TYPE':'short', 27 | } 28 | } 29 | ``` 30 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/articles/url_prefix.md: -------------------------------------------------------------------------------- 1 | # 站点的url前缀配置例子 2 | 3 | local_settings.ini例子: 4 | 5 | ``` 6 | [DOMAINS] 7 | default = {'url_prefix': '/myprefix', 'domain': '', 'display': False} 8 | static = {'url_prefix': '/myprefix', 'domain': '', 'display': False} 9 | ``` 10 | 11 | 这样就可以对所有views及静态文件的url加上前缀,原来 http://mysite/test 会变成 http://mysite/myprefix/test 12 | 13 | 同时web服务器的配置也需要加上前缀,以 nginx 为例: 14 | 15 | ``` 16 | server { 17 | listen 80; 18 | server_name example.com; 19 | location /myprefix/ { 20 | proxy_pass http://localhost:8000/myprefix/; 21 | ... 22 | } 23 | } 24 | ``` 25 | 26 | 最后还有一个如果需要加 url prefix ,那么代码(python/html/javascript)里不能把 url 写死,应该用 [url_for](http://limodou.github.io/uliweb-doc/zh_CN/url_mapping.html#title_1-3) 或者 [url_for_static](http://limodou.github.io/uliweb-doc/zh_CN/app_staticfiles.html#title_1-1),比如在html里可以这么用url_for: 27 | 28 | ``` 29 | {{=url_for('Test.views.index')}} 30 | ``` 31 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/articles/what_does_model_init_does.md: -------------------------------------------------------------------------------- 1 | 导入一个Model时都做了些什么? 2 | =============================== 3 | 4 | 当使用get_model(model_name, engine_name=None)时,都做了哪些事呢? 5 | 6 | 1. 从engine中的models属性里,查找model_name,找到后,如果model_path为字符串,则 7 | 开始导入对应的模块 8 | 2. 导入模块,则开始对Model类进行初始化 9 | 1. 创建Property对象,对于Reference等会对引用的Model执行get_model,所以这里可能循环 10 | 2. 执行Model元类初始化,执行 `__property_config__` 方法 11 | 3. 对类执行bind操作,关联metadata 12 | 1. 根据所有Property来创建Column,执行Property的create方法 13 | 2. 创建Table对象 14 | 3. 处理Model的OnInit方法,如进行索引的处理 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/blogs/blog_add.md: -------------------------------------------------------------------------------- 1 | # 添加博客 2 | 3 | 因为现在数据库中还不存在数据,所以让我们先创建添加功能,这样有了数据,就可以实现Blog的展示了。 4 | 5 | 添加功能可以算做是管理功能,在教程后面,我们将实现统一的管理界面。在本章节,我将创建一个管理的View。 6 | 7 | ## 创建 views_admin.py 8 | 9 | 在 `apps/blog` 目录下面创建 `views_admin.py` 文件,输入以下内容: 10 | 11 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/blogs/codes/01/admin_layout.css: -------------------------------------------------------------------------------- 1 | html, body {margin:0;background-color:white;padding:0;height:100%;} 2 | .head {background-color:#00B5AD;color:white;margin:0em;padding:4px;} 3 | .container {margin-left:210px;position:relative;min-height:100%;background-color:white;} 4 | .side-menu {position:absolute; top: 5px; left:-205px;width:210px;} 5 | .content {padding:10px;} 6 | .content .grid {margin-left:0;margin-right:0;} 7 | .mmGrid table {font-size:14px;} 8 | .mmPaginator {font-size:14px;} 9 | .mmGrid .mmg-backboard label {font-size:14px;width:120px;} 10 | .ui.secondary.inverted.menu .active.item { 11 | background-color: rgba(255, 255, 255, 0.3); 12 | } 13 | .ui.form span.field_required {font-weight:bold;color:red;font-size:1.5em;} 14 | .ui-pnotify-text {font-size:0.6em;} 15 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/common_apis.md: -------------------------------------------------------------------------------- 1 | # 常用API 2 | 3 | ## manage.py 4 | 5 | ### make_simple_application 6 | 7 | 用于创建application实例。 8 | 9 | ``` 10 | def make_simple_application(apps_dir='apps', project_dir=None, include_apps=None, 11 | settings_file='', local_settings_file='', 12 | default_settings=None, dispatcher_cls=None, dispatcher_kwargs=None, reuse=True, 13 | pythonpath=None): 14 | ``` 15 | 16 | default_settings -- 17 | 用于覆盖缺省的配置信息。格式为 `section/key`, 如 `PARA/test`. -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/debug_with_pycharm.md: -------------------------------------------------------------------------------- 1 | # 使用PyCharm进行调试 2 | 3 | Uliweb可以使用象PyCharm进行程序调试,下面讲一下大概的设置方式。 4 | 5 | ## 创建调试配置 6 | 7 | 在PyCharm右上角可以切换运行的配置, 点击后可以看到: 8 | 9 | ![](_static/debug_with_pycharm_01.png) 10 | 11 | 选择第一项 `Edit Configuration...`, 然后进入: 12 | 13 | ![](_static/debug_with_pycharm_02.png) 14 | 15 | 先点击左上角添加一个配置项。 16 | 17 | 然后在 `Script` 处填上 Uliweb 安装目录下的 `__main__.py` 文件, 这个可以作为启动文件。 18 | 19 | 接着在 `Script Parameters` 处输入将要使用的命令行, 如 `runserver` 。这里还可以指定象 `-p` 之类 20 | 的端口号参数。 21 | 22 | 然后在 `Working Directory` 处填入你的项目目录。 23 | 24 | 这样环境就创建好了。 25 | 26 | ## 调试 27 | 28 | 在需要时,点击环境选项右侧的 Bug 按钮,就可以进入调试环境了。 29 | 30 | ![](_static/debug_with_pycharm_03.png) 31 | 32 | 调试窗口一般在下面, 最左侧是用来控制继续运行,停止等的按钮。上面是 Step Over, Step Into, Step Out之类的按钮。 33 | 34 | 它有两个Tab窗口, Debugger用来查看运行变量, 调用栈。 Console是输出控制台。 35 | 36 | ![](_static/debug_with_pycharm_04.png) 37 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/exclude.txt: -------------------------------------------------------------------------------- 1 | conf.py 2 | templates 3 | .git 4 | .svn 5 | _svn 6 | *.pyc 7 | *.bak 8 | *.txt 9 | make.bat 10 | .DS_Store -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/installation.md: -------------------------------------------------------------------------------- 1 | # 安装说明 2 | 3 | 4 | ## 要求 5 | 6 | 7 | * Python 2.6+ 3.6+ 8 | * setuptools 0.6c11+ 9 | 10 | 11 | ## 额外要求 12 | 13 | 14 | * SQLAlchemy 0.6+ (如果使用Uliweb ORM需要安装它) 15 | 16 | 最简单的方法是使用 pip,如(因为uliweb3暂时还未正式发布,所以请使用git中的版本): 17 | 18 | 19 | ``` 20 | pip install uliweb3 21 | ``` 22 | 23 | 另外如果你想跟踪最新的代码,可以使用git来下载代码, 24 | 25 | ``` 26 | git clone https://github.com/limodou/uliweb3.git 27 | cd uliweb3 28 | python setup.py develop 29 | ``` 30 | 31 | 使用develop安装只会在Python/site-packages下建一个链接,并不会真正安装,好处就是更新方便。 32 | 不过,当Uliweb的版本升级了,还是要再执行一下安装过程的。 33 | 34 | 当然你也可以直接通过 install 来安装。另外比较建议使用**virtualenv**创建隔离的python环境来使用uliweb3. 35 | 36 | 37 | ``` 38 | python setup.py install 39 | ``` 40 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/uliweb_ui/apis.md: -------------------------------------------------------------------------------- 1 | # APIs 2 | 3 | Uliweb-UI 提供了常用的一些js的API,分别描述如下: 4 | 5 | ## load 6 | 7 | ``` 8 | load('module', callback) 9 | load(['module', ...], callback) 10 | 11 | function callback () {...} 12 | ``` 13 | 14 | load 用来实现动态装入某个ui的组件,其中第一个参数可以是一个组件名或组件数组,它也可以是一个真正的URL.为了方便 15 | 使用,Uliweb-UI将常用的组件定义在了 settings.ini 中, 采用 `TEMPLATE_USE` 的定义方式.这种定义方式可以在 16 | 模板中使用 `{{use "name"}}`, 但是不能直接用在 `load` 中,因此需要使用 `uliweb jsmodule -a uliweb_ui` 17 | 来生成一个叫 `jsmodules.js` 的文件,并且放在 `uliweb_ui/static/jsmodules.js` 下. 使用 `jsmodule` 18 | 命令时,需要在某个项目目录下运行,不能直接运行. 19 | 20 | 通常在 Uliweb-UI 中定义的 module 命令都是以 `ui.` 开始,具体有哪些可以使用的组件,可以查看 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/uliweb_ui/rgrid.md: -------------------------------------------------------------------------------- 1 | # rgrid 2 | 3 | ## 按钮 4 | 5 | ### 按钮属性 6 | 7 | lable -- 8 | 按钮名称 9 | url -- 10 | 按钮链接,如果没有定义 `onClick` 事件回调, 则点击按钮后会直接跳转 11 | class -- 12 | 按钮的样式, 按 bootstrap 或 AdminLTE 的风格 13 | onClick -- 14 | 点击事件回调 15 | icon -- 16 | 按钮图标 -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.1.5.md: -------------------------------------------------------------------------------- 1 | # 0.1.5 2 | 3 | 4 | 更新内容 5 | 6 | 7 | * 修改cache设置,移除file_dir和lock_dir 8 | * 添加更多的dispatch调用异常输出信息 9 | * 添加uliweb.contrib.form app,添加get_form函数 10 | * 修改auth支持get_form功能 11 | * 改进file_storage过程。 12 | * 修正RedirectException显示bug。 13 | * 添加TablenameConvert到uliweb.orm中,通过orm.set_tablename_converter(converter)传递函数,或者在settings.ini中定义,如: 14 | 15 | > [ORM] 16 | > TABLENAME_CONVERTER = 'uliweb.utils.common.camel_to_' 17 | 当Model名字是CamelCase时,将转化为camel_case 18 | * 添加Reference,OneToOne,ManyToMany关系到Model层级 19 | * 如果collection_name为None,并且tablename_set已存在,将自动创建新的collection_name,因此collection_name将会被会复制,如果传递了collection_name,并且tablename_set已经存在,将抛出异常,请注意其中的差别。 20 | * 修改默认CHAR, str, unicode的max_length为255,之前默认为30. 21 | * 在validator.py添加IS_LENGTH_LESSTHAN和IS_LENGTH_BETWEEN。 22 | * 添加[GLOBAL_OBJECTS]机制,此处的对象配置将被注入到uliweb中。 23 | * 在uliweb中添加validator,使用[VALIDATORS]机制 24 | * 在generic.py中添加IS_LENGTH_LESSTHAN,如果max_length存在。 25 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.2.1.md: -------------------------------------------------------------------------------- 1 | # 0.2.1 2 | 3 | * 添加 `uliweb.utils.timeit` 模块,用户可以使用 `with timeit(prompt):` 来计算下面 4 | 代码的执行时间 5 | * 修改 `file_serving()` 处理的 `action` 缺省值为 `None`. 这样缺省的 `/uploads` 文件 6 | 服务不再是默认为下载。 7 | * 修复ORM的Reference的validate问题。它影响Reference的默认缺省值。 8 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.2.3.md: -------------------------------------------------------------------------------- 1 | # 0.2.3 2 | 3 | * 更新nginx配置文件的输出模板,添加 proxy_set_header 指令 4 | * 向 ORM 添加 save_file() 方法,你可以用它保存select之后的结果集到一个csv文件中 5 | * 修复 SortedDict 类中丢失的 clear() 方法 6 | * 修改i18n处理,对于项目和apps方式的抽取,它将首先启动应用,这样是为了让自定义tag可以起作用。但是建议用户尽量不用自定义tag,因为模板中可以直接写python代码。 7 | * 向utils/common.py中添加walk_dirs()方法,这个函数可以用来遍历目录,同时可以支持对文件名和后缀的过滤功能。 8 | 9 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.2.6.md: -------------------------------------------------------------------------------- 1 | # 0.2.6 2 | 3 | * 増加在定义关系字段时,当引用Model不是字符串而是Model类时发出警告的提示。需 4 | 使用字符串名称。 5 | * 修复在 ListView 和 SelectListView 中对 `manual` 和 `total` 处理的Bug。 6 | * 修复 `rawsql` bug。 7 | * 向 Generic ListView 中増加使用 `get_object` 的调用,使用缓存机制来处理引用对象。 8 | * 修复 `get_cached()` Bug。 9 | * 修复在 Generic 中 AddView 和 EditView 中处理 `process_files()` 的Bug。 10 | * 在进入 Shell 环境前増加对调用 `readline` 的支持。 11 | * 将乐观锁相关的参数由 `occ` 改为 `version` 。 12 | * 修复 ManyToMany 缓存值在保存时没有正确使用的Bug(由于没有存入 `_old_values` )。 13 | * 当在 Model 中定义了主键时,将不再自动创建 `id` 字段,如: 14 | 15 | ``` 16 | user_id = Field(int, primary_key=True, autoincrement=True) 17 | ``` 18 | 19 | * 修复 `sqldot` 命令在处理 settings.ini 中定义的 Model 名称与 `__tablename__` 不一致 20 | 时的Bug。 21 | * 优化 `sqlhtml` 文档输出,増加 Model 描述及索引的输出。 22 | * 将 `runserver` 的日志输出改为缺省是彩色输出,可以使用 `--nocolor` 关闭。 23 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.3.1.md: -------------------------------------------------------------------------------- 1 | # 0.3.1 2014-07-04 2 | 3 | ## 问题修复 4 | 5 | * 修复 `include` 在 ini 中的bug 6 | * 修复在 orm.get() 中的condition判断bug 7 | * 修复 recorder bug 8 | 9 | ## 功能优化 10 | 11 | * 增加 qqmail 邮件服务后端支持,感谢 Yubin Wang 12 | * 增加 `yes` 命令行选项,删除 makeapp, makeproject 命令的 `--force` 选项 13 | * 删除 `Command` 类中的 `has_options` 属性,改为根据 `option_list` 的长度来动态判断 14 | 15 | ## ORM相关 16 | 17 | * 增加 `sqlshell` 命令 18 | * 向 ORM 结果对象添加 `having` 和 `join` 方法 19 | * 增加整个数据库 dump 和 load 支持 #33 20 | * 向 orm 的 __all__ 添加 `NotFound` 21 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.4.1.md: -------------------------------------------------------------------------------- 1 | # 0.4.1 2014-11-22 2 | 3 | ## 问题修复 4 | 5 | * 修正 generic 中的 AddView 和 EditView 对 version的处理。当version为真时才会将version值 6 | 传入obj.save()中。而不是False时也自动传入。以避免表中无version字段时的出错。 7 | * 修正对同一个view函数同时使用 expose('/') 和 expose('') 时不正确的bug。 8 | * 修正在一个Model中多次使用 ManyToMany 使用 through 时 9 | * 恢复 count() 的处理使用旧的方式,即使用条件来计算,而不是根所结果集,对于结果集情况需要自行处理,因为 10 | 有可能对性能影响很大。 11 | * 修正模板中使用 try: 的bug 12 | 13 | ## 功能优化 14 | 15 | * 增加 sequence app,可以用来它生成序列值。详情参见 [sequence](app/sequence.html) 16 | * 优化 nginx 和 supervisor 配置内容的生成 17 | * 向URL匹配规则缺省添加 strict_slashes=False 的参数,这样URL结尾有无 '/' 都是正确的 18 | * 优化 Reference() ,如果 reference_class 为 None,则自动处理为 SelfReference 19 | * 优化 ManyToMany(),如果 reference_class 为 None,则自动实现对自身的多对多的关系 20 | * 在app下的settings.ini中添加 #{appname} 的支持,会自动替换为当前app的名字。 21 | * 在模板中添加对 head.js 的支持,可以使用 {{head "xxx"}} 和 {{head_link "xxx.js"}}标签,类似于 22 | {{use}}和{{link}}。不过uliweb本身没有包含 head.js,将放在plugs中,并且是我修改过的。 23 | 24 | -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/update/update_0.4.md: -------------------------------------------------------------------------------- 1 | # 0.4 2014-9-19 2 | 3 | ## 问题修复 4 | 5 | * 修正 Pickle 缺省值Bug,将不会自动将空值转为 '' 6 | * 修正当存在 group_by, limit, join 时的 count 的实现,将使用 `select count(*) from (select * from table)` 7 | * 修正 uliweb load 在处理cvs格式时的Bug,感谢 taogeT 8 | * 修正 `tmp/templates_temp` 创建Bug 9 | * 修正显示模板块顺序不正确的Bug 10 | 11 | ## 功能优化 12 | 13 | * 使用tornado的模板代码重构uliweb的模板实现,具体变化内容详见 [模板](../template.html) 14 | * 添加 staticize 命令,实现静态化 15 | * 添加 `__debug__` 参数用于跟踪 i18n 语言的变化 16 | * ORM多数据库配置时,增加复制的支持,你可以在 CONNECTIONS 配置项中进行设置 17 | * 向 ORM 中添加 `set_session()` 函数 18 | * 向ORM中的 Property 类添加 `fieldname` 参数 19 | * 向 `load` 和 `loadtable` 添加 `-z` 参数,感谢 linuxr 20 | * 向模板的 `Loader.load()` 方法添加 `layout` 参数,可以用来实现动态模板继承 21 | * 添加 `validatetemplate` 命令,可以用来检查项目,app或单个模板的语法是否正确。可以方便用来检查升级到0.4后的模板问题。 详情参见 [validatetemplate](../manage_guide.html#validatetemplate) -------------------------------------------------------------------------------- /docs/zh_CN/uliweb3/whouse.md: -------------------------------------------------------------------------------- 1 | # 使用Uliweb的网站或项目 2 | 3 | ## 网站 4 | 5 | * http://uliweb.clkg.org 6 | * http://www.xyxwsju.gov.cn/ 7 | * http://www.xyxdaj.gov.cn/ 8 | * http://mnz.xuyong.gov.cn/ 9 | * https://www.f1do.com 10 | 11 | ## 项目 12 | 13 | * https://github.com/limodou/uliwebzone (social site) 14 | * http://git.oschina.net/devop/honeybee 15 | * https://github.com/limodou/wshell (web shell) 16 | * https://github.com/limodou/chatroom 17 | * https://github.com/zhangchunlin/shapps (app collections) 18 | * https://github.com/Longwosion/uliweb-redbreast (workflow engine) 19 | * https://github.com/zhangchunlin/mmscope 20 | * https://github.com/zhangchunlin/scancopyright 21 | 22 | ## uliweb-apps 相关项目 23 | * https://github.com/uliwebext/uliweb-ui 24 | * https://github.com/uliwebext/uliweb-layout 25 | * https://github.com/uliwebext/uliweb-menu 26 | * https://github.com/limodou/uliweb-apps 27 | * https://github.com/zhangchunlin/uliweb-comapps 28 | * https://github.com/zhangchunlin/uliweb-comui 29 | * https://github.com/zhangchunlin/uliweb-apijson 30 | -------------------------------------------------------------------------------- /projects/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.bak 3 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/generic_blog/apps/blog/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/models.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | 3 | from uliweb.orm import * 4 | 5 | class Blog(Model): 6 | __verbose_name__ = 'Blog' 7 | 8 | #author = Reference('user', verbose_name='作者', required=True) 9 | create_date = Field(datetime.datetime, verbose_name='发表时间', auto_now_add=True) 10 | title = Field(str, max_length=255, verbose_name='标题', required=True) 11 | content = Field(TEXT, verbose_name='内容', required=True) 12 | deleted = Field(bool, verbose_name='删除标志') 13 | 14 | class Table: 15 | fields = [ 16 | 'title', 'create_date', 17 | ] 18 | 19 | class AddForm: 20 | fields = ['title', 'content'] 21 | 22 | class EditForm: 23 | fields = ['title', 'content'] 24 | 25 | def __unicode__(self): 26 | return self.title 27 | 28 | def get_url(self): 29 | return '%s' % (self.id, unicode(self)) -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | BLOG = 'blog.models.Blog' -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/BlogView/add.html: -------------------------------------------------------------------------------- 1 | {{extend "BlogView/layout.html"}} 2 | 3 | {{block content}} 4 |

添加

5 | {{<< form}} 6 | {{end}} 7 | 8 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/BlogView/edit.html: -------------------------------------------------------------------------------- 1 | {{extend "BlogView/layout.html"}} 2 | 3 | {{block content}} 4 |

编辑

5 | {{<< form}} 6 | {{end}} 7 | 8 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/BlogView/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Blog 6 | 7 | 8 | {{block content}} 9 | 10 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/BlogView/list.html: -------------------------------------------------------------------------------- 1 | {{extend "BlogView/layout.html"}} 2 | 3 | {{block content}} 4 | 添加Blog 5 | {{<< table}} 6 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/BlogView/view.html: -------------------------------------------------------------------------------- 1 | {{extend "BlogView/layout.html"}} 2 | 3 | {{block content}} 4 | 返回首页 5 | {{<< view}} 6 |
7 | 编辑 8 | 删除 9 |
10 | {{end}} 11 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/blog/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.orm', 7 | 'uliweb.contrib.flashmessage', 8 | 'blog', 9 | ] -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | 10 | from flup.server.fcgi import WSGIServer 11 | from uliweb.manage import make_application 12 | app = make_application(project_dir=path) 13 | WSGIServer(app).run() 14 | -------------------------------------------------------------------------------- /projects/uliweb/generic_blog/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_application 8 | application = make_application(project_dir=path) 9 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.pyo 3 | .svn 4 | _project 5 | local_settings.ini -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/__init__.py: -------------------------------------------------------------------------------- 1 | from uliweb.core.dispatch import bind 2 | 3 | @bind('prepare_view_env') 4 | def prepare_view_env(sender, env): 5 | from uliweb.utils.textconvert import text2html 6 | env['text2html'] = text2html 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/forms.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | class NoteForm(Form): 4 | message = TextField(label='Message', required=True) 5 | username = StringField(label='Username', required=True) 6 | homepage = StringField(label='Homepage') 7 | email = StringField(label='Email') 8 | 9 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/models.py: -------------------------------------------------------------------------------- 1 | from uliweb.orm import * 2 | 3 | class Note(Model): 4 | username = Field(CHAR) 5 | message = Field(TEXT) 6 | homepage = Field(str, max_length=128) 7 | email = Field(str, max_length=128) 8 | datetime = Field(datetime.datetime, auto_now_add=True) 9 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | note = 'GuestBook.models.Note' -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/static/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/GuestBook/static/delete.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/templates/base.html: -------------------------------------------------------------------------------- 1 | {{extend "yaml_base_layout.html"}} 2 | {{block nav}}{{end}} 3 | {{block topnav}}{{end}} 4 | {{block header}}

Uliweb Guest Book

{{end}} 5 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/templates/error.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block title}}Error{{end}} 3 | {{block header}}

Error!

{{end}} 4 | {{block content}} 5 |

{{=message}}

6 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/templates/index.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block content}} 3 |

New Comment

4 | {{for n in notes:}} 5 |
6 |

7 | 8 | {{=n.username}} at {{=n.datetime.strftime('%Y/%m/%d %H:%M:%S')}} say:

9 |

{{< 10 |

11 | {{pass}} 12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/GuestBook/templates/new_comment.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block content}} 3 | {{if message:}} 4 |

{{=message}}

5 | {{pass}} 6 |

New Comment

7 |
8 | {{< 10 | {{#use "ckeditor"}} 11 | {{#<< ckeditor_set("message", {'toolbar':'Basic', 'uiColor' : '# 9AB8F3'}) }} 12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/.htaccess: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | # For licensing, see LICENSE.html or http://ckeditor.com/license 4 | # 5 | 6 | # 7 | # On some specific Linux installations you could face problems with Firefox. 8 | # It could give you errors when loading the editor saying that some illegal 9 | # characters were found (three strange chars in the beginning of the file). 10 | # This could happen if you map the .js or .css files to PHP, for example. 11 | # 12 | # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. 13 | # All FCKeditor files are Unicode encoded. 14 | # 15 | 16 | AddType application/x-javascript .js 17 | AddType text/css .css 18 | 19 | # 20 | # If PHP is mapped to handle XML files, you could have some issues. The 21 | # following will disable it. 22 | # 23 | 24 | AddType text/xml .xml 25 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) 7 | { 8 | // Define changes to default configuration here. For example: 9 | // config.language = 'fr'; 10 | // config.uiColor = '#AADC6E'; 11 | }; 12 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | body 7 | { 8 | /* Font */ 9 | font-family: Arial, Verdana, sans-serif; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #222; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | } 18 | 19 | html 20 | { 21 | /* #3658: [IE6] Editor document has horizontal scrollbar on long lines 22 | To prevent this misbehavior, we show the scrollbar always */ 23 | _overflow-y: scroll 24 | } 25 | 26 | img:-moz-broken 27 | { 28 | -moz-force-broken-image-icon : 1; 29 | width : 24px; 30 | height : 24px; 31 | } 32 | img, input, textarea 33 | { 34 | cursor: default; 35 | } 36 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/images/spacer.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/about/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('about',{init:function(a){var b=a.addCommand('about',new CKEDITOR.dialogCommand('about'));b.modes={wysiwyg:1,source:1};b.canUndo=false;a.ui.addButton('About',{label:a.lang.about.title,command:'about'});CKEDITOR.dialog.add('about',this.path+'dialogs/about.js');}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/find/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('find',{init:function(a){var b=CKEDITOR.plugins.find;a.ui.addButton('Find',{label:a.lang.findAndReplace.find,command:'find'});var c=a.addCommand('find',new CKEDITOR.dialogCommand('find'));c.canUndo=false;a.ui.addButton('Replace',{label:a.lang.findAndReplace.replace,command:'replace'});var d=a.addCommand('replace',new CKEDITOR.dialogCommand('replace'));d.canUndo=false;CKEDITOR.dialog.add('find',this.path+'dialogs/find.js');CKEDITOR.dialog.add('replace',this.path+'dialogs/find.js');},requires:['styles']});CKEDITOR.config.find_highlight={element:'span',styles:{'background-color':'#004',color:'#fff'}}; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/horizontalrule/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a={exec:function(c){c.insertElement(c.document.createElement('hr'));}},b='horizontalrule';CKEDITOR.plugins.add(b,{init:function(c){c.addCommand(b,a);c.ui.addButton('HorizontalRule',{label:c.lang.horizontalrule,command:b});}});})(); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/image/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('image',{init:function(a){var b='image';CKEDITOR.dialog.add(b,this.path+'dialogs/image.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('Image',{label:a.lang.common.image,command:b});if(a.addMenuItems)a.addMenuItems({image:{label:a.lang.image.menu,command:'image',group:'image'}});if(a.contextMenu)a.contextMenu.addListener(function(c,d){if(!c||!c.is('img')||c.getAttribute('_cke_realelement'))return null;return{image:CKEDITOR.TRISTATE_OFF};});}});CKEDITOR.config.image_removeLinkByEmptyURL=true; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/link/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/link/images/anchor.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/newpage/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('newpage',{init:function(a){a.addCommand('newpage',{modes:{wysiwyg:1,source:1},exec:function(b){var c=this;function d(){setTimeout(function(){b.fire('afterCommandExec',{name:c.name,command:c});},500);};if(b.mode=='wysiwyg')b.on('contentDom',function(e){e.removeListener();d();});b.setData(b.config.newpage_html);b.focus();if(b.mode=='source')d();},async:true});a.ui.addButton('NewPage',{label:a.lang.newPage,command:'newpage'});}});CKEDITOR.config.newpage_html=''; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/pastefromword/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('pastefromword',{init:function(a){a.addCommand('pastefromword',new CKEDITOR.dialogCommand('pastefromword'));a.ui.addButton('PasteFromWord',{label:a.lang.pastefromword.toolbar,command:'pastefromword'});CKEDITOR.dialog.add('pastefromword',this.path+'dialogs/pastefromword.js');}});CKEDITOR.config.pasteFromWordIgnoreFontFace=true;CKEDITOR.config.pasteFromWordRemoveStyle=false;CKEDITOR.config.pasteFromWordKeepsStructure=false; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/popup/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('popup');CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(a,b,c){b=b||'80%';c=c||'70%';if(typeof b=='string'&&b.length>1&&b.substr(b.length-1,1)=='%')b=parseInt(window.screen.width*parseInt(b,10)/100,10);if(typeof c=='string'&&c.length>1&&c.substr(c.length-1,1)=='%')c=parseInt(window.screen.height*parseInt(c,10)/100,10);if(b<640)b=640;if(c<420)c=420;var d=parseInt((window.screen.height-c)/(2),10),e=parseInt((window.screen.width-b)/(2),10),f='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,width='+b+',height='+c+',top='+d+',left='+e,g=window.open('',null,f,true);if(!g)return false;try{g.moveTo(e,d);g.resizeTo(b,c);g.focus();g.location.href=a;}catch(h){g=window.open(a,null,f,true);}return true;}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/print/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('print',{init:function(a){var b='print',c=a.addCommand(b,CKEDITOR.plugins.print);a.ui.addButton('Print',{label:a.lang.print,command:b});}});CKEDITOR.plugins.print={exec:function(a){if(CKEDITOR.env.opera)return;else if(CKEDITOR.env.gecko)a.window.$.print();else a.document.$.execCommand('Print');},canUndo:false,modes:{wysiwyg:!CKEDITOR.env.opera}}; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/save/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a={modes:{wysiwyg:1,source:1},exec:function(c){var d=c.element.$.form;if(d)try{d.submit();}catch(e){if(d.submit.click)d.submit.click();}}},b='save';CKEDITOR.plugins.add(b,{init:function(c){var d=c.addCommand(b,a);d.modes={wysiwyg:!!c.element.$.form};c.ui.addButton('Save',{label:c.lang.save,command:b});}});})(); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/specialchar/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('specialchar',{init:function(a){var b='specialchar';CKEDITOR.dialog.add(b,this.path+'dialogs/specialchar.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('SpecialChar',{label:a.lang.specialChar.toolbar,command:b});}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/table/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('table',{init:function(a){var b=CKEDITOR.plugins.table,c=a.lang.table;a.addCommand('table',new CKEDITOR.dialogCommand('table'));a.addCommand('tableProperties',new CKEDITOR.dialogCommand('tableProperties'));a.ui.addButton('Table',{label:c.toolbar,command:'table'});CKEDITOR.dialog.add('table',this.path+'dialogs/table.js');CKEDITOR.dialog.add('tableProperties',this.path+'dialogs/table.js');if(a.addMenuItems)a.addMenuItems({table:{label:c.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:c.deleteTable,command:'tableDelete',group:'table',order:1}});if(a.contextMenu)a.contextMenu.addListener(function(d,e){if(!d)return null;var f=d.is('table')||d.hasAscendant('table');if(f)return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF};return null;});}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('templates',{requires:['dialog'],init:function(c){CKEDITOR.dialog.add('templates',CKEDITOR.getUrl(this.path+'dialogs/templates.js'));c.addCommand('templates',new CKEDITOR.dialogCommand('templates'));c.ui.addButton('Templates',{label:c.lang.templates.button,command:'templates'});}});var a={},b={};CKEDITOR.addTemplates=function(c,d){a[c]=d;};CKEDITOR.getTemplates=function(c){return a[c];};CKEDITOR.loadTemplates=function(c,d){var e=[];for(var f=0;f0)CKEDITOR.scriptLoader.load(e,d);else setTimeout(d,0);};})();CKEDITOR.config.templates='default';CKEDITOR.config.templates_files=[CKEDITOR.getUrl('plugins/templates/templates/default.js')];CKEDITOR.config.templates_replaceContent=true; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined color sets'}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/uicolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/uicolor.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_bg.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_mask.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/plugins/wsc/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('wsc',{init:function(a){var b='checkspell',c=a.addCommand(b,new CKEDITOR.dialogCommand(b));c.modes={wysiwyg:!CKEDITOR.env.opera&&document.domain==window.location.hostname};a.ui.addButton('SpellChecker',{label:a.lang.spellCheck.toolbar,command:b});CKEDITOR.dialog.add(b,this.path+'dialogs/wsc.js');}});CKEDITOR.config.wsc_customerId=CKEDITOR.config.wsc_customerId||'1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';CKEDITOR.config.wsc_customLoaderScript=CKEDITOR.config.wsc_customLoaderScript||null; 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/icons.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/toolbar_start.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/kama/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_kama .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_kama .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_kama .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_kama .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_kama .cke_tpl_preview span{white-space:normal;}.cke_skin_kama .cke_tpl_title{font-weight:bold;}.cke_skin_kama .cke_tpl_hover{border:#f93 1px solid!important;background-color:#fffacd!important;cursor:pointer;cursor:hand;}.cke_skin_kama .cke_tpl_hover *{cursor:inherit;}.cke_skin_kama .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/icons.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/icons.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/toolbar_start.gif -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/static/ckeditor/skins/v2/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_v2 .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_v2 .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_v2 .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_v2 .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_v2 .cke_tpl_preview span{white-space:normal;}.cke_skin_v2 .cke_tpl_title{font-weight:bold;}.cke_skin_v2 .cke_tpl_hover{border:#f93 1px solid!important;background-color:#fffacd!important;cursor:pointer;cursor:hand;}.cke_skin_v2 .cke_tpl_hover *{cursor:inherit;}.cke_skin_v2 .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/template_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/guestbook/apps/ckeditor/template_plugins/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/ckeditor/template_plugins/ckeditor.py: -------------------------------------------------------------------------------- 1 | def cdeditor_set(id, *options): 2 | import simplejson as sj 3 | 4 | argument = "%r" % id 5 | if options: 6 | argument += ',' + sj.dumps(options[0]) 7 | 8 | return """ 14 | """ % argument 15 | 16 | def call(app, var, env): 17 | 18 | env['ckeditor_set'] = cdeditor_set 19 | return {'toplinks':[ 20 | '{{=url_for_static("ckeditor/ckeditor.js")}}', 21 | ]} 22 | 23 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/apps/settings.ini: -------------------------------------------------------------------------------- 1 | #coding=UTF-8 2 | [GLOBAL] 3 | DEBUG = True 4 | 5 | INSTALLED_APPS = [ 6 | 'uliweb.contrib.orm', 7 | 'uliweb.contrib.staticfiles', 8 | 'uliweb.contrib.template', 9 | 'plugs.ui.yaml', 10 | 'ckeditor', 11 | 'GuestBook', 12 | ] 13 | 14 | [ORM] 15 | CONNECTION = 'sqlite:///guestbook.db' 16 | DEBUG_LOG = True 17 | -------------------------------------------------------------------------------- /projects/uliweb/guestbook/wsgi_handler.wsgi: -------------------------------------------------------------------------------- 1 | import sys, os 2 | path = os.path.dirname(__file__) 3 | sys.path.insert(0, path) 4 | from uliweb.manage import make_application 5 | application = make_application() 6 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/_project: -------------------------------------------------------------------------------- 1 | [default] 2 | projectname = python, 3 | 4 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'plugs.generic', 6 | 'plugs.layout', 7 | 'uliweb.contrib.orm', 8 | 'todo', 9 | ] 10 | 11 | [ORM] 12 | CONNECTION = 'sqlite:///database.db' 13 | AUTO_CREATE = False 14 | 15 | [LAYOUT] 16 | COPYRIGHT = 'Copyright© 任务跟踪 作者: limodou@gmail.com' 17 | TITLE = '任务跟踪' 18 | MENUS <= [ 19 | ('home', '首页', '/'), 20 | ] 21 | 22 | [I18N] 23 | LOCALE_DIRS = ['${plugs}'] 24 | SUPPORT_LANGUAGES = ['en', 'zh_CN'] 25 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/plugs_todo/apps/todo/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/models.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb.orm import * 3 | 4 | class Todo(Model): 5 | title = Field(str, verbose_name="标题", max_length=255, required=True) 6 | post_date = Field(datetime.datetime, verbose_name='提交时间', auto_now_add=True) 7 | finished = Field(bool, verbose_name='是否完成') 8 | 9 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | todo = 'todo.models.Todo' 3 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/templates/base.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block userinfo}}{{end}} 4 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/apps/todo/views.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb import expose 3 | from plugs.generic.views import View 4 | from uliweb.i18n import ugettext as _ 5 | 6 | @expose('/') 7 | class Todo(View): 8 | model = 'todo' 9 | layout = 'base.html' 10 | key_field = 'title' 11 | add_button_text = _('New') 12 | pagination = True 13 | rows = 10 14 | 15 | @expose('/') 16 | def list(self): 17 | return View.list(self) 18 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | apps_dir = os.path.join(path, 'apps') 10 | 11 | from flup.server.fcgi import WSGIServer 12 | from uliweb.manage import make_application 13 | app = make_application(apps_dir=apps_dir) 14 | WSGIServer(app).run() 15 | -------------------------------------------------------------------------------- /projects/uliweb/plugs_todo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | apps_dir = os.path.join(path, 'apps') 7 | 8 | from uliweb.manage import make_application 9 | application = make_application(apps_dir=apps_dir) 10 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/app.yaml: -------------------------------------------------------------------------------- 1 | application: uliweb 2 | version: 1 3 | api_version: 1 4 | runtime: python 5 | 6 | handlers: 7 | - url: /.* 8 | script: gae_handler.py -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.orm', 7 | 'todo', 8 | ] 9 | 10 | [SITE] 11 | SITE_NAME = '任务跟踪' 12 | EMAIL = 'limodou@gmail.com' 13 | 14 | [ORM] 15 | CONNECTION = 'sqlite:///database.db' 16 | AUTO_CREATE = False 17 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | todo = 'todo.models.Todo' 3 | test = 'todo.models.Test' 4 | test1 = 'todo.models.Test1' 5 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/bg_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/bg_1.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/email.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/home.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/msn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/msn.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/qq.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/static/styles/index/images/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/simple_todo/apps/todo/static/styles/index/images/website.png -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/templates/Todo/edit.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block content}} 4 |
5 |

修改

6 |
7 |

8 | 9 |

10 |
11 |
12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/templates/error.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block content}} 4 |
5 |

6 | 出错了!{{=message}} 7 |

8 |

9 | 返回 | 10 | 首页 11 |

12 |
13 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{=settings.SITE.SITE_NAME}} 6 | 7 | 8 | 9 | 10 | 11 |
12 | 15 |
16 | {{block content}}{{end}} 17 |
18 |
19 | Copyright© {{=settings.SITE.SITE_NAME}} 作者: {{=settings.SITE.EMAIL}} 20 |
21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/apps/todo/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | apps_dir = os.path.join(path, 'apps') 10 | 11 | from flup.server.fcgi import WSGIServer 12 | from uliweb.manage import make_application 13 | app = make_application(apps_dir=apps_dir) 14 | WSGIServer(app).run() 15 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/gae_handler.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | import wsgiref.handlers 3 | from uliweb.manage import make_application 4 | 5 | path = os.path.dirname(__file__) 6 | if path not in sys.path: 7 | sys.path.insert(0, path) 8 | apps_dir = os.path.join(path, 'apps') 9 | 10 | application = make_application(False, apps_dir, debug_console=False) 11 | wsgiref.handlers.CGIHandler().run(application) 12 | -------------------------------------------------------------------------------- /projects/uliweb/simple_todo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | apps_dir = os.path.join(path, 'apps') 7 | 8 | from uliweb.manage import make_application 9 | application = make_application(apps_dir=apps_dir) 10 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.soap', 7 | 'uliweb.contrib.csrf', 8 | 'soap_test', 9 | ] 10 | 11 | [LOG] 12 | level = 'debug' 13 | 14 | [EXPOSES] 15 | #soap2 = '/SOAP2', 'soap_test.views.SoapView2.soap' 16 | 17 | [SOAP2] 18 | namespace = None 19 | documentation = 'Uliweb Soap2 Service' 20 | name = 'UliwebSoap2' 21 | prefix = 'pys' 22 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/soap_test/apps/soap_test/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/soap_test/apps/soap_test/views.py: -------------------------------------------------------------------------------- 1 | from uliweb import decorators 2 | from uliweb.contrib.soap import Date, DateTime, Decimal 3 | 4 | @decorators.soap('hello', returns={'a':str}, args={'a':str}) 5 | def hello(a): 6 | return 'Hello:' + a 7 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | 10 | from flup.server.fcgi import WSGIServer 11 | from uliweb.manage import make_application 12 | app = make_application(project_dir=path) 13 | WSGIServer(app).run() 14 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/test_pys.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from datetime import date 3 | import decimal 4 | from uliweb.lib.pysimplesoap.client import SoapClient 5 | client = SoapClient( 6 | location = "", 7 | action = "", # SOAPAction 8 | namespace = "", 9 | soap_ns='soap', 10 | wsdl="http://localhost:8000/SOAP?wsdl", 11 | trace = True, 12 | ns = False) 13 | 14 | result = client.hello(a='limodou') 15 | print 'test1:', result 16 | result = client.echo('hello') 17 | print 'test2:', result 18 | result = client.add([1,2]) 19 | print 'test3:', result 20 | result = client.service.string({'string':[u'中', u'国']}) 21 | print 'test4:', result 22 | result = client.Adder(p={'a':10, 'b':20}, c=[{'d':[decimal.Decimal('1.0'),decimal.Decimal('2.0')]}], 23 | dt=date.today()) 24 | print result 25 | -------------------------------------------------------------------------------- /projects/uliweb/soap_test/test_suds.py: -------------------------------------------------------------------------------- 1 | from suds.client import Client 2 | client = Client('http://localhost:8000/SOAP?wsdl') 3 | print client 4 | 5 | result = client.service.hello('limodou') 6 | print 'test1:', result -------------------------------------------------------------------------------- /projects/uliweb/soap_test/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_application 8 | application = make_application(project_dir=path) 9 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.flashmessage', 7 | 'uliweb.contrib.orm', 8 | 'uliweb.contrib.upload', 9 | 'uliweb.contrib.generic', 10 | 'test', 11 | #'uliweb.contrib.dbupload', 12 | ] 13 | 14 | [UPLOAD_TEST] 15 | TO_PATH = './uploads_test' 16 | BUFFER_SIZE = 4096 17 | FILENAME_CONVERTER = 18 | BACKEND = 19 | X_SENDFILE = None 20 | X_HEADER_NAME = '' 21 | X_FILE_PREFIX = '/files' 22 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/upload_demo/apps/test/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/models.py: -------------------------------------------------------------------------------- 1 | from uliweb.orm import * 2 | 3 | class File(Model): 4 | filename = Field(FILE, upload_to_sub='test') -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | file = 'test.models.File' -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/edit.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 | {{<< form}} 5 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Upload Form 5 | 6 | 7 |

出错啦!

8 |
9 |

{{=message}}

10 |

点击这里回退

11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Upload Form 5 | 6 | 7 | {{block content}} 8 | {{from uliweb import functions}} 9 | {{for f in objects:}} 10 |
  • {{<< functions.get_url(f.slug)}} Delete
  • 11 | {{pass}} 12 | {{<< form}} 13 | {{end}} 14 | 15 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/list.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 |

    5 | 上传文件 6 |

    7 | {{for row in objects:}} 8 |
  • {{<< functions.get_url(row.filename)}} Edit Delete
  • 9 | {{pass}} 10 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/apps/test/templates/upload.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 | {{<< form}} 5 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | 10 | from flup.server.fcgi import WSGIServer 11 | from uliweb.manage import make_application 12 | app = make_application(project_dir=path) 13 | WSGIServer(app).run() 14 | -------------------------------------------------------------------------------- /projects/uliweb/upload_demo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_application 8 | application = make_application(project_dir=path) 9 | -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb/xmlrpc_test/apps/Hello/__init__.py -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/Hello/views.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb import function 3 | xmlrpc = function('xmlrpc') 4 | 5 | @xmlrpc 6 | def hello(): 7 | return 'hello' 8 | 9 | @xmlrpc('func') 10 | def new_func(): 11 | return 'new_func' 12 | 13 | @xmlrpc 14 | class Hello(object): 15 | def test(self, name): 16 | return {'user':name} 17 | 18 | @xmlrpc('name') 19 | def new_name(self): 20 | return 'new_name' -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | # 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.xmlrpc', 7 | 'Hello', 8 | ] -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | apps_dir = os.path.join(path, 'apps') 10 | 11 | from flup.server.fcgi import WSGIServer 12 | from uliweb.manage import make_application 13 | app = make_application(apps_dir=apps_dir) 14 | WSGIServer(app).run() 15 | -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/test_xmlrpc.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from xmlrpclib import ServerProxy 3 | 4 | server = ServerProxy("http://localhost:8000/XMLRPC") 5 | 6 | print server.hello() 7 | print server.func() 8 | print server.Hello.test('limodou') 9 | -------------------------------------------------------------------------------- /projects/uliweb/xmlrpc_test/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | apps_dir = os.path.join(path, 'apps') 7 | 8 | from uliweb.manage import make_application 9 | application = make_application(apps_dir=apps_dir) 10 | -------------------------------------------------------------------------------- /projects/uliweb3/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.bak 3 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.bak 3 | local_settings.ini 4 | build 5 | dist 6 | *.egg-info 7 | .idea 8 | _git -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/apijson_todo/README.md -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.1' 2 | __url__ = '' 3 | __author__ = '' 4 | __email__ = '' -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = False 3 | DEBUG_CONSOLE = False 4 | DEBUG_TEMPLATE = False 5 | 6 | INSTALLED_APPS = [ 7 | 'uliweb.contrib.orm', 8 | 'uliweb_apps.site', 9 | 'uliweb_comui', 10 | 'uliweb_apijson.apijson', 11 | 'todo', 12 | ] 13 | 14 | [MENUS] 15 | MAINMENU <= { 16 | 'subs':[ 17 | {'name': 'todo', 'link':'/', 'title':u'Todo'}, 18 | ] 19 | } 20 | 21 | [LAYOUT] 22 | logo_lg = "Todo" 23 | logo_mini = "T" 24 | footer = ''' 27 | Copyright © 2018-2019 Apijson Todo. 28 | ''' -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/apijson_todo/apps/todo/README.md -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/apijson_todo/apps/todo/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/models.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb.orm import * 3 | 4 | class Todo(Model): 5 | title = Field(str, verbose_name="标题", max_length=255, required=True) 6 | post_date = Field(datetime.datetime, verbose_name='提交时间', auto_now_add=True) 7 | finished = Field(bool, verbose_name='是否完成') 8 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | todo = 'todo.models.Todo' 3 | 4 | [APIJSON_MODELS] 5 | todo = { 6 | "GET" : { "roles" : ["UNKNOWN"] }, 7 | "HEAD" : { "roles" : ["UNKNOWN"] }, 8 | "POST" : { "roles" : ["UNKNOWN"] }, 9 | "PUT" : { "roles" : ["UNKNOWN"] }, 10 | "DELETE" : { "roles" : ["UNKNOWN"] }, 11 | } 12 | 13 | [APIJSON_REQUESTS] 14 | todo = { 15 | "todo": { 16 | "POST" :{ 17 | "DISALLOW" : ["id"], 18 | "NECESSARY" : ["title"], 19 | }, 20 | "PUT" :{ 21 | "NECESSARY" : ["id"], 22 | }, 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/templates/base.html: -------------------------------------------------------------------------------- 1 | {{extend "site/layout1.html"}} 2 | 3 | {{block header_custom_menu}}{{end header_custom_menu}} 4 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/apps/todo/views.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb import expose, functions 3 | 4 | @expose('/') 5 | def index(): 6 | return {} 7 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/database.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/apijson_todo/database.db -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/doc/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/requirements.txt: -------------------------------------------------------------------------------- 1 | six 2 | SQLAlchemy 3 | -e git+https://github.com/limodou/uliweb3#egg=uliweb 4 | -e git+https://github.com/uliwebext/uliweb-ui#egg=uliweb_ui 5 | -e git+https://github.com/uliwebext/uliweb-layout#egg=uliweb_layout 6 | -e git+https://github.com/uliwebext/uliweb-menu#egg=uliweb_menu 7 | -e git+https://github.com/limodou/uliweb-apps#egg=uliweb_apps 8 | -e git+https://github.com/zhangchunlin/uliweb-comui#egg=uliweb_comui 9 | -e git+https://github.com/zhangchunlin/uliweb-apijson#egg=uliweb_apijson 10 | -------------------------------------------------------------------------------- /projects/uliweb3/apijson_todo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_simple_application 8 | application = make_simple_application(project_dir=path) 9 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.pyo 3 | .svn 4 | _project 5 | local_settings.ini 6 | *.db 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/__init__.py: -------------------------------------------------------------------------------- 1 | from uliweb.core.dispatch import bind 2 | 3 | @bind('prepare_view_env') 4 | def prepare_view_env(sender, env): 5 | from uliweb.utils.textconvert import text2html 6 | env['text2html'] = text2html 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/forms.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | class NoteForm(Form): 4 | message = TextField(label='Message', required=True) 5 | username = StringField(label='Username', required=True) 6 | homepage = StringField(label='Homepage') 7 | email = StringField(label='Email') 8 | 9 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/models.py: -------------------------------------------------------------------------------- 1 | from uliweb.orm import * 2 | 3 | class Note(Model): 4 | username = Field(CHAR) 5 | message = Field(TEXT) 6 | homepage = Field(str, max_length=128) 7 | email = Field(str, max_length=128) 8 | datetime = Field(datetime.datetime, auto_now_add=True) 9 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | note = 'GuestBook.models.Note' -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/static/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/GuestBook/static/delete.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/templates/base.html: -------------------------------------------------------------------------------- 1 | {{extend "site/layout1.html"}} 2 | {{block nav}}{{end}} 3 | {{block topnav}}{{end}} 4 | {{block header}}

    Uliweb Guest Book

    {{end}} 5 | {{block header_custom_menu}}{{end header_custom_menu}} -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/templates/error.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block title}}Error{{end}} 3 | {{block header}}

    Error!

    {{end}} 4 | {{block content}} 5 |

    {{=message}}

    6 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/templates/index.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block content}} 3 |

    New Comment

    4 | {{for n in notes:}} 5 |
    6 |

    7 | 8 | {{=n.username}} at {{=n.datetime.strftime('%Y/%m/%d %H:%M:%S')}} say:

    9 |

    {{< 10 |

    11 | {{pass}} 12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/GuestBook/templates/new_comment.html: -------------------------------------------------------------------------------- 1 | {{extend "base.html"}} 2 | {{block content}} 3 | {{if message:}} 4 |

    {{=message}}

    5 | {{pass}} 6 |

    New Comment

    7 |
    8 | {{< 10 | {{#use "ckeditor"}} 11 | {{#<< ckeditor_set("message", {'toolbar':'Basic', 'uiColor' : '# 9AB8F3'}) }} 12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/.htaccess: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | # For licensing, see LICENSE.html or http://ckeditor.com/license 4 | # 5 | 6 | # 7 | # On some specific Linux installations you could face problems with Firefox. 8 | # It could give you errors when loading the editor saying that some illegal 9 | # characters were found (three strange chars in the beginning of the file). 10 | # This could happen if you map the .js or .css files to PHP, for example. 11 | # 12 | # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. 13 | # All FCKeditor files are Unicode encoded. 14 | # 15 | 16 | AddType application/x-javascript .js 17 | AddType text/css .css 18 | 19 | # 20 | # If PHP is mapped to handle XML files, you could have some issues. The 21 | # following will disable it. 22 | # 23 | 24 | AddType text/xml .xml 25 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) 7 | { 8 | // Define changes to default configuration here. For example: 9 | // config.language = 'fr'; 10 | // config.uiColor = '#AADC6E'; 11 | }; 12 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | body 7 | { 8 | /* Font */ 9 | font-family: Arial, Verdana, sans-serif; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #222; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | } 18 | 19 | html 20 | { 21 | /* #3658: [IE6] Editor document has horizontal scrollbar on long lines 22 | To prevent this misbehavior, we show the scrollbar always */ 23 | _overflow-y: scroll 24 | } 25 | 26 | img:-moz-broken 27 | { 28 | -moz-force-broken-image-icon : 1; 29 | width : 24px; 30 | height : 24px; 31 | } 32 | img, input, textarea 33 | { 34 | cursor: default; 35 | } 36 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/images/spacer.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/about/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('about',{init:function(a){var b=a.addCommand('about',new CKEDITOR.dialogCommand('about'));b.modes={wysiwyg:1,source:1};b.canUndo=false;a.ui.addButton('About',{label:a.lang.about.title,command:'about'});CKEDITOR.dialog.add('about',this.path+'dialogs/about.js');}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/find/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('find',{init:function(a){var b=CKEDITOR.plugins.find;a.ui.addButton('Find',{label:a.lang.findAndReplace.find,command:'find'});var c=a.addCommand('find',new CKEDITOR.dialogCommand('find'));c.canUndo=false;a.ui.addButton('Replace',{label:a.lang.findAndReplace.replace,command:'replace'});var d=a.addCommand('replace',new CKEDITOR.dialogCommand('replace'));d.canUndo=false;CKEDITOR.dialog.add('find',this.path+'dialogs/find.js');CKEDITOR.dialog.add('replace',this.path+'dialogs/find.js');},requires:['styles']});CKEDITOR.config.find_highlight={element:'span',styles:{'background-color':'#004',color:'#fff'}}; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/horizontalrule/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a={exec:function(c){c.insertElement(c.document.createElement('hr'));}},b='horizontalrule';CKEDITOR.plugins.add(b,{init:function(c){c.addCommand(b,a);c.ui.addButton('HorizontalRule',{label:c.lang.horizontalrule,command:b});}});})(); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/image/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('image',{init:function(a){var b='image';CKEDITOR.dialog.add(b,this.path+'dialogs/image.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('Image',{label:a.lang.common.image,command:b});if(a.addMenuItems)a.addMenuItems({image:{label:a.lang.image.menu,command:'image',group:'image'}});if(a.contextMenu)a.contextMenu.addListener(function(c,d){if(!c||!c.is('img')||c.getAttribute('_cke_realelement'))return null;return{image:CKEDITOR.TRISTATE_OFF};});}});CKEDITOR.config.image_removeLinkByEmptyURL=true; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/link/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/link/images/anchor.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/newpage/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('newpage',{init:function(a){a.addCommand('newpage',{modes:{wysiwyg:1,source:1},exec:function(b){var c=this;function d(){setTimeout(function(){b.fire('afterCommandExec',{name:c.name,command:c});},500);};if(b.mode=='wysiwyg')b.on('contentDom',function(e){e.removeListener();d();});b.setData(b.config.newpage_html);b.focus();if(b.mode=='source')d();},async:true});a.ui.addButton('NewPage',{label:a.lang.newPage,command:'newpage'});}});CKEDITOR.config.newpage_html=''; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/pastefromword/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('pastefromword',{init:function(a){a.addCommand('pastefromword',new CKEDITOR.dialogCommand('pastefromword'));a.ui.addButton('PasteFromWord',{label:a.lang.pastefromword.toolbar,command:'pastefromword'});CKEDITOR.dialog.add('pastefromword',this.path+'dialogs/pastefromword.js');}});CKEDITOR.config.pasteFromWordIgnoreFontFace=true;CKEDITOR.config.pasteFromWordRemoveStyle=false;CKEDITOR.config.pasteFromWordKeepsStructure=false; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/popup/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('popup');CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(a,b,c){b=b||'80%';c=c||'70%';if(typeof b=='string'&&b.length>1&&b.substr(b.length-1,1)=='%')b=parseInt(window.screen.width*parseInt(b,10)/100,10);if(typeof c=='string'&&c.length>1&&c.substr(c.length-1,1)=='%')c=parseInt(window.screen.height*parseInt(c,10)/100,10);if(b<640)b=640;if(c<420)c=420;var d=parseInt((window.screen.height-c)/(2),10),e=parseInt((window.screen.width-b)/(2),10),f='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,width='+b+',height='+c+',top='+d+',left='+e,g=window.open('',null,f,true);if(!g)return false;try{g.moveTo(e,d);g.resizeTo(b,c);g.focus();g.location.href=a;}catch(h){g=window.open(a,null,f,true);}return true;}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/print/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('print',{init:function(a){var b='print',c=a.addCommand(b,CKEDITOR.plugins.print);a.ui.addButton('Print',{label:a.lang.print,command:b});}});CKEDITOR.plugins.print={exec:function(a){if(CKEDITOR.env.opera)return;else if(CKEDITOR.env.gecko)a.window.$.print();else a.document.$.execCommand('Print');},canUndo:false,modes:{wysiwyg:!CKEDITOR.env.opera}}; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/save/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a={modes:{wysiwyg:1,source:1},exec:function(c){var d=c.element.$.form;if(d)try{d.submit();}catch(e){if(d.submit.click)d.submit.click();}}},b='save';CKEDITOR.plugins.add(b,{init:function(c){var d=c.addCommand(b,a);d.modes={wysiwyg:!!c.element.$.form};c.ui.addButton('Save',{label:c.lang.save,command:b});}});})(); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/specialchar/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('specialchar',{init:function(a){var b='specialchar';CKEDITOR.dialog.add(b,this.path+'dialogs/specialchar.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('SpecialChar',{label:a.lang.specialChar.toolbar,command:b});}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/table/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('table',{init:function(a){var b=CKEDITOR.plugins.table,c=a.lang.table;a.addCommand('table',new CKEDITOR.dialogCommand('table'));a.addCommand('tableProperties',new CKEDITOR.dialogCommand('tableProperties'));a.ui.addButton('Table',{label:c.toolbar,command:'table'});CKEDITOR.dialog.add('table',this.path+'dialogs/table.js');CKEDITOR.dialog.add('tableProperties',this.path+'dialogs/table.js');if(a.addMenuItems)a.addMenuItems({table:{label:c.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:c.deleteTable,command:'tableDelete',group:'table',order:1}});if(a.contextMenu)a.contextMenu.addListener(function(d,e){if(!d)return null;var f=d.is('table')||d.hasAscendant('table');if(f)return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF};return null;});}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('templates',{requires:['dialog'],init:function(c){CKEDITOR.dialog.add('templates',CKEDITOR.getUrl(this.path+'dialogs/templates.js'));c.addCommand('templates',new CKEDITOR.dialogCommand('templates'));c.ui.addButton('Templates',{label:c.lang.templates.button,command:'templates'});}});var a={},b={};CKEDITOR.addTemplates=function(c,d){a[c]=d;};CKEDITOR.getTemplates=function(c){return a[c];};CKEDITOR.loadTemplates=function(c,d){var e=[];for(var f=0;f0)CKEDITOR.scriptLoader.load(e,d);else setTimeout(d,0);};})();CKEDITOR.config.templates='default';CKEDITOR.config.templates_files=[CKEDITOR.getUrl('plugins/templates/templates/default.js')];CKEDITOR.config.templates_replaceContent=true; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined color sets'}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}}); 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/uicolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/uicolor.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_bg.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_mask.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/plugins/wsc/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('wsc',{init:function(a){var b='checkspell',c=a.addCommand(b,new CKEDITOR.dialogCommand(b));c.modes={wysiwyg:!CKEDITOR.env.opera&&document.domain==window.location.hostname};a.ui.addButton('SpellChecker',{label:a.lang.spellCheck.toolbar,command:b});CKEDITOR.dialog.add(b,this.path+'dialogs/wsc.js');}});CKEDITOR.config.wsc_customerId=CKEDITOR.config.wsc_customerId||'1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';CKEDITOR.config.wsc_customLoaderScript=CKEDITOR.config.wsc_customLoaderScript||null; 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/icons.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/images/toolbar_start.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/kama/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_kama .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_kama .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_kama .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_kama .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_kama .cke_tpl_preview span{white-space:normal;}.cke_skin_kama .cke_tpl_title{font-weight:bold;}.cke_skin_kama .cke_tpl_hover{border:#f93 1px solid!important;background-color:#fffacd!important;cursor:pointer;cursor:hand;}.cke_skin_kama .cke_tpl_hover *{cursor:inherit;}.cke_skin_kama .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/icons.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/office2003/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/icons.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/mini.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/noimage.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/sprites_ie6.png -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/images/toolbar_start.gif -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/static/ckeditor/skins/v2/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_v2 .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_v2 .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_v2 .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_v2 .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_v2 .cke_tpl_preview span{white-space:normal;}.cke_skin_v2 .cke_tpl_title{font-weight:bold;}.cke_skin_v2 .cke_tpl_hover{border:#f93 1px solid!important;background-color:#fffacd!important;cursor:pointer;cursor:hand;}.cke_skin_v2 .cke_tpl_hover *{cursor:inherit;}.cke_skin_v2 .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/template_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/guestbook/apps/ckeditor/template_plugins/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/ckeditor/template_plugins/ckeditor.py: -------------------------------------------------------------------------------- 1 | def cdeditor_set(id, *options): 2 | import simplejson as sj 3 | 4 | argument = "%r" % id 5 | if options: 6 | argument += ',' + sj.dumps(options[0]) 7 | 8 | return """ 14 | """ % argument 15 | 16 | def call(app, var, env): 17 | 18 | env['ckeditor_set'] = cdeditor_set 19 | return {'toplinks':[ 20 | '{{=url_for_static("ckeditor/ckeditor.js")}}', 21 | ]} 22 | 23 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/apps/settings.ini: -------------------------------------------------------------------------------- 1 | #coding=UTF-8 2 | [GLOBAL] 3 | DEBUG = True 4 | 5 | INSTALLED_APPS = [ 6 | 'uliweb.contrib.orm', 7 | 'uliweb.contrib.staticfiles', 8 | 'uliweb.contrib.template', 9 | 'uliweb_apps.site', 10 | 'ckeditor', 11 | 'GuestBook', 12 | ] 13 | 14 | [ORM] 15 | CONNECTION = 'sqlite:///guestbook.db' 16 | DEBUG_LOG = True 17 | -------------------------------------------------------------------------------- /projects/uliweb3/guestbook/wsgi_handler.wsgi: -------------------------------------------------------------------------------- 1 | import sys, os 2 | path = os.path.dirname(__file__) 3 | sys.path.insert(0, path) 4 | from uliweb.manage import make_application 5 | application = make_application() 6 | -------------------------------------------------------------------------------- /projects/uliweb3/hello/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.bak 3 | local_settings.ini 4 | build 5 | dist 6 | *.egg-info 7 | .idea 8 | _git -------------------------------------------------------------------------------- /projects/uliweb3/hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/hello/README.md -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/hello/apps/Hello/README.md -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/hello/apps/Hello/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/templates/template.html: -------------------------------------------------------------------------------- 1 |

    Hello, Uliweb

    -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/templates/template1.html: -------------------------------------------------------------------------------- 1 |

    Hello, {{=content}}

    2 | -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/Hello/views.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from uliweb import expose, functions 3 | 4 | @expose('/') 5 | def index(): 6 | return '

    Hello, Uliweb

    ' 7 | 8 | @expose('/template') 9 | def template(): 10 | return {} 11 | 12 | @expose('/template1') 13 | def template1(): 14 | return {'content':'Uliweb'} 15 | -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.1' 2 | __url__ = '' 3 | __author__ = '' 4 | __email__ = '' -------------------------------------------------------------------------------- /projects/uliweb3/hello/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = False 3 | DEBUG_CONSOLE = False 4 | DEBUG_TEMPLATE = False 5 | 6 | #INSTALLED_APPS = [ 7 | # 'uliweb.contrib.staticfiles', 8 | # 'uliweb.contrib.template', 9 | # 'uliweb.contrib.upload', 10 | # 'uliweb.contrib.orm', 11 | # 'uliweb.contrib.session', 12 | # 'uliweb.contrib.cache', 13 | # 'uliweb.contrib.auth', 14 | # 'uliweb.contrib.i18n', 15 | # 'uliweb.contrib.flashmessage', 16 | # ] -------------------------------------------------------------------------------- /projects/uliweb3/hello/doc/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/hello/requirements.txt: -------------------------------------------------------------------------------- 1 | uliweb 2 | plugs -------------------------------------------------------------------------------- /projects/uliweb3/hello/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_simple_application 8 | application = make_simple_application(project_dir=path) 9 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/.gitignore: -------------------------------------------------------------------------------- 1 | database.db -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/app.yaml: -------------------------------------------------------------------------------- 1 | application: uliweb 2 | version: 1 3 | api_version: 1 4 | runtime: python 5 | 6 | handlers: 7 | - url: /.* 8 | script: gae_handler.py -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.orm', 7 | 'todo', 8 | ] 9 | 10 | [SITE] 11 | SITE_NAME = '任务跟踪' 12 | EMAIL = 'limodou@gmail.com' 13 | 14 | [ORM] 15 | CONNECTION = 'sqlite:///database.db' 16 | AUTO_CREATE = False 17 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | todo = 'todo.models.Todo' 3 | test = 'todo.models.Test' 4 | test1 = 'todo.models.Test1' 5 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/bg_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/bg_1.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/email.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/home.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/msn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/msn.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/qq.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/simple_todo/apps/todo/static/styles/index/images/website.png -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/templates/Todo/edit.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block content}} 4 |
    5 |

    修改

    6 |
    7 |

    8 | 9 |

    10 |
    11 |
    12 | {{end}} 13 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/templates/error.html: -------------------------------------------------------------------------------- 1 | {{extend "layout.html"}} 2 | 3 | {{block content}} 4 |
    5 |

    6 | 出错了!{{=message}} 7 |

    8 |

    9 | 返回 | 10 | 首页 11 |

    12 |
    13 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{=settings.SITE.SITE_NAME}} 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 15 |
    16 | {{block content}}{{end}} 17 |
    18 |
    19 | Copyright© {{=settings.SITE.SITE_NAME}} 作者: {{=settings.SITE.EMAIL}} 20 |
    21 |
    22 | 23 | 24 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/apps/todo/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | apps_dir = os.path.join(path, 'apps') 10 | 11 | from flup.server.fcgi import WSGIServer 12 | from uliweb.manage import make_application 13 | app = make_application(apps_dir=apps_dir) 14 | WSGIServer(app).run() 15 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/gae_handler.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | import wsgiref.handlers 3 | from uliweb.manage import make_application 4 | 5 | path = os.path.dirname(__file__) 6 | if path not in sys.path: 7 | sys.path.insert(0, path) 8 | apps_dir = os.path.join(path, 'apps') 9 | 10 | application = make_application(False, apps_dir, debug_console=False) 11 | wsgiref.handlers.CGIHandler().run(application) 12 | -------------------------------------------------------------------------------- /projects/uliweb3/simple_todo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | apps_dir = os.path.join(path, 'apps') 7 | 8 | from uliweb.manage import make_application 9 | application = make_application(apps_dir=apps_dir) 10 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/settings.ini: -------------------------------------------------------------------------------- 1 | [GLOBAL] 2 | DEBUG = True 3 | 4 | INSTALLED_APPS = [ 5 | 'uliweb.contrib.staticfiles', 6 | 'uliweb.contrib.flashmessage', 7 | 'uliweb.contrib.orm', 8 | 'uliweb.contrib.upload', 9 | 'uliweb.contrib.generic', 10 | 'test', 11 | #'uliweb.contrib.dbupload', 12 | ] 13 | 14 | [UPLOAD_TEST] 15 | TO_PATH = './uploads_test' 16 | BUFFER_SIZE = 4096 17 | FILENAME_CONVERTER = 18 | BACKEND = 19 | X_SENDFILE = None 20 | X_HEADER_NAME = '' 21 | X_FILE_PREFIX = '/files' 22 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limodou/uliweb-doc/276db79d9a70517d7321bbecb6e02c882ee6af3d/projects/uliweb3/upload_demo/apps/test/__init__.py -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/conf.py: -------------------------------------------------------------------------------- 1 | from uliweb.form import * 2 | 3 | #class ManageForm(Form): 4 | # debug_log = BooleanField(label='Debug Log:', key='ORM/DEBUG_LOG') 5 | # auto_create = BooleanField(label='Auto Create Table:', key='ORM/AUTO_CREATE') 6 | # connection = StringField(label='Database Connection String:', required=True, key='ORM/CONNECTION') 7 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/info.ini: -------------------------------------------------------------------------------- 1 | [info] 2 | catalog = '' 3 | title = '' 4 | description = '' 5 | icon = '' 6 | author = '' 7 | version = '' 8 | homepage = '' 9 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/models.py: -------------------------------------------------------------------------------- 1 | from uliweb.orm import * 2 | 3 | class File(Model): 4 | filename = Field(FILE, upload_to_sub='test') -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/settings.ini: -------------------------------------------------------------------------------- 1 | [MODELS] 2 | file = 'test.models.File' -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/static/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store static files. -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/edit.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 | {{<< form}} 5 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Upload Form 5 | 6 | 7 |

    出错啦!

    8 |
    9 |

    {{=message}}

    10 |

    点击这里回退

    11 |
    12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Upload Form 5 | 6 | 7 | {{block content}} 8 | {{from uliweb import functions}} 9 | {{for f in objects:}} 10 |
  • {{<< functions.get_url(f.slug)}} Delete
  • 11 | {{pass}} 12 | {{<< form}} 13 | {{end}} 14 | 15 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/list.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 |

    5 | 上传文件 6 |

    7 | {{for row in objects:}} 8 |
  • {{<< functions.get_url(row.filename)}} Edit Delete
  • 9 | {{pass}} 10 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/readme.txt: -------------------------------------------------------------------------------- 1 | This directory is used to store template files. -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/apps/test/templates/upload.html: -------------------------------------------------------------------------------- 1 | {{extend "index.html"}} 2 | 3 | {{block content}} 4 | {{<< form}} 5 | {{end}} -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/fcgi_handler.fcgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #coding=utf-8 3 | 4 | import os, sys 5 | 6 | path = os.path.dirname(os.path.abspath(__file__)) 7 | if path not in sys.path: 8 | sys.path.insert(0, path) 9 | 10 | from flup.server.fcgi import WSGIServer 11 | from uliweb.manage import make_application 12 | app = make_application(project_dir=path) 13 | WSGIServer(app).run() 14 | -------------------------------------------------------------------------------- /projects/uliweb3/upload_demo/wsgi_handler.py: -------------------------------------------------------------------------------- 1 | import sys, os 2 | 3 | path = os.path.dirname(os.path.abspath(__file__)) 4 | if path not in sys.path: 5 | sys.path.insert(0, path) 6 | 7 | from uliweb.manage import make_application 8 | application = make_application(project_dir=path) 9 | --------------------------------------------------------------------------------