New version 1.4.0 + new homepage

80 views
Skip to first unread message

Peter Širka

unread,
May 4, 2014, 7:17:13 AM5/4/14
to tot...@googlegroups.com
I publish new version v1.4.0

- added: new global methods: INCLUDE() - framework.source(), SOURCE() - framework.source(), MODEL(name) -> framework.model(), MODULE(name) -> framework.module(), DATABASE() -> framework.database()
- added: unauthorize flag
- added: config['allow-compress-html'] (default: true)
- added: controller.language (read from request.language)
- added: framework sets response['Content-Length'] for some static files

- updated: debug.js (added "source")

- fixed: View not found (message includes full filename)
- fixed: @{ngFilter()}
- fixed: routing priority
- fixed: config['allow-gzip']
- fixed: utils.decode()
- fixed: utils.request()

- renamed: String.prototype.link([max]) to -> String.prototpye.linker([max])




Framework has a new homepage (responsive):

Hasan A Yousef

unread,
May 5, 2014, 2:18:08 AM5/5/14
to tot...@googlegroups.com
The new home page looks awesome :)

riccardo...@gmail.com

unread,
May 5, 2014, 3:58:32 AM5/5/14
to tot...@googlegroups.com
Hello! I'm writing you to report a bug in the new version :(

The new config "allow-compress-html" when setted to false raise this error:

SyntaxError: Unexpected token ILLEGAL SyntaxError: Unexpected token ILLEGAL
at view_parse (C:\nodeweb\node_modules\total.js\internal.js:1:25661)
at View.read (C:\nodeweb\node_modules\total.js\internal.js:2:827)
at View.load (C:\nodeweb\node_modules\total.js\internal.js:2:1271)
at Object.exports.generateView (C:\nodeweb\node_modules\total.js\internal.js
:2:2885)
at Object.Controller.view (C:\nodeweb\node_modules\total.js\index.js:5:6286)

at Object.Controller.view (C:\nodeweb\node_modules\total.js\index.js:5:8071)

at Object.getCarto (C:\nodeweb\controllers\carto.js:51:7)
at Subscribe._execute (C:\nodeweb\node_modules\total.js\index.js:3:23791)
at Array.async (C:\nodeweb\node_modules\total.js\utils.js:1:30592)
at Object._onImmediate (C:\nodeweb\node_modules\total.js\utils.js:1:30660)
--------------------------------------------------------------------

I hope it helps!

Peter Širka

unread,
May 5, 2014, 6:42:38 AM5/5/14
to
Hi Hasan,
many thanks!

Hi Riccardo,
I'll test it today :-/

Peter Širka

unread,
May 5, 2014, 7:28:11 AM5/5/14
to tot...@googlegroups.com, riccardo...@gmail.com
Riccardo can you send me your view (petersirka(at)gmail(dot)com)?
I tested it and all works.

Thanks.

Julien

unread,
May 16, 2014, 2:15:22 PM5/16/14
to tot...@googlegroups.com, riccardo...@gmail.com
Nice Homepage !
Good job.
Reply all
Reply to author
Forward
0 new messages