marcinwrochna / www-app Goto Github PK
View Code? Open in Web Editor NEWOld app from code.google.com/p/www-app
Home Page: http://warsztatywww.nstrefa.pl
License: MIT License
Old app from code.google.com/p/www-app
Home Page: http://warsztatywww.nstrefa.pl
License: MIT License
== Installation == === Requirements === PHP >= 5.2 - required to support enums and database magic syntax. PHP extensions: curl,json,pgsql,hash,gettext PostgreSQL >= 9? - while it should be easy to modify db/postgresql.php, I only test on pg, so some queries might require modification if you use another DBMS. CGI and Perl for latex and upload status bar (TODO give sane fallbacks for those, and maybe use some better methods - mimetex isn't beautiful, jsmath matured very much, uber-upload is uber-complicated, TinyMCE now features a HTML upload handler). === Configuration === Create a database and fill it with install.sql. Fill config.php.template and move to "config.php". You should probably try to minimalize its chmod. Run the application and login as root. You can create an account for you or change root's name and login. Check the options in menu->administration->options. == Utilities == === internationalization === Standard gettext is used, with two additional string-sources to parse. Strings to be translated are either: - passed directly to the _(), N_() functions, - enclosed in double brackets {{string}}, or - defined in a parseTable column with a t modifier. When you add/change a string to be translated, run cd locale; php updateTranslations.php; and edit the .po files, prefferably with an editor like poEdit (poedit will automatically compile to a .mo file). poedit locale/pl_PL/LC_MESSAGES/messages.po You may have to restart Apache when loading a new translation! (segfaults otherwise) service httpd restart === icons map === Whenever you add/edit an icon in images/icons/, run cd images; ./mapIcons.py This is to avoid making many request for all the small icons, they're merged in one file by mapIcons.py. In code use getIcon() to display the icons. For details see mapIcons.py. == License == The code is licensed under the MIT license (without additional clauses). As permissive as it is, if you're still unwilling to comply, I probably won't sue you ;), I only expect you to kindly send an e-mail to mwrochna+www at gmail so I know my work is of some use. PHP/HTML/JS components used: - the WYSIWIG editor - TinyMCE - LGPL - http://www.tinymce.com/ - oauth and smtp library - Zend Framework - new BSD - http://framework.zend.com/wiki/display/ZFDEV/Subversion+Standards#SubversionStandards-AnonymousCheckout CGI components used: - simple latex rendering - mimetex.cgi - GPL - ? - upload status bar - uber-upload - GPLv3 - http://uber-uploader.sourceforge.net/ Icons: - most icons - FatCow - CC-A-3.0 - http://www.fatcow.com/free-icons/ - some smaller icons - twotiny - Artisitc/GPL - http://code.google.com/p/twotiny/
Related commit: ac3a02e327b8
Original issue reported on code.google.com by [email protected]
on 23 May 2013 at 3:56
Related commit: 0bd1bbc9b9ec
Original issue reported on code.google.com by [email protected]
on 21 May 2013 at 7:50
Related commit: fd3d2f88105b
Original issue reported on code.google.com by [email protected]
on 22 May 2013 at 8:44
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.