Compare commits

...

2141 Commits

Author SHA1 Message Date
mdipierro
aca3d43f0a R-2.4.6 2013-04-06 12:12:32 -05:00
mdipierro
5a898cc80a fixed Issue 1406:Table scrollbar problem in IE, thanks czhang2000 2013-04-06 11:13:31 -05:00
mdipierro
bfb3a320bd comment about incompatibility of GAE static mapping and parametric router syntax, thanks Jonathan 2013-04-06 10:14:38 -05:00
mdipierro
c0b1e387b1 fixed Issue 1409:Mail.send defaults for subject, message appear to be wrong 2013-04-06 10:10:37 -05:00
mdipierro
c175e6340d Issue 1415:Untranslated label for SQLFORM 'Check to delete' checkbox, thanks Dmitry 2013-04-06 10:06:27 -05:00
mdipierro
3a5f7b05df attempt to address issue 1424 2013-04-06 10:02:55 -05:00
mdipierro
26babd7e96 fixed Issue 1416:auth.wiki login loop unless the user is admin, thanks Alan 2013-04-06 09:52:42 -05:00
mdipierro
349088a96e fixed Issue 1428:backslash in edit controller URL, thanks Frank 2013-04-06 09:48:51 -05:00
mdipierro
a4ff77bdb9 fixed Issue 1430:options_std.py ssl_certificate and ssl_private_key default value broken on web2py 2.4.5, thanks wprins 2013-04-06 09:44:16 -05:00
mdipierro
8f70d3a802 fixed Issue 1431:Typo in web2py documentation, thanks dabweather.FBI 2013-04-06 09:42:37 -05:00
mdipierro
89021b6409 fixed Issue 1432:Oracle: invalid SQL generated when requires = IS_NOT_IN_DB, thanks jphillips 2013-04-06 09:40:07 -05:00
mdipierro
4a078705b3 fixed issue 1246 with a nested select 2013-04-06 09:38:16 -05:00
Massimo
6eea834777 fixed bug in scheduler context switch, thanks Niphlod 2013-04-05 16:01:13 -05:00
mdipierro
0f0a62ef7f possible fix for Issue 1426:Count(*) query is incorrect when SQLFORM.grid() contains groupby parameter, thanks daveshih01 2013-04-04 21:11:19 -05:00
mdipierro
cc8a21aedf document better the -X option, thanks Niphlod 2013-04-03 16:49:15 -05:00
mdipierro
38fff6fb91 better reporting in scheduler, thanks Niphlod 2013-04-03 16:42:27 -05:00
mdipierro
e87a2bf0d5 populate(...contents), thanks Vinicius 2013-04-03 14:46:13 -05:00
mdipierro
6b3cdb5a99 fixed string concatenation in MySQL 2013-04-03 11:32:17 -05:00
mdipierro
e2191175da smarter CONTAINS and REPLACE 2013-04-03 09:50:28 -05:00
Massimo
4a7f15bb04 fixed typo in examples page 2013-04-02 16:15:26 -05:00
mdipierro
e6c58c3c6f Issue 1425:Check NoSQL, not GAE or Mongo, thanks Alan 2013-04-02 11:22:53 -05:00
mdipierro
bb2407b468 interfear->interfere, thanks Ramos 2013-04-02 11:21:15 -05:00
mdipierro
07e809acb3 app pack custom 2013-04-02 11:12:40 -05:00
mdipierro
7714b5dc7b remove un-necessary checks 2013-04-01 19:18:56 -05:00
mdipierro
ca85d9adab Issue 1418:Enhancement - SQLFORM.grid param. to change selectable option's submit button text, thanks bpeterso2013 2013-04-01 14:39:20 -05:00
mdipierro
41a9f12024 fixed Issue 1419:Using a recursive select but encountered a broken reference (versioning and auth.signature) 2013-04-01 14:36:14 -05:00
mdipierro
669691bbea Issue 1423:smartgrid multiple links to related table - how to suppress all but one, thanks cjkske 2013-04-01 14:14:41 -05:00
mdipierro
6ac38e7c56 fixed Issue 1414:Error with ldap_auth and using allowed_groups against AD 2008, thnaks Peter Gastinger 2013-04-01 12:45:09 -05:00
mdipierro
359758804b fixed contains(field) in postgresq for list:string 2013-04-01 09:32:44 -05:00
mdipierro
9400a0c7a1 fixed spanish translation, thanks neoecos 2013-03-31 19:14:17 -05:00
mdipierro
ea34d1b3a0 fixed issue 1422, rss serializer encoding, thanks neoecos 2013-03-31 19:11:31 -05:00
mdipierro
72e9921901 fixed problem with hideerror, thanks Ricardo 2013-03-31 19:09:27 -05:00
mdipierro
d6af8279bc Merge pull request #68 from mictee/any_of_validator
Added an ANY_OF validator
2013-03-31 16:17:48 -07:00
mdipierro
cd005b01c0 Merge pull request #69 from grutz/IS_IPV6
Adds IS_IPV6() validator using Google ipaddr.py library
2013-03-31 16:16:50 -07:00
mdipierro
fa04c23bbf Merge branch 'master' of github.com:web2py/web2py 2013-03-31 18:15:41 -05:00
mdipierro
6ecc09f286 Merge pull request #70 from gokceneraslan/patch-1
Render form content instead
2013-03-31 16:14:53 -07:00
mdipierro
4b0f6aff73 better Expose 2013-03-31 15:32:15 -05:00
Gökçen Eraslan
c451f57d4e Render form content instead 2013-03-29 22:25:39 +01:00
Kurt Grutzmacher
721cb2b90a Adds IS_IPV6() validator using Google ipaddr.py library
ipaddr.py library rev/3144 has been approved as a standard python
library for python3. IS_IPV4() was not modified to use the library.
2013-03-29 08:55:06 -07:00
mdipierro
01d5302a2d no more bzr 2013-03-29 02:31:41 -05:00
mdipierro
706324b9c6 cleanup of whitespaces in scripts 2013-03-29 02:30:15 -05:00
mdipierro
244d3c68eb fixed newlines 2013-03-29 02:13:35 -05:00
mdipierro
fcfa8aa917 added common_filter tests 2013-03-29 02:08:41 -05:00
mdipierro
8438a432e9 fixed issue 1405, ORDERBY and mssql, thanks Niphlod 2013-03-28 15:18:44 -05:00
mdipierro
9d5e0b24f7 Merge pull request #66 from mictee/arch_run_script
Improved process handling an error handling in web2py.archlinux.sh
2013-03-28 13:09:40 -07:00
mdipierro
4480acd6f7 Merge pull request #67 from michele-comitini/master
avoid ordering on limitby
2013-03-28 13:05:09 -07:00
mdipierro
cd1ce28639 encoding in mail.send, thanks Jonathan 2013-03-28 14:59:06 -05:00
mdipierro
bf5fbd8b09 fixed issue 1411, list of vars when using radiowidget, thanks Dmitry Mosin 2013-03-28 14:46:31 -05:00
mdipierro
515e284c22 issue 1412, common_filters and joins, thanks Felipe Merelles 2013-03-28 14:44:32 -05:00
mictee
f98548827a Added an ANY_OF validator that allows a value to be valid according to any of a list of validators. 2013-03-26 17:24:19 +01:00
Michele Comitini
b67e57f275 avoid ordering on limitby 2013-03-26 15:30:53 +01:00
mictee
7005fb655c Improved process handling an error handling in web2py.archlinux.sh 2013-03-26 13:47:41 +01:00
mdipierro
b9189771d0 fixed mongodb issue 1401 and improvements, thanks Alan 2013-03-25 15:27:45 -05:00
mdipierro
b15211064d fixed NoSQL Json, thanks Alan 2013-03-25 15:25:29 -05:00
Massimo
30ea9ac56b fixed cache and it.py, thanks Niphlod 2013-03-22 15:38:05 -05:00
Massimo
dab4950f14 fixed cs BOM hopefully 2013-03-22 15:37:00 -05:00
Massimo
0fce3655d5 enabling test_web tests in travis, thanks Niphlod 2013-03-21 15:10:32 -05:00
Massimo
91504fbc2c better test_web.py, thanks Niphlod 2013-03-21 12:04:39 -05:00
Massimo
4b17684980 fixed issue 1397, fixed CHAR_LENGTH in Firebird thanks Villas 2013-03-21 11:29:31 -05:00
Massimo
675245eb15 fixed issue 1398, brackets in libspatialite load extension, thanks rmdpedroso 2013-03-21 11:21:53 -05:00
mdipierro
3494fa2d0d changed the logic behind tz 2013-03-18 22:48:52 -05:00
mdipierro
87a593845c added a test, thanks Jonathan 2013-03-18 22:03:39 -05:00
Massimo
b9d80fcdc7 R-2.4.5 2013-03-18 17:37:49 -05:00
Massimo
3f7d085f73 fixed timezone and textarea default width 2013-03-18 17:34:06 -05:00
Massimo
d57dd72780 upgraded fpdf, better tests, passes travis.ci tests, thanks Niphlod 2013-03-18 16:59:57 -05:00
Massimo
a8d1d5cfcf upgraded fpdf, better tests, passes travis.ci tests, thanks Niphlod 2013-03-18 16:52:47 -05:00
mdipierro
8857e3d521 IS_DATE/DATETIME/etc. (timezone=user_timezone in hrs) 2013-03-17 18:53:19 -05:00
mdipierro
3b1a5be1be fixed (possibly) truncate for GAE 2013-03-17 15:27:47 -05:00
mdipierro
c9a63a8524 fixed issue 1393, cast_keys in dict for python 2.5 support, thanks Alan and Niphlod 2013-03-17 12:11:10 -05:00
mdipierro
cd967d2551 new travis.ci 2013-03-16 20:53:24 -05:00
mdipierro
92b5247f9f typo Fir(e)bird, thanks Jonathan 2013-03-15 21:27:52 -05:00
mdipierro
45a5b436c8 patched fpdf for 2.5, thanks Niphlod 2013-03-15 15:28:50 -05:00
mdipierro
bfd385f969 travis badge in README, thanks niphlod 2013-03-15 15:12:01 -05:00
mdipierro
f693fe6b2a added .travis.yml 2013-03-15 14:55:36 -05:00
mdipierro
b040159a9b fixed issue 1385, thanks Alan 2013-03-15 14:14:40 -05:00
mdipierro
f3af2a1999 fixed issue 1382, sanitizer accepts mailto, thanks lightdot 2013-03-15 10:17:33 -05:00
mdipierro
f613a4cc99 wiki.settings, thanks Alan 2013-03-15 10:14:33 -05:00
mdipierro
e4a96125a6 fixed issue 1390, dateTtime separator in MSSQL, thanks score2000 2013-03-15 10:05:52 -05:00
mdipierro
e48074ff54 fixed issue 1391, sub for decimal 2013-03-15 10:00:45 -05:00
mdipierro
2ed122a534 fixed typo, thank you Philipp Storz 2013-03-15 09:49:46 -05:00
mdipierro
65c0d9b18b italian patch 2013-03-15 09:46:55 -05:00
mdipierro
6702694590 fixed slidetoggle boxes in new admin, thanks Annet and Niphlod 2013-03-15 09:44:22 -05:00
mdipierro
6f0d4d039e fixed upload default values, thanks Marin Pranjic 2013-03-15 09:38:47 -05:00
mdipierro
1325b0e48f Merge pull request #65 from michele-comitini/master
HTTP exceptions in jsonrpc2
2013-03-15 07:25:55 -07:00
Michele Comitini
7421eb8068 avoid treating HTTP redirections or status codes generated in jsonrpc2 functions as error exceptions 2013-03-14 21:54:38 +01:00
Michele Comitini
6c7a9a4030 avoid treating HTTP redirections or status codes generated in jsonrpc2 functions as error exceptions 2013-03-14 21:49:05 +01:00
Massimo
ba0a143717 scheduler patch allows termination of tasks, thanks niphlod 2013-03-12 10:40:57 -05:00
mdipierro
28bcb5ed6c added sessions in cookie for examples 2013-03-11 18:12:01 -05:00
mdipierro
44fd637a1f R-2.4.4 2013-03-11 15:26:36 -05:00
mdipierro
f13aed1a84 R-2.4.3 2013-03-11 14:41:10 -05:00
mdipierro
cb3de825f2 /examples/default/version/raw 2013-03-11 14:38:04 -05:00
mdipierro
fd4c775710 split->partition, thanks Ricardo 2013-03-11 14:28:48 -05:00
mdipierro
3e550b3e97 Merge branch 'master' of github.com:web2py/web2py 2013-03-11 14:25:01 -05:00
mdipierro
7a543250f9 Merge pull request #64 from michele-comitini/master
uwsgi doen't like unicode headers
2013-03-11 12:24:38 -07:00
mdipierro
a071f07634 fixed issue with version 2013-03-11 14:22:40 -05:00
Michele Comitini
a078f860d2 basic auth header changed to string from unicode 2013-03-11 18:42:00 +01:00
mdipierro
2bfd7a2467 fixed issue 1327, breadcrumbs in smartgrid 2013-03-11 11:10:45 -05:00
mdipierro
55c9392de4 fixed ccache, issue 1377 2013-03-11 10:22:40 -05:00
mdipierro
7991b555ff fixed some style issues 2013-03-11 10:01:03 -05:00
mdipierro
eab7815c24 Merge pull request #63 from michele-comitini/master
rfc basic auth challenge
2013-03-11 07:46:29 -07:00
mdipierro
79c09de103 fixed download bug 2013-03-11 09:45:20 -05:00
mdipierro
24daa335b6 examples uses cookie based sessions 2013-03-11 08:50:01 -05:00
Michele Comitini
812ba9d52b docstring improved 2013-03-11 14:40:34 +01:00
mdipierro
00fb3b56cc fixed some links 2013-03-11 08:25:44 -05:00
Michele Comitini
3644d081f6 rfc compliant basic auth 2013-03-11 13:13:08 +01:00
mdipierro
f05c46b3f1 partially fixed alignment in examples 2013-03-11 01:02:31 -05:00
mdipierro
13e76fe278 removed sitemap 2013-03-11 00:58:14 -05:00
mdipierro
0906ae28c1 no more plugin wiki 2013-03-10 22:12:46 -05:00
mdipierro
04905adb89 new examples based on bootstrap. no more skeleton.css 2013-03-10 21:58:50 -05:00
mdipierro
9767109d4e changed retrieve again 2013-03-10 17:40:36 -05:00
mdipierro
a57919bc4d share widget 2013-03-10 17:08:43 -05:00
mdipierro
c7c94d1f8f added image 2013-03-10 17:04:53 -05:00
mdipierro
817e6c3313 changed header of example... should move examples to bootstrap 2013-03-10 16:55:47 -05:00
mdipierro
a23f4c5c88 Merge branch 'master' of github.com:web2py/web2py 2013-03-10 15:58:24 -05:00
mdipierro
eac9768549 Merge pull request #62 from michele-comitini/master
jsonrpc-2.0
2013-03-10 13:58:18 -07:00
mdipierro
a42fb6b558 Merge branch 'master' of github.com:web2py/web2py 2013-03-10 15:57:17 -05:00
mdipierro
879e825b61 Merge pull request #61 from clach04/master
Improved Ingres support, no longer needs IngresDBI, uses pyodbc instead
2013-03-10 13:56:55 -07:00
mdipierro
07f4310153 questions in examples 2013-03-10 15:45:15 -05:00
mdipierro
10c67e5be3 google group, no chat 2013-03-10 13:05:58 -05:00
mdipierro
1279d5ddaa added codemirror link, thanks Niphlod 2013-03-10 12:55:22 -05:00
mdipierro
2af15e4b27 fixed help link again 2013-03-10 12:51:09 -05:00
mdipierro
3096fcf045 chat in admin 2013-03-10 12:48:04 -05:00
mdipierro
831492448a a2enmod wsgi in ubuntu setup script, thanks badweather.FBI 2013-03-10 11:38:36 -05:00
mdipierro
a5284e846c DIV(...,data=dict(action='whatever') 2013-03-10 11:27:13 -05:00
mdipierro
22accaced3 cache.client 2013-03-10 11:14:30 -05:00
mdipierro
f92d97f36e fixed bug in encode/decode, thanks Jonathan 2013-03-10 11:06:20 -05:00
mdipierro
4f0a16a24c fixed flash 2013-03-10 11:04:43 -05:00
mdipierro
72dade793a attempt to support unicode in IT_MATCH 2013-03-10 10:45:29 -05:00
mdipierro
8addc54015 better cron stopping, thanks Álvaro José Iradier 2013-03-10 10:21:47 -05:00
mdipierro
25ab6f9a07 better twitter feed display 2013-03-10 09:10:30 -05:00
mdipierro
b853f72e0c possibly fixed size spike in uploads in grid, thanks Ricardo 2013-03-10 08:25:54 -05:00
mdipierro
449a658521 fixed GAE to better support ustom_qualifier, thanks cfhowes 2013-03-10 08:19:28 -05:00
mdipierro
7776a22533 fixed Ingres constr typo, thanks Chris Clark 2013-03-10 07:54:44 -05:00
Michele Comitini
554eccc14a fixed request missing current prefix causing wrongly handled exceptions. 2013-03-09 21:29:06 +01:00
Michele Comitini
8cd6928da3 Revert "fixed request missing current prefix causing wrongly handled exceptions."
This reverts commit 8c28be1041.
Removed NEWINSTALL by error.
2013-03-09 21:21:26 +01:00
Michele Comitini
8c28be1041 fixed request missing current prefix causing wrongly handled exceptions. 2013-03-09 21:16:58 +01:00
mdipierro
810aa8f4f3 noconfirm in grid, thanks Niphlod 2013-03-09 09:36:17 -06:00
mdipierro
8e5be952bf fixed alignment in admin tooltips, thanks Paolo 2013-03-09 09:34:27 -06:00
mdipierro
5a560fee8a cleaned up examples/controller/global.py 2013-03-09 00:17:56 -06:00
clach04
21819ffc5d Remove dependency on IngresDBI, use pyodbc instead for Ingres/Vectorwise support. 2013-03-08 18:09:41 -08:00
mdipierro
1f8bdd6061 fixed search in design 2013-03-08 19:22:51 -06:00
Massimo
523c813439 fixed some layout problems 2013-03-08 16:30:11 -06:00
mdipierro
7ee638bc36 Merge pull request #60 from michele-comitini/master
oauth 2 fixes
2013-03-08 10:13:17 -08:00
mdipierro
76c515d3af Merge pull request #59 from pyner/patch-1
Update gluon/globals.py
2013-03-08 10:11:50 -08:00
Massimo
1c8ce00657 reverted recent change to retrieve, thanks Anthony for pointing out why the original correct is better than the 'fixed' one 2013-03-08 12:06:05 -06:00
Michele Comitini
0f4bbecd2a Merge with upstream 2013-03-08 18:36:52 +01:00
Michele Comitini
e292f5a869 removed http_x_forwarded for until a better solution is found. 2013-03-08 18:36:06 +01:00
Massimo
da25c6f843 fixed CONTAINS (again) 2013-03-08 10:19:13 -06:00
Massimo
5122fbe110 fixed issue 1366, minor rewrite in retrieve, thanks Dominic 2013-03-08 10:16:48 -06:00
Massimo
dee3a3b655 fixed issue 1358, himBH>jQuery, thanks FeDjango 2013-03-08 10:06:03 -06:00
mdipierro
4e2bcd22d9 added cheatsheet 2013-03-06 12:37:44 -06:00
mdipierro
17890027a6 fixed issue 1357, date/datetime serialization in as_dict, thanks Alan 2013-03-06 12:31:39 -06:00
mdipierro
5e93804525 fixed issue 1359, typo in dal custom qualifier, thanks Vincenzo 2013-03-06 12:28:48 -06:00
mdipierro
778070dd8a fixed issue 1361, typo in contains, thanks Villas 2013-03-06 12:27:06 -06:00
mdipierro
74ecc762f3 fixed issue 1363, failsafe when languages folder does not exist, thanks Roberto 2013-03-06 12:24:30 -06:00
mdipierro
63f7b35cf8 fixed issue 1364, unicode in emails, thanks Corne 2013-03-06 12:21:22 -06:00
Massimo
0c3f4601cc 5th edition book link 2013-03-05 14:29:54 -06:00
mdipierro
9f0760c887 2.4.2 2013-03-03 21:23:16 -06:00
mdipierro
6d787d3e7e fixed typo in keyed tables, thanks Denes 2013-03-03 13:49:44 -06:00
mdipierro
f79b04884c dal parse_date should always return date, issue 1344, thanks Niphlod 2013-03-02 12:56:12 -06:00
mdipierro
23af844d5b added content-type entries, thanks Niphlod 2013-03-02 12:54:36 -06:00
mdipierro
ea7d82acf9 auth.accessible_query(query or set), isue 1356, thanks Alan 2013-03-02 12:52:22 -06:00
mdipierro
f492148958 cs language no BOM, thanks David 2013-03-02 11:29:55 -06:00
mdipierro
8414e638ec fixed problem with keyed tables, thanks Denes 2013-03-02 09:18:04 -06:00
Massimo
0193db35b6 added Czech, thanks you David Herman 2013-03-01 12:46:20 -06:00
mdipierro
b891723bab Form serialization enhancement, issue 1351, thanks Alan 2013-02-27 09:53:36 -06:00
mdipierro
1d8aa5672e re-synced plugin mobile, just in case 2013-02-27 09:48:06 -06:00
Massimo
0def24381e more attributes in virtual fields, thanks Donatas Burba 2013-02-26 11:40:59 -06:00
mdipierro
b441e99e95 fixed has_membership True for invalid groups 2013-02-25 23:19:55 -06:00
mdipierro
40ceb92195 experimental patch to disable automatic GAE indexing, thanks howesc 2013-02-23 14:51:45 -06:00
mdipierro
38cac5dd58 no more xxx, thanks Howesc 2013-02-22 18:45:26 -06:00
mdipierro
b64bf54f3e fixed keyed table issue, thanks Denes 2013-02-22 10:18:59 -06:00
Massimo
5d9fc2e9af fixed issue VirtualFields in select options 2013-02-21 10:21:31 -06:00
Massimo
9c970632c5 scheduler patch, thanks Niphlod 2013-02-21 10:16:30 -06:00
Massimo
58c32f5a05 patch for sanitizer allowed tags, thanks Alan 2013-02-21 09:58:28 -06:00
Massimo
8961060461 issue 1350, enhance form serialization for services/json output, thanks Alan 2013-02-21 09:45:16 -06:00
Massimo
5f290544e0 writedoc.py 2013-02-20 10:38:02 -06:00
mdipierro
7f4dc7ed42 added logging in db._lastsql the CREATE TABLE 2013-02-18 13:54:10 -06:00
pyner
101b74398f Update gluon/globals.py
typescript support (http://www.typescriptlang.org/)
2013-02-18 14:36:12 -05:00
mdipierro
a36366ac61 changed in requires which may have fixed issue 1330 2013-02-17 21:30:21 -06:00
mdipierro
55afa0f31d upgraded fpdf to 1.7.1 2013-02-17 11:28:02 -06:00
mdipierro
892471d8e5 fixed issue 1340, bugs in as_dict, thanks Alan 2013-02-17 09:49:44 -06:00
mdipierro
4334ae38ed fixed issue 1339, faster IS_NOT_IN_DB 2013-02-17 01:00:01 -06:00
mdipierro
be2ef9b626 fixed issue 1336 again 2013-02-16 10:00:35 -06:00
mdipierro
954e84db3c reverting change to issue 1336 2013-02-16 09:31:47 -06:00
mdipierro
8e63c8f937 using google for QR codes, thanks 黄祥 2013-02-16 09:15:26 -06:00
mdipierro
93f26540e6 allow component that do not reload, thanks Niphlod 2013-02-15 17:33:55 -06:00
mdipierro
08150f3a9d fixed issue 1337, as_dict(...,field_options=True), thanks Alan 2013-02-15 17:29:00 -06:00
mdipierro
c9ad41288f uri not None, issue 1336, thanks Anthony 2013-02-15 17:25:58 -06:00
mdipierro
46d3fd92c9 _insert_empty, thanks Alan 2013-02-15 17:24:37 -06:00
Massimo
564f07e354 IS_EXPR(lambda value: None(=) 2013-02-15 10:51:30 -06:00
Massimo
5618350c0b added web2py.gif, thanks Niphlod 2013-02-14 17:34:04 -06:00
Massimo
77808c958c web2py icon in ubuntu, thanks Niphlod 2013-02-14 16:10:57 -06:00
Massimo
c121589499 fixed bug in latest commit, thanks Niphlod 2013-02-14 14:41:52 -06:00
Massimo
18d2cc4f12 fixed issue 1334, thanks Jonathan Bohren 2013-02-14 14:22:46 -06:00
Massimo
50193471d6 better IS_NOT_IN_DB, new scheduler API, after_connection dal callback, thanks Niphlod 2013-02-14 14:15:27 -06:00
mdipierro
7ef19ecf47 allow a dict as uri, issue 1316, thanks Alan 2013-02-13 09:36:07 -06:00
mdipierro
098da4124f fixed yaml import issue 1333, thanks Alan 2013-02-13 09:31:26 -06:00
mdipierro
b39788f883 fixed issue 1331, unkown http_x_forwarded_for, thanks Tyrone 2013-02-13 09:29:47 -06:00
mdipierro
ae803727e9 auth.settings.ondelete='CASCADE', issue 1328 2013-02-13 08:41:31 -06:00
mdipierro
f2dca4698c issue 1325 (hidden->display:none), thanks Anthony 2013-02-13 08:35:42 -06:00
mdipierro
b940837c51 upgraded pypyodbc.py, thanks 江文 <jiangwen365@gmail.com> 2013-02-11 00:26:59 -06:00
mdipierro
481b6455f3 added pypyodbc 2013-02-10 23:28:32 -06:00
mdipierro
b5b3fda329 'user' -> self.settings.function, thanks Vishal Agarwal 2013-02-10 23:22:34 -06:00
mdipierro
a634c055c4 Merge pull request #58 from mwielgoszewski/master
Cryptographic vulnerabilities: Key as IV, insecure HMAC comparison
2013-02-10 15:17:54 -08:00
mdipierro
6a4012bfcc Merge pull request #57 from michele-comitini/master
OAuth 2.0 rfc6749 compliance
2013-02-10 15:15:43 -08:00
mdipierro
befa55d0e1 Merge pull request #56 from jbohren-forks/fix-formstyle-help
Switching style class for auto-generated form help to "help-block"
2013-02-10 15:14:40 -08:00
mdipierro
e31a9005ba Merge branch 'master' of github.com:web2py/web2py 2013-02-10 17:13:43 -06:00
mdipierro
aaa379ead0 Make the menu html serializer pass LI items through as-is (allows for separators), issue github 55, thanks Jonathan Bohren 2013-02-10 17:12:44 -06:00
mdipierro
c31ac85bfa Merge pull request #55 from jbohren-forks/fix-manual-li-in-menu
Make the menu html serializer pass LI items through as-is (allows for separators)
2013-02-10 15:12:15 -08:00
Michele Comitini
33ada924e8 manage https scheme without relying only on wsgi info 2013-02-09 15:06:33 +01:00
Michele Comitini
211462ecbc Merge github.com:web2py/web2py 2013-02-09 02:27:16 +01:00
Massimo
ae12b74620 mysql regexp 2013-02-08 13:01:36 -06:00
Massimo
66c3855e23 id!=None in grid 2013-02-08 12:42:10 -06:00
mdipierro
343f295b6b better parse as rest, thanks Denes 2013-02-07 05:37:14 -06:00
mdipierro
f90dbb9321 fixed custom_import indentation 2013-02-06 17:22:11 -06:00
mdipierro
5ab85ee20e fixed importing of local packages first (I hope) 2013-02-06 11:34:42 -06:00
mdipierro
0c0830c1df added missing files to git 2013-02-06 10:32:02 -06:00
mdipierro
4a8a41de91 if False: import import_all 2013-02-06 10:21:41 -06:00
mdipierro
9afa21cd30 simpler Makefile 2013-02-06 10:12:13 -06:00
mdipierro
d1d3c171fd fixed issue 1321, shorter admin titles, thanks Argetlam Akshet 2013-02-06 09:53:52 -06:00
Massimo
a7c6268d2c unlocking session in download 2013-02-05 13:23:51 -06:00
Massimo
409495cc70 removed pypyodbc test 2013-02-05 10:44:16 -06:00
mdipierro
0460ffdb28 added span and strong to allowed_tags 2013-02-05 08:49:58 -06:00
mdipierro
cbb9a1fdbe added pypyodbc.py, thanks Derek 2013-02-05 08:46:32 -06:00
mdipierro
ba603528d7 grid breadcrumbs uses field.label, not field.name, thanks Michael Beller 2013-02-04 16:45:42 -06:00
mdipierro
9069f06857 fixed cache expiration in grid downloads, thanks Niphlod 2013-02-04 15:12:15 -06:00
mdipierro
8f76efeb2f fixed issue 1320 (http://timelessrepo.com/json-isnt-a-javascript-subset), thanks Alan 2013-02-04 10:03:29 -06:00
mdipierro
4fb8333299 added comments to explain caveats with last commit 2013-02-04 10:01:00 -06:00
mdipierro
6b9d7af4ed passing parameters for contains case_sensitive but often ignored. :-( 2013-02-04 09:55:21 -06:00
mdipierro
7c1f6c2195 optional_args 2013-02-04 09:37:44 -06:00
mdipierro
90f8f223b9 fixed issue 1318, as_yaml, thanks Alan 2013-02-04 09:28:09 -06:00
mdipierro
d06a1a68a0 allow export/import of db models, issue 1316 (experimental), thanks Alan 2013-02-03 09:11:13 -06:00
mdipierro
af7a922cac fixed issue 1315, IE9 layout, thanks Duffy Nicholas 2013-02-03 09:09:18 -06:00
mdipierro
a6d4e2340e reverted last change, better to use wiki.menu 2013-02-01 21:24:30 -06:00
mdipierro
ecdd7f6733 fixed menus in auth.wiki() 2013-02-01 21:16:21 -06:00
mdipierro
d407bdbbbc better scripts/setup-web2py-nginx-uwsgi-on-centos.sh, thanks Alan 2013-01-30 14:25:49 -06:00
mdipierro
ef06262393 returning more info from auth.wiki, thanks Paolo 2013-01-30 12:48:08 -06:00
mdipierro
0328ed49b9 fixed mssql3 groupby/orderby issue, thanks Niphlod. 2013-01-30 12:30:23 -06:00
mdipierro
0719af011b operator serilization in DAL, thanks Alan 2013-01-30 09:45:00 -06:00
mdipierro
14bd35e348 fixed issue 1306 rendering of width in markmin, thanks dickschrauwen 2013-01-30 09:41:41 -06:00
mdipierro
8740fea7c1 allow multiple left joins in grid 2013-01-30 09:29:49 -06:00
Massimo
45969c7628 added note to scripts/setup-web2py-nginx-uwsgi-on-centos.sh, thanks Alan 2013-01-29 16:27:46 -06:00
Massimo
698286dbe0 Query/Set enhancements for client/service apps, thanks Alan 2013-01-29 16:25:10 -06:00
mdipierro
d238b5e86d Row.__delitem__ 2013-01-28 20:48:02 -06:00
Marcin Wielgoszewski
d16b5899e8 never use secret key as an initialization vector 2013-01-27 12:47:19 -05:00
Marcin Wielgoszewski
76b035b800 actually use the constant-time compare function in secure_loads 2013-01-27 12:23:42 -05:00
mdipierro
3bb8d5e235 configurable appadmin graphs, thanks Jose 2013-01-27 10:25:02 -06:00
mdipierro
8fe3934c6e fixed codemirror syntax highlighting, thanks Mariano 2013-01-27 09:59:19 -06:00
mdipierro
ec7c8f0248 added bottom right save button in edit_languages, issue 1300 2013-01-27 09:46:22 -06:00
Massimo
147b2d889d db.as_json/as_xml thanks Alan (This is tentative and experimental) 2013-01-25 15:36:23 -06:00
Massimo
ca330a99e2 issue 1302, support for expressions in CONTAINS, thanks Paolo 2013-01-25 15:29:04 -06:00
Michele Comitini
2eeb1e74b2 gluon/tools.py: correct error codes for Jsonrpc-2.0 exceptions.
gluon/contrib/login_methods/oauth20_account.py: removed dead code.
2013-01-25 21:41:14 +01:00
Massimo
d4e68e6c18 more modular setup-web2py-nginx-uwsgi-ubuntu, thanks Paolo and Niphlod 2013-01-24 15:52:21 -06:00
Massimo
356643d509 check whether pgsql supports json fields, thanks Alan 2013-01-24 10:51:44 -06:00
Michele Comitini
9a957c907a merge with upstream 2013-01-24 02:10:16 +01:00
Michele Comitini
d97ef82bb7 removed need for globals 2013-01-24 02:06:19 +01:00
Michele Comitini
a751c0e03a Compliance with rfc6749. Added backward compatibility with Facebook custom implementation. Simpler and faster flow. 2013-01-24 02:04:01 +01:00
mdipierro
4c50c69fbb fixed gevent monkey patching problem, thank you JimK 2013-01-23 08:49:00 -06:00
mdipierro
b1f77b9c4a reverted 4622 codemirror3 because broke zencoding and drops support for IE7, we do not use the new features anyway. Sorry 2013-01-23 08:17:59 -06:00
Michele Comitini
2db2737e86 Updated to rfc6749. Added backward compatibility to match facebook implementation. Simpler flow. 2013-01-23 12:43:27 +01:00
Massimo
b7f2991246 fixed font-family in codemirror, thanks Mariano 2013-01-22 16:27:00 -06:00
Jonathan Bohren
c4483b4587 Switching message type for auto-generated forms 2013-01-22 00:00:46 -05:00
Jonathan Bohren
9c63b7c71b Make the menu html serializer pass LI items through as-is 2013-01-21 23:48:42 -05:00
mdipierro
a443631f11 fixed IS_JSON, thanks Alan 2013-01-21 16:42:42 -06:00
mdipierro
d15f13dcbd Adapter.native_json 2013-01-21 14:13:05 -06:00
mdipierro
1518cbd16e fixed json odd behavior 2013-01-21 14:05:45 -06:00
mdipierro
65cd2233f3 fixed tkMessageBox problem, thanks Bruno 2013-01-21 08:39:44 -06:00
mdipierro
8ac1a8cc05 json-rpc2 support, thanks Michele 2013-01-21 08:36:00 -06:00
mdipierro
d369310a5c commented unwanted style info in admin 2013-01-21 08:25:20 -06:00
mdipierro
1d15871a69 fixed incorrect template validator in wiki, thanks Alan 2013-01-20 21:36:02 -06:00
mdipierro
35e7f4265b allows modifiers in parse_as _rest, thanks Denes 2013-01-20 21:24:07 -06:00
mdipierro
bb0be8a523 attempt to fix issue 1296, ipv6 header parsing 2013-01-20 14:51:53 -06:00
mdipierro
6684754a47 fixed issue 1295, more git issues, thanks Alan 2013-01-20 14:50:20 -06:00
mdipierro
c214999e27 fixed issue 1294, thanks Vincent Chevrier 2013-01-20 14:48:45 -06:00
mdipierro
9e1ce571e4 fixed issue with multiple string expressions in select 2013-01-20 14:22:59 -06:00
mdipierro
2b968814c5 fixed previous commit error 2013-01-20 14:13:43 -06:00
Michele Comitini
8abff891c3 Added batch (serial) processing 2013-01-20 15:36:17 +01:00
Michele Comitini
e8189636b3 again correct management of null id: avoid returning None by sending empty string. 2013-01-20 00:14:02 +01:00
Michele Comitini
795886d2f2 again correct management of null id. 2013-01-20 00:07:12 +01:00
Michele Comitini
d17f3bedd3 correct management of null id. 2013-01-20 00:03:22 +01:00
Michele Comitini
9311e7c94f fixed comment for jsonrpc-2.0 example. 2013-01-19 23:54:02 +01:00
Michele Comitini
10193dd014 forward compatibility with jsonrpc-2.0 for @service.jsonrpc annotation. 2013-01-19 23:51:30 +01:00
Michele Comitini
bc44bb0fe9 Merge github.com:web2py/web2py 2013-01-19 23:27:58 +01:00
Michele Comitini
e980c5d762 Merge github.com:web2py/web2py 2013-01-19 18:33:13 +01:00
Michele Comitini
6a497b3894 jsonrpc 2.0 added to services. 2013-01-19 18:32:17 +01:00
Massimo
317d910cd3 .vtt in contenttype, thanks Magnitus 2013-01-18 10:01:01 -06:00
Massimo
6248fb89b3 .vtt in contenttype, thanks Magnitus 2013-01-18 10:01:01 -06:00
Massimo
51f5e40b37 fatch IMAP inbox size in dal, thanks Alan 2013-01-18 09:20:30 -06:00
Massimo
ad048a8d5b fatch IMAP inbox size in dal, thanks Alan 2013-01-18 09:20:30 -06:00
Massimo
7b4a0515be fixed issue 1291, casting to string for like operator, thanks Dominic 2013-01-18 09:14:19 -06:00
Massimo
3d9d9448aa fixed issue 1291, casting to string for like operator, thanks Dominic 2013-01-18 09:14:19 -06:00
Massimo
e90000545b highligthing wiki menu items, 1290, thanks Paolo 2013-01-18 09:09:21 -06:00
Massimo
dc248dbbde highligthing wiki menu items, 1290, thanks Paolo 2013-01-18 09:09:21 -06:00
Massimo
ea01ec0f0e fixed issue 1289, fixed wiki templates, thanks Alan 2013-01-18 09:05:39 -06:00
Massimo
cf0c62f0c4 fixed issue 1289, fixed wiki templates, thanks Alan 2013-01-18 09:05:39 -06:00
Massimo
ddc6da53b3 fixed searilization of request/response/session in tickets (they are stored as html, thanks Dominik 2013-01-17 17:33:17 -06:00
Massimo
bb40239ed0 fixed searilization of request/response/session in tickets (they are stored as html, thanks Dominik 2013-01-17 17:33:17 -06:00
Massimo
a2aa738f19 removed un-necessary code, thanks Mariano 2013-01-17 11:34:52 -06:00
Massimo
c2ae4776a2 removed un-necessary code, thanks Mariano 2013-01-17 11:34:52 -06:00
mdipierro
c0e1987b66 Merge pull request #52 from jbohren-forks/stable
Fixing indentation in readme
2013-01-17 09:11:36 -08:00
mdipierro
344f7cc5df Merge pull request #52 from jbohren-forks/stable
Fixing indentation in readme
2013-01-17 09:11:36 -08:00
mdipierro
b7118a7d44 Merge pull request #51 from TierraDelFuego/master
Change/deletion in call to python interpreter
2013-01-17 09:11:18 -08:00
mdipierro
dea15ab6bd Merge pull request #51 from TierraDelFuego/master
Change/deletion in call to python interpreter
2013-01-17 09:11:18 -08:00
Massimo
b1f74213c6 fixed issue 1279, sys.prefix in tickets, thanks mjmare 2013-01-17 11:08:32 -06:00
Massimo
5b92d712f4 fixed issue 1279, sys.prefix in tickets, thanks mjmare 2013-01-17 11:08:32 -06:00
Massimo
1122ad65ec codemirror 3, thnaks Roberto Perdomo and Mariano Reingart 2013-01-17 11:00:56 -06:00
Massimo
ab410b6707 codemirror 3, thnaks Roberto Perdomo and Mariano Reingart 2013-01-17 11:00:56 -06:00
mdipierro
5f9094e7d1 wiki(templates=None), thanks Alan 2013-01-16 11:23:29 -06:00
mdipierro
fb4c749115 wiki(templates=None), thanks Alan 2013-01-16 11:23:29 -06:00
mdipierro
3a1c03894f json export in grid, thanks Alan 2013-01-16 09:41:36 -06:00
mdipierro
b171a92449 json export in grid, thanks Alan 2013-01-16 09:41:36 -06:00
Michele Comitini
e5a8319f0b Merge github.com:web2py/web2py 2013-01-16 12:22:56 +01:00
mdipierro
8f79000d2d fixed recent bug in dal, thanks Denes 2013-01-15 22:23:00 -06:00
mdipierro
a4e926b637 fixed recent bug in dal, thanks Denes 2013-01-15 22:23:00 -06:00
Jonathan Bohren
8ffc89def2 Fixing indentation in readme 2013-01-15 18:09:27 -05:00
Massimo
92cef0b811 scheduler patch, thanks Niphlod 2013-01-15 15:54:29 -06:00
Massimo
ad684bfdfc scheduler patch, thanks Niphlod 2013-01-15 15:54:29 -06:00
Massimo
ccc1de2595 minor refactoring to avoid compatibility problems 2013-01-15 13:26:14 -06:00
Massimo
16b37b1061 minor refactoring to avoid compatibility problems 2013-01-15 13:26:14 -06:00
Massimo
10a39fd52c another parse_as_rest patch, thanks Denes 2013-01-15 13:19:54 -06:00
Massimo
97385d3310 another parse_as_rest patch, thanks Denes 2013-01-15 13:19:54 -06:00
Massimo
8a2c0c320e IMAP attachments in .select(), thanks Alan 2013-01-15 13:09:59 -06:00
Massimo
cea9145400 IMAP attachments in .select(), thanks Alan 2013-01-15 13:09:59 -06:00
Massimo
cf5f1c9c6e fixed git errors issues, thanks Alan, wonderful work 2013-01-15 13:08:27 -06:00
Massimo
1c69eb4ce4 fixed git errors issues, thanks Alan, wonderful work 2013-01-15 13:08:27 -06:00
mdipierro
918971cab8 fixing issue 1276 again, thanks Alan 2013-01-14 15:30:01 -06:00
mdipierro
c1a534bee2 fixing issue 1276 again, thanks Alan 2013-01-14 15:30:01 -06:00
mdipierro
41f5dfaffc gluon/scheduler.py 2013-01-14 15:26:46 -06:00
mdipierro
c60fffc34a gluon/scheduler.py 2013-01-14 15:26:46 -06:00
mdipierro
d05aceb3f3 fixed issue 1276, preserving subject encoding in IMAP adapter, thanks Alan 2013-01-14 09:44:47 -06:00
mdipierro
9dbf0bbbcd fixed issue 1276, preserving subject encoding in IMAP adapter, thanks Alan 2013-01-14 09:44:47 -06:00
mdipierro
cb2c5aae48 fixed issue 1273, default int as_dict, thanks Alan 2013-01-14 09:42:59 -06:00
mdipierro
10af0102f4 fixed issue 1273, default int as_dict, thanks Alan 2013-01-14 09:42:59 -06:00
mdipierro
a2663fc8dd parse_as_rest patch, thanks Denes 2013-01-14 09:18:43 -06:00
mdipierro
fb5e6e927f parse_as_rest patch, thanks Denes 2013-01-14 09:18:43 -06:00
mdipierro
4bbe6ed195 minor fix in parse_as_rest 2013-01-13 13:15:38 -06:00
mdipierro
69fa34b3c5 minor fix in parse_as_rest 2013-01-13 13:15:38 -06:00
mdipierro
b49de3eccb Row.as_xml and Rows.as_csv, issue 1275, thank you Alan 2013-01-13 13:08:41 -06:00
mdipierro
b1f51c30a6 Row.as_xml and Rows.as_csv, issue 1275, thank you Alan 2013-01-13 13:08:41 -06:00
mdipierro
63a049d336 admin/languages/sr-*.py thanks Sasa Kelecevic 2013-01-13 10:44:07 -06:00
mdipierro
05fdf963af admin/languages/sr-*.py thanks Sasa Kelecevic 2013-01-13 10:44:07 -06:00
TierraDelFuego
9b9b79ed58 Add a file to ignore. 2013-01-12 23:41:28 -08:00
TierraDelFuego
97cf2475cf Add a file to ignore. 2013-01-12 23:41:28 -08:00
TierraDelFuego
e363ee0994 Change the call to python from /usr/bin/python to /usr/bin/env python so the correct python is called when using virtualenv. Remove the the call if not needed. 2013-01-12 23:34:35 -08:00
TierraDelFuego
473960a394 Change the call to python from /usr/bin/python to /usr/bin/env python so the correct python is called when using virtualenv. Remove the the call if not needed. 2013-01-12 23:34:35 -08:00
TierraDelFuego
5ff925d583 Removing call to python where it is not needed. 2013-01-12 22:53:43 -08:00
TierraDelFuego
ef60909d4c Removing call to python where it is not needed. 2013-01-12 22:53:43 -08:00
mdipierro
97b22438fa fixed issue 1271, admin/languages/ru.py, thanks Dmitry.Mosin 2013-01-12 14:12:19 -06:00
mdipierro
3eba79d6c5 fixed issue 1271, admin/languages/ru.py, thanks Dmitry.Mosin 2013-01-12 14:12:19 -06:00
mdipierro
b747ac27cb row.as_json simplification thanks Alan 2013-01-12 14:09:05 -06:00
mdipierro
fcf7b1a025 row.as_json simplification thanks Alan 2013-01-12 14:09:05 -06:00
mdipierro
f02735de81 row.as_son, rows.as_json, rows.as_xml, thanks Alan 2013-01-12 14:04:15 -06:00
mdipierro
4c15575194 row.as_son, rows.as_json, rows.as_xml, thanks Alan 2013-01-12 14:04:15 -06:00
mdipierro
bb6e130bfe fixed typo in ru.py, issue 1271, thanks Dmitry.Mosin 2013-01-11 13:38:03 -06:00
mdipierro
e4526f4725 fixed typo in ru.py, issue 1271, thanks Dmitry.Mosin 2013-01-11 13:38:03 -06:00
mdipierro
ec8d9a3714 fixed issue with hiding password, thanks Niphlod 2013-01-11 09:02:22 -06:00
mdipierro
96f4c944c1 fixed issue with hiding password, thanks Niphlod 2013-01-11 09:02:22 -06:00
mdipierro
cc66524e1f imapdb(query).select(imapdb.INBOX.sender, imapdb.INBOX.subject, imapdb.INBOX.seen), issue 1269, thanks Alan 2013-01-10 23:15:46 -06:00
mdipierro
ea07c9dcd8 imapdb(query).select(imapdb.INBOX.sender, imapdb.INBOX.subject, imapdb.INBOX.seen), issue 1269, thanks Alan 2013-01-10 23:15:46 -06:00
mdipierro
7c5c27f556 links to user have _rel='nofollow' 2013-01-10 23:12:01 -06:00
mdipierro
7a94b2dbd6 links to user have _rel='nofollow' 2013-01-10 23:12:01 -06:00
Massimo
b8cfc9630f fixed preview of auth.wiki pages 2013-01-10 15:13:29 -06:00
Massimo
563239147f fixed preview of auth.wiki pages 2013-01-10 15:13:29 -06:00
Massimo
70d701db5b changed pages grid in auth.wiki 2013-01-10 14:54:21 -06:00
Massimo
683f8ebdc7 changed pages grid in auth.wiki 2013-01-10 14:54:21 -06:00
Massimo
b20d963f56 No more templates in wiki, security vulnearbility 2013-01-10 14:29:50 -06:00
Massimo
df653f9f78 No more templates in wiki, security vulnearbility 2013-01-10 14:29:50 -06:00
Massimo
7614955591 IMAP DAL enhancements, thanks Alan 2013-01-10 13:04:38 -06:00
Massimo
8a1b37e8ec IMAP DAL enhancements, thanks Alan 2013-01-10 13:04:38 -06:00
Massimo
8eadfe3d79 fixed issue 1268, better grid search options, thanks Paolo Angulo 2013-01-10 13:01:12 -06:00
Massimo
b9120ddce4 fixed issue 1268, better grid search options, thanks Paolo Angulo 2013-01-10 13:01:12 -06:00
Michele Comitini
4bf840abf3 Merge github.com:web2py/web2py 2013-01-10 00:25:31 +01:00
mdipierro
90dbf440c7 optional mail.settings.sender, thanks Michele 2013-01-09 16:57:19 -06:00
mdipierro
e46f920929 optional mail.settings.sender, thanks Michele 2013-01-09 16:57:19 -06:00
mdipierro
6ebed79500 fixed problem with render_tags 2013-01-09 16:10:33 -06:00
mdipierro
9357a37509 fixed problem with render_tags 2013-01-09 16:10:33 -06:00
mdipierro
f02676f264 Wiki.render_base(body) 2013-01-09 15:41:21 -06:00
mdipierro
cac8e89670 Wiki.render_base(body) 2013-01-09 15:41:21 -06:00
mdipierro
9e9fde2e8f no warp buttons 2013-01-09 12:50:05 -06:00
mdipierro
a0b62b1392 no warp buttons 2013-01-09 12:50:05 -06:00
mdipierro
db1a788082 no warp buttons 2013-01-09 12:44:35 -06:00
mdipierro
5a93299fc3 no warp buttons 2013-01-09 12:44:35 -06:00
mdipierro
f84ac09e31 form.custom.delete 2013-01-09 11:13:05 -06:00
mdipierro
c1cdb365f1 form.custom.delete 2013-01-09 11:13:05 -06:00
mdipierro
45e8e20eae parse_as_rest(patterns=[('...',query)] 2013-01-09 10:44:58 -06:00
mdipierro
0eefcd7d4f parse_as_rest(patterns=[('...',query)] 2013-01-09 10:44:58 -06:00
mdipierro
4ce3ebf1fd fixed issue 1262, table.insert() empty, thanks Alan 2013-01-09 10:18:42 -06:00
mdipierro
d454389356 fixed issue 1262, table.insert() empty, thanks Alan 2013-01-09 10:18:42 -06:00
mdipierro
65bc1062f5 fixed add class 2013-01-09 09:16:50 -06:00
mdipierro
6e347619f4 fixed add class 2013-01-09 09:16:50 -06:00
Massimo
980aedf314 some cleanup patches, thanks Alan 2013-01-08 15:31:17 -06:00
Massimo
3a608f3fde some cleanup patches, thanks Alan 2013-01-08 15:31:17 -06:00
Massimo
4946ebf154 fixed issue 1260, auth.settings.update_fields, thanks Nafiux 2013-01-08 15:23:44 -06:00
Massimo
361700734f fixed issue 1260, auth.settings.update_fields, thanks Nafiux 2013-01-08 15:23:44 -06:00
Massimo
2d606e6836 actions='#', fixed issue 1253, thanks yaribaud 2013-01-08 14:38:05 -06:00
Massimo
1dfb6824a3 actions='#', fixed issue 1253, thanks yaribaud 2013-01-08 14:38:05 -06:00
Massimo
aba8d8f871 fixed conflict 2013-01-08 11:45:53 -06:00
Massimo
3788ec3f9a fixed conflict 2013-01-08 11:45:53 -06:00
Massimo
3b56ed3cfd fixed bootstrap class in SQLHTML, de ja vu 2013-01-08 11:45:04 -06:00
Massimo
62c4711f8e fixed bootstrap class in SQLHTML, de ja vu 2013-01-08 11:45:04 -06:00
mdipierro
1b08152594 fixed issue 1229, _class and bootstrap in SQLFORM, thanks Paolo Valleri 2013-01-08 09:31:18 -06:00
mdipierro
292a71e8bb fixed issue 1229, _class and bootstrap in SQLFORM, thanks Paolo Valleri 2013-01-08 09:31:18 -06:00
mdipierro
ec21e81f19 json field in DAL, thanks Alan 2013-01-08 09:23:18 -06:00
mdipierro
5e18932429 json field in DAL, thanks Alan 2013-01-08 09:23:18 -06:00
mdipierro
2da5b2191f fixed bug self._tables, thanks Mart 2013-01-08 09:17:42 -06:00
mdipierro
4369f2742b fixed bug self._tables, thanks Mart 2013-01-08 09:17:42 -06:00
mdipierro
424ea22334 Row.__copy__, fixed issue 1255 2013-01-08 09:10:34 -06:00
mdipierro
d22b93caf4 Row.__copy__, fixed issue 1255 2013-01-08 09:10:34 -06:00
mdipierro
88d2216780 fixed issue 1254, change of scope for web2py-component-command and web2py-component-flash, thanks Paolo valleri 2013-01-08 09:06:30 -06:00
mdipierro
9e41d679c4 fixed issue 1254, change of scope for web2py-component-command and web2py-component-flash, thanks Paolo valleri 2013-01-08 09:06:30 -06:00
mdipierro
30e32c07b9 fixed issue 1252, thanks Mark Weissen 2013-01-08 08:58:30 -06:00
mdipierro
03a464efd9 fixed issue 1252, thanks Mark Weissen 2013-01-08 08:58:30 -06:00
mdipierro
bd485d37c9 fixed st_x and st_y, thanks Paolo Valleri 2013-01-08 08:49:18 -06:00
mdipierro
e27f82b610 fixed st_x and st_y, thanks Paolo Valleri 2013-01-08 08:49:18 -06:00
mdipierro
69d00a50a6 support for motor and pulsar servers, thanks Niphlod 2013-01-07 10:34:31 -06:00
mdipierro
55afa4f2ea support for motor and pulsar servers, thanks Niphlod 2013-01-07 10:34:31 -06:00
mdipierro
c625be0a4a fixed another geodal issue, thanks Paolo 2013-01-06 09:28:01 -06:00
mdipierro
4bd8b96dc9 fixed another geodal issue, thanks Paolo 2013-01-06 09:28:01 -06:00
mdipierro
46d5035437 fixed dist type, thanks Paolo Valleri 2013-01-05 18:46:10 -06:00
mdipierro
ca87312c49 fixed dist type, thanks Paolo Valleri 2013-01-05 18:46:10 -06:00
mdipierro
b3e791b4d4 fixed geoPoint bug, thanks Paolo Valleri 2013-01-05 18:36:23 -06:00
mdipierro
4d0389db7b fixed geoPoint bug, thanks Paolo Valleri 2013-01-05 18:36:23 -06:00
mdipierro
54866ecef5 fixed auto patterns, thanks Denes 2013-01-03 21:30:17 -06:00
mdipierro
9147929204 fixed auto patterns, thanks Denes 2013-01-03 21:30:17 -06:00
mdipierro
828a4d7a60 stopped error progragation in ajax, thanks Niphlod 2013-01-02 18:58:54 -06:00
mdipierro
062de22fde stopped error progragation in ajax, thanks Niphlod 2013-01-02 18:58:54 -06:00
mdipierro
91be7eb3dc fixed opener in oauth2, thanks Ignacio Ocampo 2013-01-01 21:09:09 -06:00
mdipierro
0368d83484 fixed opener in oauth2, thanks Ignacio Ocampo 2013-01-01 21:09:09 -06:00
mdipierro
532ddf1d9a fixed issue 1249, thanks Alan 2013-01-01 19:08:46 -06:00
mdipierro
8824742a4c fixed issue 1249, thanks Alan 2013-01-01 19:08:46 -06:00
mdipierro
dd3055836a fixed issue 1251, imporved mongodb support, thanks Alan 2013-01-01 19:03:44 -06:00
mdipierro
9a5e9c5e69 fixed issue 1251, imporved mongodb support, thanks Alan 2013-01-01 19:03:44 -06:00
mdipierro
ed42c3e489 fixed issue 1246, is_active and left joins 2012-12-31 15:17:55 -06:00
mdipierro
1ceb587875 fixed issue 1246, is_active and left joins 2012-12-31 15:17:55 -06:00
mdipierro
117a0b9849 fixed issue 1247 Missing URL for Delete button, thanks Boris and Niphlod 2012-12-31 14:38:43 -06:00
mdipierro
af31e2e079 fixed issue 1247 Missing URL for Delete button, thanks Boris and Niphlod 2012-12-31 14:38:43 -06:00
mdipierro
52c1ba67e3 added setup-ubuntu-12-04-redmine-unicorn-web2py-uwsgi-nginx.sh, thanks Richard 2012-12-30 15:16:39 -06:00
mdipierro
b442f005a9 added setup-ubuntu-12-04-redmine-unicorn-web2py-uwsgi-nginx.sh, thanks Richard 2012-12-30 15:16:39 -06:00
mdipierro
9557c46dcf fixed redirection in login page, thanks Osman Masood 2012-12-28 16:19:50 -06:00
mdipierro
e233a14eec fixed redirection in login page, thanks Osman Masood 2012-12-28 16:19:50 -06:00
mdipierro
60093e81b0 debugger patch, thanks Mariano 2012-12-28 15:45:14 -06:00
mdipierro
f8d012ac56 debugger patch, thanks Mariano 2012-12-28 15:45:14 -06:00
mdipierro
1fe2877a14 removed commit error 2012-12-28 10:49:32 -06:00
Michele Comitini
db4446b023 Merge github.com:web2py/web2py 2012-12-28 15:53:36 +01:00
mdipierro
556de70f20 changed color scheme and fixed bug in graph model 2012-12-28 01:22:05 -06:00
mdipierro
6026b5996c changed color scheme and fixed bug in graph model 2012-12-28 01:22:05 -06:00
mdipierro
1d6de8e0a8 fixed problem with representation of user without last_name, thanks Bruno 2012-12-28 01:08:33 -06:00
mdipierro
902f228565 fixed problem with representation of user without last_name, thanks Bruno 2012-12-28 01:08:33 -06:00
mdipierro
e8a7c0257e fixed issue with lack of charset in driver, thanks Felipe Meirelles 2012-12-27 14:27:18 -06:00
mdipierro
53d251bed5 fixed issue with lack of charset in driver, thanks Felipe Meirelles 2012-12-27 14:27:18 -06:00
mdipierro
c8d4e03ead fixed debugger, thanks Mariano and Paolo 2012-12-26 11:55:05 -06:00
mdipierro
a4ba43f77b fixed debugger, thanks Mariano and Paolo 2012-12-26 11:55:05 -06:00
mdipierro
4ddb7dea28 graph font style, thanks Jose 2012-12-26 11:44:41 -06:00
mdipierro
997c5103a7 graph font style, thanks Jose 2012-12-26 11:44:41 -06:00
mdipierro
c8b0686c2f fixed grid with id field not called id, issue 972 2012-12-25 21:01:59 -06:00
mdipierro
2365c34ce3 fixed grid with id field not called id, issue 972 2012-12-25 21:01:59 -06:00
mdipierro
400f27ef55 fixed generation of html in graphs, thanks Alan 2012-12-25 20:32:21 -06:00
mdipierro
cdedbaa1e9 fixed generation of html in graphs, thanks Alan 2012-12-25 20:32:21 -06:00
mdipierro
16540936db some cleanup 2012-12-25 12:21:08 -06:00
mdipierro
adbeaffa39 some cleanup 2012-12-25 12:21:08 -06:00
mdipierro
c173beac43 fixed issue 1244, default CBC mode for sessions in cookies, thanks Pearu Peterson 2012-12-25 09:44:44 -06:00
mdipierro
e9e3906357 fixed issue 1244, default CBC mode for sessions in cookies, thanks Pearu Peterson 2012-12-25 09:44:44 -06:00
mdipierro
0d5e1ba1d3 fixed examples, thanks Joe 2012-12-24 16:14:05 -06:00
mdipierro
83ed22f64e fixed examples, thanks Joe 2012-12-24 16:14:05 -06:00
mdipierro
c573003167 edit CHANGELOG 2012-12-24 14:04:07 -06:00
mdipierro
6acb695660 edit CHANGELOG 2012-12-24 14:04:07 -06:00
mdipierro
cb87a32775 removed errors in previous commit 2012-12-24 13:55:00 -06:00
mdipierro
5d4ef568a1 removed errors in previous commit 2012-12-24 13:55:00 -06:00
mdipierro
ebda5cb2bc admin based on bootstrap, thanks Paolo 2012-12-24 13:49:06 -06:00
mdipierro
3710d43cfc admin based on bootstrap, thanks Paolo 2012-12-24 13:49:06 -06:00
mdipierro
9981ae4d5f graphiz support added, thanks Jose 2012-12-24 12:14:08 -06:00
mdipierro
56295371a4 graphiz support added, thanks Jose 2012-12-24 12:14:08 -06:00
mdipierro
9caea58a3c fixed issue 1241 with auth.wiki content error, thanks Alan 2012-12-24 11:23:30 -06:00
mdipierro
bd923806be fixed issue 1241 with auth.wiki content error, thanks Alan 2012-12-24 11:23:30 -06:00
mdipierro
6fc307cf7b better reporting of 500 ajax errors, issue 832, thanks Paolo Velleri 2012-12-24 11:21:37 -06:00
mdipierro
a0a9e92fc1 better reporting of 500 ajax errors, issue 832, thanks Paolo Velleri 2012-12-24 11:21:37 -06:00
mdipierro
2d5f558b54 fixed issue 1240, problem with rejected upload forms 2012-12-23 23:33:53 -06:00
mdipierro
ffdff5490a fixed issue 1240, problem with rejected upload forms 2012-12-23 23:33:53 -06:00
mdipierro
ea20769242 fixed calendar.js Date conflict, issue 1243 2012-12-23 23:02:28 -06:00
mdipierro
335f76665b fixed calendar.js Date conflict, issue 1243 2012-12-23 23:02:28 -06:00
mdipierro
1c410638da fixed problem with padding in secure sessions in cookies, issue 1239, thanks pearu.peterson 2012-12-23 22:12:19 -06:00
mdipierro
b8afb04de8 fixed problem with padding in secure sessions in cookies, issue 1239, thanks pearu.peterson 2012-12-23 22:12:19 -06:00
mdipierro
ee2c4f339a fixed possible scheduler problem, thanks Mike Dickun and Niphlod 2012-12-23 15:07:43 -06:00
mdipierro
62a9c460e4 fixed possible scheduler problem, thanks Mike Dickun and Niphlod 2012-12-23 15:07:43 -06:00
mdipierro
ba0e51ad02 fixed analytics.min.js 2012-12-22 21:27:05 -06:00
mdipierro
5aa719daf5 fixed analytics.min.js 2012-12-22 21:27:05 -06:00
mdipierro
a99014ad26 auth.signature.is_active is notnull and migration will set default value 2012-12-22 10:54:29 -06:00
mdipierro
7ac570f4e9 auth.signature.is_active is notnull and migration will set default value 2012-12-22 10:54:29 -06:00
mdipierro
6280ca5d36 return geo data in text always (since not all support json) 2012-12-22 10:19:49 -06:00
mdipierro
96286844fb return geo data in text always (since not all support json) 2012-12-22 10:19:49 -06:00
mdipierro
b39b6d9715 return geo data in json always 2012-12-22 10:10:54 -06:00
mdipierro
ff7b78bb6a return geo data in json always 2012-12-22 10:10:54 -06:00
mdipierro
728d634672 params in serve_json can be dict of list 2012-12-22 08:58:28 -06:00
mdipierro
f500ea46d4 params in serve_json can be dict of list 2012-12-22 08:58:28 -06:00
mdipierro
0cdfe3d57b remporary reverting model sorting patch until better understanding 2012-12-21 00:22:51 -06:00
mdipierro
a1d38d6633 remporary reverting model sorting patch until better understanding 2012-12-21 00:22:51 -06:00
mdipierro
7c906c8b89 possibly fixed issue table_archive_archive...archive 2012-12-21 00:20:06 -06:00
mdipierro
bb7594f6c5 possibly fixed issue table_archive_archive...archive 2012-12-21 00:20:06 -06:00
mdipierro
91045b918f fixed problem with - button in list widget, thanks howesc 2012-12-21 00:17:08 -06:00
mdipierro
7644b1693e fixed problem with - button in list widget, thanks howesc 2012-12-21 00:17:08 -06:00
mdipierro
95a5b2eea2 geoPoint, getLine, geoPolygon 2012-12-20 18:16:40 -06:00
mdipierro
c75cd39282 geoPoint, getLine, geoPolygon 2012-12-20 18:16:40 -06:00
mdipierro
76ad8258f5 semantic version support in admin 2012-12-20 15:47:46 -06:00
mdipierro
b81810bb02 semantic version support in admin 2012-12-20 15:47:46 -06:00
mdipierro
c1f47cdc44 support for semantic versioning 2012-12-20 15:39:57 -06:00
mdipierro
27cfdb6ac4 support for semantic versioning 2012-12-20 15:39:57 -06:00
mdipierro
64d6691e61 added improved scripts/setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Niphlod 2012-12-20 09:22:24 -06:00
mdipierro
95b3ca839a added improved scripts/setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Niphlod 2012-12-20 09:22:24 -06:00
mdipierro
9bf964b918 db.table.field.abs() 2012-12-20 09:03:13 -06:00
mdipierro
dcf0a7ccc9 db.table.field.abs() 2012-12-20 09:03:13 -06:00
mdipierro
dd9a3c8b7e wiki patches, thanks Niphlod 2012-12-19 16:07:50 -06:00
mdipierro
3f8bf01b20 wiki patches, thanks Niphlod 2012-12-19 16:07:50 -06:00
mdipierro
5a9b1a0a33 fixed issue 1226, delete_cascade class 2012-12-19 11:53:03 -06:00
mdipierro
e342e68737 fixed issue 1226, delete_cascade class 2012-12-19 11:53:03 -06:00
mdipierro
0ab37d9538 reverted the - button after list:string because of problems 2012-12-19 11:44:30 -06:00
mdipierro
08ff08c4e6 reverted the - button after list:string because of problems 2012-12-19 11:44:30 -06:00
mdipierro
02d488c458 on_failure in grid, fixed issue 1232, thanks dev.ldhughes 2012-12-19 11:37:56 -06:00
mdipierro
267e891a9e on_failure in grid, fixed issue 1232, thanks dev.ldhughes 2012-12-19 11:37:56 -06:00
mdipierro
af85a2cf25 changed of scheduler column names, this breaks scheduler backard compatibility 2012-12-19 11:24:55 -06:00
mdipierro
536ca3ec34 changed of scheduler column names, this breaks scheduler backard compatibility 2012-12-19 11:24:55 -06:00
mdipierro
ec28f5c494 fixed problem with impersonate and login_onaccept not a list 2012-12-19 11:21:06 -06:00
mdipierro
4daada1142 fixed problem with impersonate and login_onaccept not a list 2012-12-19 11:21:06 -06:00
mdipierro
a221e0cbee T('Add') in grid, thanks Tito Garrido 2012-12-18 20:28:44 -06:00
mdipierro
34f3220d1a T('Add') in grid, thanks Tito Garrido 2012-12-18 20:28:44 -06:00
mdipierro
e93c49fb8c fixed problem with grid appending to fields 2012-12-18 09:31:30 -06:00
mdipierro
aa3f671d86 fixed problem with grid appending to fields 2012-12-18 09:31:30 -06:00
mdipierro
515cc6b829 preventing invalid query when exporting a rows object, thanks Niphlod 2012-12-18 09:22:28 -06:00
mdipierro
8d174225f7 preventing invalid query when exporting a rows object, thanks Niphlod 2012-12-18 09:22:28 -06:00
mdipierro
3cd0b78edb fixed streamer gzip expiration, thanks Niphlod 2012-12-17 17:16:09 -06:00
mdipierro
5140564fc5 fixed streamer gzip expiration, thanks Niphlod 2012-12-17 17:16:09 -06:00
mdipierro
b465c9f9d5 R-2.3.2 2012-12-17 09:00:46 -06:00
mdipierro
4599dcd988 R-2.3.2 2012-12-17 09:00:46 -06:00
mdipierro
d115b4216c fixed issue 1227, entropy check with IS_STRONG, thanks Clavin Sim 2012-12-17 08:50:08 -06:00
mdipierro
14bdfd3321 fixed issue 1227, entropy check with IS_STRONG, thanks Clavin Sim 2012-12-17 08:50:08 -06:00
mdipierro
3dd857aa9f fixed issue 1225, NEWINSTALL ignored 2012-12-17 08:46:33 -06:00
mdipierro
e7d14c028b fixed issue 1225, NEWINSTALL ignored 2012-12-17 08:46:33 -06:00
mdipierro
c99d34aecc cursor point in share.js, issue 1123, thanks Nathan 2012-12-16 12:36:28 -06:00
mdipierro
0207a17afa cursor point in share.js, issue 1123, thanks Nathan 2012-12-16 12:36:28 -06:00
mdipierro
c03a7e2f90 added oneall login support, issue 1124, thanks Nathan 2012-12-16 12:34:08 -06:00
mdipierro
73b049f361 added oneall login support, issue 1124, thanks Nathan 2012-12-16 12:34:08 -06:00
mdipierro
1a5a974c06 fixed example in examples from pull-request, thanks tpng 2012-12-14 14:28:31 -06:00
mdipierro
5695fe34f0 fixed example in examples from pull-request, thanks tpng 2012-12-14 14:28:31 -06:00
mdipierro
9354417f76 R-2.3.1 2012-12-14 09:22:09 -06:00
mdipierro
f2e44f96d6 R-2.3.1 2012-12-14 09:22:09 -06:00
mdipierro
6e7ad1d7b8 modernizr 2.6.2 2012-12-14 09:21:00 -06:00
mdipierro
2ccc707059 modernizr 2.6.2 2012-12-14 09:21:00 -06:00
mdipierro
32d7efc55d fixed possible issue with share.js 2012-12-14 09:17:30 -06:00
mdipierro
30490a0c5c fixed possible issue with share.js 2012-12-14 09:17:30 -06:00
mdipierro
fb93e83f96 upgraded bootstrap, jquery, and analytics 2012-12-14 08:24:58 -06:00
mdipierro
4c1102026d upgraded bootstrap, jquery, and analytics 2012-12-14 08:24:58 -06:00
mdipierro
fb03c15223 fixed paths in admin debug.py, thanks Mariano 2012-12-13 18:09:11 -06:00
mdipierro
63b589170c fixed paths in admin debug.py, thanks Mariano 2012-12-13 18:09:11 -06:00
mdipierro
7185d4d8c1 CHANGELOG edits 2012-12-13 12:54:39 -06:00
mdipierro
2b0d098027 CHANGELOG edits 2012-12-13 12:54:39 -06:00
mdipierro
ddbddf6c2f edited CHANGELOG, 2.3.0 rc2 2012-12-13 11:53:30 -06:00
mdipierro
fcfaa63f33 edited CHANGELOG, 2.3.0 rc2 2012-12-13 11:53:30 -06:00
mdipierro
29c1874bc1 fixed aes 2012-12-13 11:28:52 -06:00
mdipierro
f497aa7fcf fixed aes 2012-12-13 11:28:52 -06:00
mdipierro
242dca7365 allow web shell working when https is required 2012-12-13 11:10:59 -06:00
mdipierro
d91f7381e1 allow web shell working when https is required 2012-12-13 11:10:59 -06:00
mdipierro
5ddd7f0a6f removed debug print statement, thanks Niphlod 2012-12-13 08:22:10 -06:00
mdipierro
bad0af15f6 removed debug print statement, thanks Niphlod 2012-12-13 08:22:10 -06:00
mdipierro
37acdc0cc6 partially fixed issue 832, auth.requires raises 401 on ajax, thanks Paolo Valleri 2012-12-12 22:07:20 -06:00
mdipierro
d7cc15c85d partially fixed issue 832, auth.requires raises 401 on ajax, thanks Paolo Valleri 2012-12-12 22:07:20 -06:00
mdipierro
380c78b758 fixed formstyle_bootstrap, thanks Anthony 2012-12-12 22:03:39 -06:00
mdipierro
1f1e65dcb5 fixed formstyle_bootstrap, thanks Anthony 2012-12-12 22:03:39 -06:00
mdipierro
06237a48c4 added NEWINSTALL to git, issue 1217, thanks dev.ldhughes 2012-12-12 21:49:27 -06:00
mdipierro
930d4dcdd0 added NEWINSTALL to git, issue 1217, thanks dev.ldhughes 2012-12-12 21:49:27 -06:00
mdipierro
f6f82a1be1 fixed ip4 client validation, issue 1218, thanks Joachim Breitsprecher 2012-12-12 21:47:55 -06:00
mdipierro
b640820052 fixed ip4 client validation, issue 1218, thanks Joachim Breitsprecher 2012-12-12 21:47:55 -06:00
mdipierro
6fafba0772 fixed css issue 1219, thanks Paolo 2012-12-12 21:46:09 -06:00
mdipierro
be0003927a fixed css issue 1219, thanks Paolo 2012-12-12 21:46:09 -06:00
mdipierro
2cb2484cd0 analytics.js 2012-12-12 21:30:57 -06:00
mdipierro
0015a265a9 analytics.js 2012-12-12 21:30:57 -06:00
mdipierro
8fa903f17a allow LOADing multiple grids, thanks Niphlod 2012-12-12 21:14:25 -06:00
mdipierro
12ff451f4b allow LOADing multiple grids, thanks Niphlod 2012-12-12 21:14:25 -06:00
mdipierro
6d61f9d0ef fixed typo in docstring, issue 1210, thanks francois.delpierre 2012-12-11 20:50:10 -06:00
mdipierro
63cefe0862 fixed typo in docstring, issue 1210, thanks francois.delpierre 2012-12-11 20:50:10 -06:00
mdipierro
7a85625743 revised setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Vinicious 2012-12-11 20:15:15 -06:00
mdipierro
bf3a24e515 revised setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Vinicious 2012-12-11 20:15:15 -06:00
mdipierro
21e2e5e2af fixed typo in globals, issue 1213, thanks jkellas 2012-12-11 15:54:57 -06:00
mdipierro
4378a8a792 fixed typo in globals, issue 1213, thanks jkellas 2012-12-11 15:54:57 -06:00
mdipierro
5188b64704 Added intro tutorial, thanks Michael Herman 2012-12-11 10:53:31 -06:00
mdipierro
1532cecb25 Added intro tutorial, thanks Michael Herman 2012-12-11 10:53:31 -06:00
mdipierro
128ff10ade sorting importing models was broken, now fixed, thanks Joel Samuelsson 2012-12-11 08:25:48 -06:00
mdipierro
22af4db51d sorting importing models was broken, now fixed, thanks Joel Samuelsson 2012-12-11 08:25:48 -06:00
mdipierro
a98f45f875 fixed winservice problem 2012-12-10 21:32:36 -06:00
mdipierro
523cb34119 fixed winservice problem 2012-12-10 21:32:36 -06:00
mdipierro
c02b79f0c3 fixed problem with clear and session_hash 2012-12-09 14:29:37 -06:00
mdipierro
24b037c307 fixed problem with clear and session_hash 2012-12-09 14:29:37 -06:00
mdipierro
8d6a19aeb2 fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE 2012-12-08 18:31:41 -06:00
mdipierro
bd933ca43d fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE 2012-12-08 18:31:41 -06:00
mdipierro
fa08472392 fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE 2012-12-08 18:25:04 -06:00
mdipierro
676b2ef54b fixed issue 1208 (auth on GAE) by disabling virtual fields in auth.user on GAE 2012-12-08 18:25:04 -06:00
mdipierro
22d872c7e5 fixed issue 1207, IS_IN_SET(list_of_ints), thanks Alan 2012-12-07 10:58:43 -06:00
mdipierro
353a66f44c fixed issue 1207, IS_IN_SET(list_of_ints), thanks Alan 2012-12-07 10:58:43 -06:00
mdipierro
c5a7c8d8f9 fixed problem CRYPT password comparsion, issue 1203, thanks Alan 2012-12-06 23:04:29 -06:00
mdipierro
689dfcd83e fixed problem CRYPT password comparsion, issue 1203, thanks Alan 2012-12-06 23:04:29 -06:00
mdipierro
e08fdc42cf fixed escaping of response.js, issue 1205, thanks max.morais.dmm 2012-12-06 23:02:09 -06:00
mdipierro
8f7b82fdb3 fixed escaping of response.js, issue 1205, thanks max.morais.dmm 2012-12-06 23:02:09 -06:00
mdipierro
30ff19b271 regex simplification 2012-12-06 16:56:29 -06:00
mdipierro
c574a97cad regex simplification 2012-12-06 16:56:29 -06:00
mdipierro
42ff4aa0d8 fixed issue 1202, commas in attachments, thanks simonm3 2012-12-05 16:49:24 -06:00
mdipierro
5e7de996e0 fixed issue 1202, commas in attachments, thanks simonm3 2012-12-05 16:49:24 -06:00
mdipierro
fcd960149d fixed issue 1187, custom widget hadnling error in case for nonzero formatter, thanks Maria Mitica 2012-12-05 16:34:55 -06:00
mdipierro
52ba4bb0ea fixed issue 1187, custom widget hadnling error in case for nonzero formatter, thanks Maria Mitica 2012-12-05 16:34:55 -06:00
mdipierro
f6dc70dd9b himBH>jQuery, thanks Niphlod 2012-12-05 15:33:30 -06:00
mdipierro
c43aa3545f himBH>jQuery, thanks Niphlod 2012-12-05 15:33:30 -06:00
mdipierro
f5368f988e better paymenttech support, BSD license 2012-12-05 15:31:38 -06:00
mdipierro
8e48a816f8 better paymenttech support, BSD license 2012-12-05 15:31:38 -06:00
mdipierro
c86a4467d3 fixed IS_STRONG **** issue, issue 1098 2012-12-05 15:24:15 -06:00
mdipierro
afef829571 fixed IS_STRONG **** issue, issue 1098 2012-12-05 15:24:15 -06:00
mdipierro
9c41f48786 lazy sqlhtml_validators, fixed issue 931 2012-12-05 14:18:00 -06:00
mdipierro
f4e5de995c lazy sqlhtml_validators, fixed issue 931 2012-12-05 14:18:00 -06:00
mdipierro
9202be6fba fixed web2py_bootstrap.css, thanks Paolo 2012-12-05 13:53:46 -06:00
mdipierro
70a4e06f18 fixed web2py_bootstrap.css, thanks Paolo 2012-12-05 13:53:46 -06:00
mdipierro
73f2da5087 allow more customization of db._adapter.types 2012-12-05 11:57:18 -06:00
mdipierro
f241c008d4 allow more customization of db._adapter.types 2012-12-05 11:57:18 -06:00
mdipierro
32823d8288 fixed issue 440, reference to primary keys 2012-12-05 11:35:23 -06:00
mdipierro
9920b7592d fixed issue 440, reference to primary keys 2012-12-05 11:35:23 -06:00
mdipierro
7e4c533357 db.define_table('person',Field('name'),Field.Virtual('namey',lambda row: row.person.name+'y')), fixed issue 374 2012-12-05 11:23:11 -06:00
mdipierro
fee2c667b3 db.define_table('person',Field('name'),Field.Virtual('namey',lambda row: row.person.name+'y')), fixed issue 374 2012-12-05 11:23:11 -06:00
mdipierro
d1e73c8f79 fixed issue 265 2012-12-05 11:03:16 -06:00
mdipierro
ebc9d98a87 fixed issue 265 2012-12-05 11:03:16 -06:00
mdipierro
3cf2ca4347 db.thing(name='Cohen',_orderby=db.thing.name), thanks Yair 2012-12-05 09:01:03 -06:00
mdipierro
06f5a32c48 db.thing(name='Cohen',_orderby=db.thing.name), thanks Yair 2012-12-05 09:01:03 -06:00
mdipierro
a058a39976 experimental support for MSSQL pagination 2012-12-04 18:30:36 -06:00
mdipierro
35cb9ee529 experimental support for MSSQL pagination 2012-12-04 18:30:36 -06:00
mdipierro
c75eab9e73 paymentech.py 2012-12-04 10:56:30 -06:00
mdipierro
f0e59ca617 paymentech.py 2012-12-04 10:56:30 -06:00
mdipierro
d01750601b 2.3.0 rc1 2012-12-04 09:02:41 -06:00
mdipierro
1bbfd80c24 2.3.0 rc1 2012-12-04 09:02:41 -06:00
mdipierro
2b21c8ec8d uri='informi-se://... 2012-12-04 08:48:27 -06:00
mdipierro
a9600faa9f uri='informi-se://... 2012-12-04 08:48:27 -06:00
mdipierro
b1b295f700 added interact.html to git 2012-12-04 08:32:26 -06:00
mdipierro
6f39f96799 added interact.html to git 2012-12-04 08:32:26 -06:00
mdipierro
07afe71f37 fixed filename in dal storage, thanks Marin 2012-12-03 18:02:45 -06:00
mdipierro
b06df4740b fixed filename in dal storage, thanks Marin 2012-12-03 18:02:45 -06:00
mdipierro
5347bd03f1 possibly fixed issue 1169 2012-12-03 17:39:17 -06:00
mdipierro
d354e4f767 possibly fixed issue 1169 2012-12-03 17:39:17 -06:00
mdipierro
d964970c9e fixed escape->encodeURIComponent in autocomplete, issue 1198, thanks Dmitry 2012-12-03 17:11:18 -06:00
mdipierro
caef44d4f9 fixed escape->encodeURIComponent in autocomplete, issue 1198, thanks Dmitry 2012-12-03 17:11:18 -06:00
mdipierro
bfcda54fa2 check_reserved in welcome, thanks Marin 2012-12-03 16:30:13 -06:00
mdipierro
f9eb2c5a0a check_reserved in welcome, thanks Marin 2012-12-03 16:30:13 -06:00
mdipierro
411ef4549e closeflash patch, thanks Paolo, issue 1191 2012-12-03 16:06:27 -06:00
mdipierro
3a05be49f6 closeflash patch, thanks Paolo, issue 1191 2012-12-03 16:06:27 -06:00
mdipierro
ca18d164e3 MENU(li_first, li_last..), fixed issue 1200, thanks dev to null 2012-12-03 14:42:37 -06:00
mdipierro
b92e169b69 MENU(li_first, li_last..), fixed issue 1200, thanks dev to null 2012-12-03 14:42:37 -06:00
mdipierro
f6c1ae20c9 better grid errors, issue 1135 2012-12-03 14:28:00 -06:00
mdipierro
882f42de8f better grid errors, issue 1135 2012-12-03 14:28:00 -06:00
mdipierro
fdf7d5661d fixed problem with raw_args 2012-12-03 14:04:17 -06:00
mdipierro
c8e64ac4f7 fixed problem with raw_args 2012-12-03 14:04:17 -06:00
mdipierro
cabe9603c2 fixed cronjobs broken in 4278, fixed issue 1190 2012-12-03 13:16:14 -06:00
mdipierro
da1751dc1b fixed cronjobs broken in 4278, fixed issue 1190 2012-12-03 13:16:14 -06:00
mdipierro
abca14d9ae improved heroku script 2012-12-03 11:01:11 -06:00
mdipierro
304ae277fe improved heroku script 2012-12-03 11:01:11 -06:00
mdipierro
ce0180a23a support for in and not in smart_query 2012-12-03 08:15:58 -06:00
mdipierro
0e93162080 support for in and not in smart_query 2012-12-03 08:15:58 -06:00
mdipierro
96de4348fa auth.settings.login_onfail, thanks Yair 2012-12-02 08:27:17 -06:00
mdipierro
6ced9dd235 auth.settings.login_onfail, thanks Yair 2012-12-02 08:27:17 -06:00
mdipierro
7aef84ae90 added missing form.html to examples 2012-12-01 16:39:31 -06:00
mdipierro
e2da57f448 added missing form.html to examples 2012-12-01 16:39:31 -06:00
mdipierro
1bfd5bc20a removed test, lazy table do not suport self references 2012-11-30 14:30:49 -06:00
mdipierro
d0047e6e5b removed test, lazy table do not suport self references 2012-11-30 14:30:49 -06:00
mdipierro
7c8ecbe126 wiki(menugroups=['wiki_editor']) 2012-11-30 09:02:35 -06:00
mdipierro
90955bdcab wiki(menugroups=['wiki_editor']) 2012-11-30 09:02:35 -06:00
mdipierro
eda7e27394 fixed error reporting in dal 2012-11-30 08:34:11 -06:00
mdipierro
d2b4099cdb fixed error reporting in dal 2012-11-30 08:34:11 -06:00
mdipierro
b6947c5f25 fixed problem with lazy tables and self references 2012-11-29 23:54:29 -06:00
mdipierro
1e7315d4a8 fixed problem with lazy tables and self references 2012-11-29 23:54:29 -06:00
mdipierro
792b313891 Allow for Field Validators to handle None values, fixed issue 1183, thanks Joe Barnhart 2012-11-29 22:35:20 -06:00
mdipierro
d7ace92c04 Allow for Field Validators to handle None values, fixed issue 1183, thanks Joe Barnhart 2012-11-29 22:35:20 -06:00
mdipierro
a56030b6c1 allow -R ...pyc, fixed issue 1186, thanks Corne.Dickens 2012-11-29 18:21:06 -06:00
mdipierro
568c33d7d6 allow -R ...pyc, fixed issue 1186, thanks Corne.Dickens 2012-11-29 18:21:06 -06:00
mdipierro
9291d38bb5 added missing fileutils, fixed issue 1193, thanks Yager 2012-11-29 17:13:30 -06:00
mdipierro
ef8f10c42d added missing fileutils, fixed issue 1193, thanks Yager 2012-11-29 17:13:30 -06:00
mdipierro
33271c8386 fixed issue 1197, Virtual Fields are stored in session 2012-11-29 17:05:27 -06:00
mdipierro
fc7c4432e9 fixed issue 1197, Virtual Fields are stored in session 2012-11-29 17:05:27 -06:00
mdipierro
1a2d11560f do not redirect after auth.logout() if next is None 2012-11-29 09:52:48 -06:00
mdipierro
04a7d9a92d do not redirect after auth.logout() if next is None 2012-11-29 09:52:48 -06:00
mdipierro
fabc3a5db1 new router patch fixes runaway vulnerability, thanks Jonathan 2012-11-27 11:29:36 -06:00
mdipierro
b83673f1c8 new router patch fixes runaway vulnerability, thanks Jonathan 2012-11-27 11:29:36 -06:00
mdipierro
25f16b5315 fixed bug in getlist thanks roger 2012-11-27 10:17:22 -06:00
mdipierro
ba21ce887a fixed bug in getlist thanks roger 2012-11-27 10:17:22 -06:00
mdipierro
c4ffbf4b2b style upload button 2012-11-27 10:11:52 -06:00
mdipierro
5764482acd style upload button 2012-11-27 10:11:52 -06:00
mdipierro
24531b85c6 fixed issue 1174, cache folder in examples 2012-11-24 11:12:20 -06:00
mdipierro
1b0e08cfa0 fixed issue 1174, cache folder in examples 2012-11-24 11:12:20 -06:00
mdipierro
b8ca2a1e97 fixed issue 1174, cache folder in examples 2012-11-24 11:07:07 -06:00
mdipierro
e59cb43b0b fixed issue 1174, cache folder in examples 2012-11-24 11:07:07 -06:00
mdipierro
fe4713ad88 fixed issue 1176, truncate on GAE+SQL 2012-11-24 10:58:44 -06:00
mdipierro
2cbca7a43d fixed issue 1176, truncate on GAE+SQL 2012-11-24 10:58:44 -06:00
mdipierro
43c97bd8cc fixed issue 1179, welcome.w2p created if not exists 2012-11-24 10:48:27 -06:00
mdipierro
d2dd3d0ac6 fixed issue 1179, welcome.w2p created if not exists 2012-11-24 10:48:27 -06:00
mdipierro
71fb544eaa added .woff contenttype, fixed issue 1181, thanks Chris 2012-11-24 10:35:47 -06:00
mdipierro
6324ed7a9c added .woff contenttype, fixed issue 1181, thanks Chris 2012-11-24 10:35:47 -06:00
mdipierro
2323b07d07 rocket support for IPV6, thanks Chirs Winebrinner 2012-11-24 10:15:37 -06:00
mdipierro
23595c0608 rocket support for IPV6, thanks Chirs Winebrinner 2012-11-24 10:15:37 -06:00
mdipierro
291e7ebb57 Merge branch 'master' of github.com:web2py/web2py 2012-11-24 10:09:48 -06:00
mdipierro
eebc3418f9 Merge branch 'master' of github.com:web2py/web2py 2012-11-24 10:09:48 -06:00
mdipierro
7794090bfe Merge pull request #44 from cwinebrinner/rocket_ipv6_and_cleanup
explorigin/Rocket merged and IPv6 support added
2012-11-24 08:06:54 -08:00
mdipierro
867caae3da Merge pull request #44 from cwinebrinner/rocket_ipv6_and_cleanup
explorigin/Rocket merged and IPv6 support added
2012-11-24 08:06:54 -08:00
mdipierro
2f06fe4d2a fixed router regex runaway, thanks Jonathan 2012-11-23 11:58:36 -06:00
mdipierro
d0098a878a fixed router regex runaway, thanks Jonathan 2012-11-23 11:58:36 -06:00
mdipierro
b41e89586c fixed ldap security issue, thanks demetrio 2012-11-23 08:02:01 -06:00
mdipierro
ee7db631ee fixed ldap security issue, thanks demetrio 2012-11-23 08:02:01 -06:00
Charles Winebrinner
bd13035a17 Added IPv6 support for Rocket, refactored some code, and fixed some bugs. 2012-11-18 01:03:04 -06:00
Charles Winebrinner
b388f41f80 Added IPv6 support for Rocket, refactored some code, and fixed some bugs. 2012-11-18 01:03:04 -06:00
Charles Winebrinner
c6c54ad98d Merged explorigin/Rocket and brought web2py's rocket more in line with upstream. 2012-11-18 00:32:24 -06:00
Charles Winebrinner
9f5391bbc0 Merged explorigin/Rocket and brought web2py's rocket more in line with upstream. 2012-11-18 00:32:24 -06:00
Charles Winebrinner
a9ec60e4b9 Fixed a typo in utils.py. 2012-11-18 00:32:24 -06:00
Charles Winebrinner
22ca52a1cb Fixed a typo in utils.py. 2012-11-18 00:32:24 -06:00
Charles Winebrinner
1deee02eff PEP8'd rocket.py.footer (to be removed from rocket.py). 2012-11-18 00:32:24 -06:00
Charles Winebrinner
b56cfb372d PEP8'd rocket.py.footer (to be removed from rocket.py). 2012-11-18 00:32:24 -06:00
mdipierro
b27f2a59f4 better heroku script 2012-11-17 22:28:51 -06:00
mdipierro
c8367e257f better heroku script 2012-11-17 22:28:51 -06:00
mdipierro
d7a38b5350 better heroku support 2012-11-17 22:14:42 -06:00
mdipierro
62d37702a9 better heroku support 2012-11-17 22:14:42 -06:00
mdipierro
db02948e08 added heroku support 2012-11-17 21:38:28 -06:00
mdipierro
74fc2a2d85 added heroku support 2012-11-17 21:38:28 -06:00
mdipierro
7b1351daa3 fixed broken session in recent trunk 2012-11-17 13:28:50 -06:00
mdipierro
0ac1298501 fixed broken session in recent trunk 2012-11-17 13:28:50 -06:00
mdipierro
a317c223c4 fixed issue 1173, request.requires_https, thanks Maciej 2012-11-17 12:14:28 -06:00
mdipierro
faf76ac715 fixed issue 1173, request.requires_https, thanks Maciej 2012-11-17 12:14:28 -06:00
mdipierro
ffe118c45a fixed typo in response.updated, issue 1167, thanks dedirock 2012-11-17 12:06:39 -06:00
mdipierro
3ece96ae08 fixed typo in response.updated, issue 1167, thanks dedirock 2012-11-17 12:06:39 -06:00
mdipierro
e53a175740 better list widget, thanks Howesc 2012-11-17 12:04:29 -06:00
mdipierro
e91cf7f6ac better list widget, thanks Howesc 2012-11-17 12:04:29 -06:00
mdipierro
2b05b92de8 fixed issue 1152, gae sql varchar limit, and fixed typo in fpdf 2012-11-17 11:46:46 -06:00
mdipierro
019d3e07b5 fixed issue 1152, gae sql varchar limit, and fixed typo in fpdf 2012-11-17 11:46:46 -06:00
mdipierro
80ba8c2992 fixed image_map in gluon/contrib/fpdf/html.py 2012-11-17 09:16:07 -06:00
mdipierro
e3046845bf fixed image_map in gluon/contrib/fpdf/html.py 2012-11-17 09:16:07 -06:00
mdipierro
18ca3bb1c1 fixed broken HTT_HOST in routes_in 2012-11-17 08:59:55 -06:00
mdipierro
b8f52ed76a fixed broken HTT_HOST in routes_in 2012-11-17 08:59:55 -06:00
mdipierro
851053e4ec extra or {}, thanks villas 2012-11-16 16:24:13 -06:00
mdipierro
662abd29cb extra or {}, thanks villas 2012-11-16 16:24:13 -06:00
Michele Comitini
5f1566db49 Merge github.com:web2py/web2py 2012-11-16 11:31:05 +01:00
mdipierro
045f5b4578 auth.wiki(extra) 2012-11-15 14:34:20 -06:00
mdipierro
3560337b40 auth.wiki(extra) 2012-11-15 14:34:20 -06:00
mdipierro
a63b8ca9ca patches for @service.jsonrpc and exportclasses, thanks niphlod 2012-11-15 13:40:04 -06:00
mdipierro
c7985e8881 patches for @service.jsonrpc and exportclasses, thanks niphlod 2012-11-15 13:40:04 -06:00
mdipierro
1425a46c00 fixed generic.xml 2012-11-15 12:29:28 -06:00
mdipierro
a69bc44314 fixed generic.xml 2012-11-15 12:29:28 -06:00
mdipierro
1268d76ae8 do not create a new session if nothing in session file 2012-11-14 15:33:18 -06:00
mdipierro
651c92c175 do not create a new session if nothing in session file 2012-11-14 15:33:18 -06:00
mdipierro
0f2df1b46c fixed issue 1160, show button for linked tables even if referenced column is not readable 2012-11-14 15:00:04 -06:00
mdipierro
7319574f30 fixed issue 1160, show button for linked tables even if referenced column is not readable 2012-11-14 15:00:04 -06:00
mdipierro
f90d871fb6 fixed issue 1158, redirect client_side in auth forms embedded via LOAD, thanks PyCon support 2012-11-14 14:12:32 -06:00
mdipierro
b9821f1c21 fixed issue 1158, redirect client_side in auth forms embedded via LOAD, thanks PyCon support 2012-11-14 14:12:32 -06:00
mdipierro
019211cb80 possible solution to issue 1154, onvalidation = dict(onsuccess= [...]) 2012-11-14 13:47:56 -06:00
mdipierro
52ca6af024 possible solution to issue 1154, onvalidation = dict(onsuccess= [...]) 2012-11-14 13:47:56 -06:00
mdipierro
bc9e3427a0 jQuery 1.8.2 2012-11-14 08:44:11 -06:00
mdipierro
cc4d27c6d2 jQuery 1.8.2 2012-11-14 08:44:11 -06:00
mdipierro
54dabd979b fixed 2.5 issues with scheduler 2012-11-13 16:27:26 -06:00
mdipierro
b687977663 fixed 2.5 issues with scheduler 2012-11-13 16:27:26 -06:00
mdipierro
180c508d83 fixed CAS login for extra url fields, thanks efaisal 2012-11-09 14:11:37 -06:00
mdipierro
3e85f5bf39 fixed CAS login for extra url fields, thanks efaisal 2012-11-09 14:11:37 -06:00
mdipierro
0001e35400 fixed issue 1144, start webservert at 0.0.0.0 2012-11-08 16:19:44 -06:00
mdipierro
23165d9382 fixed issue 1144, start webservert at 0.0.0.0 2012-11-08 16:19:44 -06:00
mdipierro
3ae5774404 HTML(doctype=''), issue 1140 2012-11-08 11:29:47 -06:00
mdipierro
1abc31895e HTML(doctype=''), issue 1140 2012-11-08 11:29:47 -06:00
mdipierro
bce7bd7fa7 fixed issue 1143, grid/smartgrid GAE improvements, thanks Howesc 2012-11-08 10:05:46 -06:00
mdipierro
6fc70fbc55 fixed issue 1143, grid/smartgrid GAE improvements, thanks Howesc 2012-11-08 10:05:46 -06:00
mdipierro
ec429af686 fies typo in dal, issue 1146, thanks guruyaya 2012-11-08 10:04:24 -06:00
mdipierro
bf86becc5e fies typo in dal, issue 1146, thanks guruyaya 2012-11-08 10:04:24 -06:00
mdipierro
e11aa24b7d typo in compileapp, issue 1149, thanks Corne 2012-11-08 10:02:46 -06:00
mdipierro
510142ad2d typo in compileapp, issue 1149, thanks Corne 2012-11-08 10:02:46 -06:00
mdipierro
c5ecf80b65 possibly fixed issue 1151 2012-11-08 09:59:10 -06:00
mdipierro
6eb361d8f7 possibly fixed issue 1151 2012-11-08 09:59:10 -06:00
mdipierro
fc739f242d fixed issue 1147, belongs(None), thanks Marin 2012-11-06 14:26:28 -06:00
mdipierro
e56f588dea fixed issue 1147, belongs(None), thanks Marin 2012-11-06 14:26:28 -06:00
mdipierro
3f266a188a grid buttons_placement and links_placement , thanks Niphlod 2012-11-06 10:36:45 -06:00
mdipierro
0ee551de71 grid buttons_placement and links_placement , thanks Niphlod 2012-11-06 10:36:45 -06:00
mdipierro
e1bcd86e5e changed in custom_import 2012-11-06 09:47:02 -06:00
mdipierro
7dc40f68db changed in custom_import 2012-11-06 09:47:02 -06:00
Michele Comitini
b16fc6b19a Merge github.com:web2py/web2py 2012-11-06 05:02:10 +01:00
mdipierro
ad2b332fa0 improved scheduler, thanks Niphlod 2012-11-05 12:39:17 -06:00
mdipierro
adb0c08933 improved scheduler, thanks Niphlod 2012-11-05 12:39:17 -06:00
mdipierro
22e2b4864f fixed rss serializer again, thanks Charles Winebrinner 2012-11-04 20:45:25 -06:00
mdipierro
2fea9495b3 fixed rss serializer again, thanks Charles Winebrinner 2012-11-04 20:45:25 -06:00
mdipierro
7115c44cb8 fixed rss serializer again, thanks Charles Winebrinner 2012-11-04 19:55:15 -06:00
mdipierro
1f767c3497 fixed rss serializer again, thanks Charles Winebrinner 2012-11-04 19:55:15 -06:00
mdipierro
d33871db98 fixed rss2 again 2012-11-04 19:29:18 -06:00
mdipierro
09bae08dfa fixed rss2 again 2012-11-04 19:29:18 -06:00
mdipierro
9ced73cf1d fixed problem in rss2.py 2012-11-04 18:12:41 -06:00
mdipierro
8a137691ff fixed problem in rss2.py 2012-11-04 18:12:41 -06:00
mdipierro
0d9cb51021 adding missing views 2012-11-04 09:14:47 -06:00
mdipierro
7de90f18cc adding missing views 2012-11-04 09:14:47 -06:00
mdipierro
3448db8e67 fixed issue 1136, prevent redirection loop, better form, usability as embedded widgets, thanks Alan 2012-11-03 11:54:46 -05:00
mdipierro
859636e6e0 fixed issue 1136, prevent redirection loop, better form, usability as embedded widgets, thanks Alan 2012-11-03 11:54:46 -05:00
mdipierro
dec6afa0f1 better google wallet, checks parameters 2012-11-01 22:01:57 -05:00
mdipierro
a511682ce1 better google wallet, checks parameters 2012-11-01 22:01:57 -05:00
mdipierro
755a860011 many scheduler improvements, thanks Niphlod 2012-11-01 21:35:53 -05:00
mdipierro
6a81420fc0 many scheduler improvements, thanks Niphlod 2012-11-01 21:35:53 -05:00
mdipierro
3173d75dad fixed issue 1124, create new auth.wiki page from slug model, thanks Nico 2012-11-01 21:33:06 -05:00
mdipierro
fa019e8960 fixed issue 1124, create new auth.wiki page from slug model, thanks Nico 2012-11-01 21:33:06 -05:00
mdipierro
f52c981316 better gluon.tools.Expose, thanks Richard 2012-11-01 21:09:09 -05:00
mdipierro
b17358e761 better gluon.tools.Expose, thanks Richard 2012-11-01 21:09:09 -05:00
mdipierro
d16ad52a56 fixed issue 1132, unicode in IS_IN_DB validator 2012-11-01 21:07:47 -05:00
mdipierro
c9b41a4343 fixed issue 1132, unicode in IS_IN_DB validator 2012-11-01 21:07:47 -05:00
mdipierro
f02fe585c8 fixed issue 1134, gae dal delete, thanks Howesc 2012-11-01 21:01:46 -05:00
mdipierro
8affdbdc86 fixed issue 1134, gae dal delete, thanks Howesc 2012-11-01 21:01:46 -05:00
mdipierro
bb5a613ad2 fixed issue 1130, prevent exception for virtual fields in forms, thanks hi21alt 2012-10-31 11:43:11 -05:00
mdipierro
a61e388498 fixed issue 1130, prevent exception for virtual fields in forms, thanks hi21alt 2012-10-31 11:43:11 -05:00
mdipierro
15e5b1a2f0 scripts/extract_sqlite_models.py, thanks Michele 2012-10-31 10:23:56 -05:00
mdipierro
d72752f453 scripts/extract_sqlite_models.py, thanks Michele 2012-10-31 10:23:56 -05:00
mdipierro
863140fec9 allows to customize the A in a MENU, thanks ilvalle 2012-10-31 10:22:20 -05:00
mdipierro
d67af48f29 allows to customize the A in a MENU, thanks ilvalle 2012-10-31 10:22:20 -05:00
mdipierro
16540d32ae fixed issue 1117, snitize of unicode, thanks Bill 2012-10-31 10:02:08 -05:00
mdipierro
b18a2a7aa3 fixed issue 1117, snitize of unicode, thanks Bill 2012-10-31 10:02:08 -05:00
mdipierro
6801ed07d8 fixed issue 1127, SQLTABLE column with virtual fields, thanks hi21alt 2012-10-31 09:52:43 -05:00
mdipierro
693dce0e6c fixed issue 1127, SQLTABLE column with virtual fields, thanks hi21alt 2012-10-31 09:52:43 -05:00
mdipierro
783d049668 fixed issue 1129, recapcha message error, thanks Friedrich 2012-10-31 09:50:37 -05:00
mdipierro
e1cd36771e fixed issue 1129, recapcha message error, thanks Friedrich 2012-10-31 09:50:37 -05:00
mdipierro
f62c8f6489 allow to pass hidden to crud.update 2012-10-31 09:14:58 -05:00
mdipierro
12107da9bd allow to pass hidden to crud.update 2012-10-31 09:14:58 -05:00
Michele Comitini
33ebb0ce84 Merge github.com:web2py/web2py 2012-10-31 11:20:32 +01:00
Michele Comitini
3d1dfadc18 removed prints 2012-10-30 17:40:13 +01:00
Michele Comitini
9f2e135e80 improved regex matching 2012-10-30 17:39:49 +01:00
Massimo
c404db4a08 fixed sync languages, thanks Yair 2012-10-30 11:09:50 -05:00
Massimo
96eee74f56 fixed sync languages, thanks Yair 2012-10-30 11:09:50 -05:00
Massimo
5713ec1365 fixed validator recent typo 2012-10-30 09:42:03 -05:00
Massimo
2f881085ef fixed validator recent typo 2012-10-30 09:42:03 -05:00
mdipierro
bd6b719c32 reverted changes about formatting None 2012-10-29 22:25:19 -05:00
mdipierro
7b2afa109e reverted changes about formatting None 2012-10-29 22:25:19 -05:00
mdipierro
30ffb3492a gluon/contrib/login_methods/dropbox_account.py, get client 2012-10-29 22:22:36 -05:00
mdipierro
8dae3f832d gluon/contrib/login_methods/dropbox_account.py, get client 2012-10-29 22:22:36 -05:00
mdipierro
23f34e0f80 page and media preview in wiki, thanks Niphlod 2012-10-29 21:38:09 -05:00
mdipierro
c61e0e11bb page and media preview in wiki, thanks Niphlod 2012-10-29 21:38:09 -05:00
mdipierro
d1ac7981dd moved toolbar logic to dal, thanks Niphlod 2012-10-29 18:13:58 -05:00
mdipierro
04caa5f4e4 moved toolbar logic to dal, thanks Niphlod 2012-10-29 18:13:58 -05:00
mdipierro
28d320e5ac added informix to list, thanks Christopher 2012-10-29 18:11:52 -05:00
mdipierro
6a13c33c70 added informix to list, thanks Christopher 2012-10-29 18:11:52 -05:00
mdipierro
827ea1808a if user_group_name is None, user_group_role is also None 2012-10-29 14:00:29 -05:00
mdipierro
4357edb1d4 if user_group_name is None, user_group_role is also None 2012-10-29 14:00:29 -05:00
mdipierro
18d97c0609 csv can return a generator, thanks Jonathan 2012-10-29 11:36:04 -05:00
mdipierro
9d7e009c0f csv can return a generator, thanks Jonathan 2012-10-29 11:36:04 -05:00
mdipierro
094646d5ba validator.formatter checks None 2012-10-29 10:09:07 -05:00
mdipierro
7549f77edc validator.formatter checks None 2012-10-29 10:09:07 -05:00
mdipierro
2b0943b57d fixed redirection after change password, issue 1112, thanks Friedrich 2012-10-29 09:31:51 -05:00
mdipierro
5ee2ab9b6b fixed redirection after change password, issue 1112, thanks Friedrich 2012-10-29 09:31:51 -05:00
mdipierro
c6f3bda227 fixed issue 1118, reload page when called by component, thanks Paolo 2012-10-29 09:28:19 -05:00
mdipierro
54b98b4e05 fixed issue 1118, reload page when called by component, thanks Paolo 2012-10-29 09:28:19 -05:00
mdipierro
8e9a190fef fixed toolbar issue 1111, thanks niphlod 2012-10-29 09:06:52 -05:00
mdipierro
6e0e48e150 fixed toolbar issue 1111, thanks niphlod 2012-10-29 09:06:52 -05:00
mdipierro
db21f663fe fixed issue 1120, bug introduced in latest utils.py import. thanks Yair 2012-10-29 08:59:54 -05:00
mdipierro
fe5a1c6a8d fixed issue 1120, bug introduced in latest utils.py import. thanks Yair 2012-10-29 08:59:54 -05:00
mdipierro
554640b103 fixed issue 1121, appadmin interface to cache, thanks Paolo 2012-10-29 08:57:43 -05:00
mdipierro
8332106754 fixed issue 1121, appadmin interface to cache, thanks Paolo 2012-10-29 08:57:43 -05:00
mdipierro
ba1a28f47a fixed bug in sessions2trach.py, issue 1111, thanks Szimszon 2012-10-29 08:53:50 -05:00
mdipierro
aa149d2e7b fixed bug in sessions2trach.py, issue 1111, thanks Szimszon 2012-10-29 08:53:50 -05:00
Michele Comitini
c58c6157e9 pulling custom_import from upstream 2012-10-29 10:11:18 +01:00
mdipierro
056ffa300a following Joe and Jonathan's advice, None value is formatted 2012-10-28 12:01:09 -05:00
mdipierro
a5f883c2f0 following Joe and Jonathan's advice, None value is formatted 2012-10-28 12:01:09 -05:00
Michele Comitini
d450d48e99 Merge github.com:web2py/web2py 2012-10-28 14:38:03 +01:00
Michele Comitini
0aa87fed63 model generator for sqlite legacy databases. 2012-10-28 14:37:34 +01:00
mdipierro
70cc551bba better utils.py, thanks Niphlod 2012-10-27 14:37:40 -05:00
mdipierro
5953377060 better utils.py, thanks Niphlod 2012-10-27 14:37:40 -05:00
Michele Comitini
78cf7e0622 Merge github.com:web2py/web2py 2012-10-27 21:26:31 +02:00
mdipierro
b44f82c13c removed redundant assignment, thanks Niphlod 2012-10-26 15:51:17 -05:00
mdipierro
5a478302f4 removed redundant assignment, thanks Niphlod 2012-10-26 15:51:17 -05:00
mdipierro
8fe14215e1 fixed scheduler bug, thanks Niphlod 2012-10-26 15:49:47 -05:00
mdipierro
1621825166 fixed scheduler bug, thanks Niphlod 2012-10-26 15:49:47 -05:00
mdipierro
b87d3fb481 fixed commit mistake, thanks Nico 2012-10-25 17:23:05 -05:00
mdipierro
6af2e859ac fixed commit mistake, thanks Nico 2012-10-25 17:23:05 -05:00
mdipierro
88cfa5ef2a fixed issue 1096, thanks Howesc 2012-10-25 10:23:50 -05:00
mdipierro
fb22a8843e fixed issue 1096, thanks Howesc 2012-10-25 10:23:50 -05:00
mdipierro
913d6331c6 fixed issue 1104, thanks Paolo Valleri 2012-10-25 10:19:50 -05:00
mdipierro
529dda0e6d fixed issue 1104, thanks Paolo Valleri 2012-10-25 10:19:50 -05:00
mdipierro
a1a6cd0d07 fixed issue 1109 2012-10-25 10:11:51 -05:00
mdipierro
35c893d47a fixed issue 1109 2012-10-25 10:11:51 -05:00
mdipierro
88e554fb7e fixed issue 1113, thanks Nico 2012-10-25 10:07:39 -05:00
mdipierro
99e2397981 fixed issue 1113, thanks Nico 2012-10-25 10:07:39 -05:00
mdipierro
6394953a17 fixed issue 1114, thanks Friedrich 2012-10-25 10:04:04 -05:00
mdipierro
b6d68f97d6 fixed issue 1114, thanks Friedrich 2012-10-25 10:04:04 -05:00
mdipierro
c7019930fd operators in grid are not translated, thanks Friedrich Weber 2012-10-25 10:02:40 -05:00
mdipierro
74024301a5 operators in grid are not translated, thanks Friedrich Weber 2012-10-25 10:02:40 -05:00
mdipierro
1b15818ab6 better pep8 in ldap_auth.py, thanks Gyuris 2012-10-25 08:47:36 -05:00
mdipierro
1f100bbe88 better pep8 in ldap_auth.py, thanks Gyuris 2012-10-25 08:47:36 -05:00
mdipierro
a48b008f99 wiki edit menu pages conditional to login 2012-10-25 08:22:34 -05:00
mdipierro
c94c192e17 wiki edit menu pages conditional to login 2012-10-25 08:22:34 -05:00
mdipierro
7ec816bf73 better sessions2trash.py, thanks Jim 2012-10-25 08:17:30 -05:00
mdipierro
0d9e5985e4 better sessions2trash.py, thanks Jim 2012-10-25 08:17:30 -05:00
Massimo
fd16eb767e fixed missing sys in languages 2012-10-24 16:04:32 -05:00
Massimo
b31bfdaaf5 fixed missing sys in languages 2012-10-24 16:04:32 -05:00
mdipierro
90bcc9b08b dal almost runs with python 3.3 but fails a test on 2.5 2012-10-23 11:30:02 -05:00
mdipierro
5f67edbf87 dal almost runs with python 3.3 but fails a test on 2.5 2012-10-23 11:30:02 -05:00
mdipierro
3d6be9a383 dal compiles with python 3.3 2012-10-23 11:13:29 -05:00
mdipierro
093e8b356e dal compiles with python 3.3 2012-10-23 11:13:29 -05:00
mdipierro
d575d8053f template compiles with python 3.0 2012-10-23 10:45:17 -05:00
mdipierro
43d4c2831d template compiles with python 3.0 2012-10-23 10:45:17 -05:00
mdipierro
50497b3c1f languages.py closer to python 3.0 support 2012-10-23 10:28:46 -05:00
mdipierro
55a0dbeb86 languages.py closer to python 3.0 support 2012-10-23 10:28:46 -05:00
mdipierro
49b40a1cf3 utils compiles with python 3 2012-10-23 10:17:23 -05:00
mdipierro
2f1f2dccc1 utils compiles with python 3 2012-10-23 10:17:23 -05:00
mdipierro
36518ecbeb reverted changs to utils 2012-10-23 10:13:17 -05:00
mdipierro
a4cef60c49 reverted changs to utils 2012-10-23 10:13:17 -05:00
mdipierro
28e773f9a7 utils compiles with python 3 2012-10-23 10:11:33 -05:00
mdipierro
96ee377279 utils compiles with python 3 2012-10-23 10:11:33 -05:00
mdipierro
5247981fa8 aes python 3 compiles (but does work well?) 2012-10-23 09:54:07 -05:00
mdipierro
4152c72de5 aes python 3 compiles (but does work well?) 2012-10-23 09:54:07 -05:00
mdipierro
ea6714e89b aes new raise compliant 2012-10-23 09:44:34 -05:00
mdipierro
ab066397b2 aes new raise compliant 2012-10-23 09:44:34 -05:00
mdipierro
5a63fddf02 reverted previous change but still problems with concurency multiple dbs in different folders in same app 2012-10-22 22:52:40 -05:00
mdipierro
8c514df120 reverted previous change but still problems with concurency multiple dbs in different folders in same app 2012-10-22 22:52:40 -05:00
mdipierro
510e8d70d7 THREAD_LOCAL folder not reset in dal 2012-10-22 22:49:35 -05:00
mdipierro
0eab35842d THREAD_LOCAL folder not reset in dal 2012-10-22 22:49:35 -05:00
mdipierro
108aeb0ee1 portable languages 2012-10-22 22:21:11 -05:00
mdipierro
752bb7e048 portable languages 2012-10-22 22:21:11 -05:00
mdipierro
46610d59ce language changes 2012-10-22 22:14:40 -05:00
mdipierro
9e897dcc46 language changes 2012-10-22 22:14:40 -05:00
mdipierro
b5603d6956 minor fix in dal for rare condition 2012-10-22 18:50:18 -05:00
mdipierro
2bb3485827 minor fix in dal for rare condition 2012-10-22 18:50:18 -05:00
Michele Comitini
ccb976e233 Merge github.com:web2py/web2py 2012-10-22 23:38:35 +02:00
mdipierro
f0efd80e44 minor fix in dal for rare condition 2012-10-22 15:07:38 -05:00
mdipierro
0be4abe9c2 minor fix in dal for rare condition 2012-10-22 15:07:38 -05:00
Michele Comitini
d10774b3ae Merge github.com:web2py/web2py 2012-10-22 12:51:58 +02:00
mdipierro
b7208616cd R-2.2.1 2012-10-21 10:54:13 -05:00
mdipierro
cdaf4f651b assign_task takes better care for group_names, thanks Niphlod 2012-10-21 09:23:26 -05:00
mdipierro
ce979d2945 fixed a problem with capitalization in wiki 2012-10-20 19:38:54 -05:00
Michele Comitini
a451796562 merge with upstream after pep8 2012-10-21 00:12:30 +02:00
mdipierro
5aa27fc562 assign_task takes better care for group_names, thanks Niphlod 2012-10-20 15:27:13 -05:00
mdipierro
dc23087847 fixed issue 1102, thanks howesc 2012-10-20 10:12:04 -05:00
mdipierro
28084cf99a fixed issue 1109, thanks Niphlod 2012-10-20 10:11:08 -05:00
mdipierro
5d439bdc30 fixed issue 1100, thanks sherdim 2012-10-20 10:08:58 -05:00
mdipierro
3f4330d9b1 removed print statements from scheduler, thanks Niphlod 2012-10-20 10:03:57 -05:00
mdipierro
b9a1056503 back button in mobile admin demo 2012-10-19 18:43:14 -05:00
mdipierro
98353bc18a fixed problem with new importer and custom import 2012-10-19 18:36:39 -05:00
mdipierro
32a9d36934 populate fix and pep8 2012-10-19 14:59:30 -05:00
mdipierro
295084976b pep8 in scripts/*.py 2012-10-19 14:22:42 -05:00
mdipierro
d053900032 fixed pep8 in apps 2012-10-19 14:13:37 -05:00
mdipierro
c7943b8977 upgraded feedparer and PyRSS2Gen 2012-10-19 12:59:58 -05:00
mdipierro
6aa5edc7ff many pep8 improvements 2012-10-19 12:33:53 -05:00
mdipierro
71ec15190b some pep8 changes (fixed spacing at end) 2012-10-19 10:37:07 -05:00
mdipierro
3a66f5e330 fixed some pep8 stuff 2012-10-19 09:40:17 -05:00
mdipierro
ea9ae52e10 scheduler.queue_task, thank Niphlod 2012-10-18 18:20:51 -05:00
mdipierro
ec0d7e6ecf codemirror autoresize 2012-10-18 13:42:49 -05:00
mdipierro
8d5c82c531 scheduler.queue_task(...), thanks Niphlod 2012-10-18 13:02:19 -05:00
mdipierro
3124fd90b9 better openshift error 2012-10-17 17:00:50 -05:00
mdipierro
255cb5e1de faster scheduler, thanks Niphlod 2012-10-17 16:01:29 -05:00
mdipierro
a2a011f007 remove excessive session saving with caching of mobile_agent 2012-10-17 14:33:52 -05:00
mdipierro
1da32b81cf fixed appadmin bug and excessive session saving 2012-10-17 14:30:02 -05:00
mdipierro
b1e5ed4018 fixed problem with session in cookie, thanks Niphlod 2012-10-17 12:04:19 -05:00
mdipierro
5d2967abdf T.is_writable, thanks Fran 2012-10-17 09:13:48 -05:00
Massimo
3ea3d1a5f8 inlined sluggify 2012-10-16 11:47:16 -05:00
Massimo
6a8423bd88 customizable session cookie expriration 2012-10-16 11:23:41 -05:00
Massimo
7798e49d8a session cookie data no expires by default 2012-10-16 11:14:52 -05:00
Massimo
fd0f48f028 fixed auth.impersonating again, thanks Ricardo 2012-10-16 11:08:42 -05:00
Massimo
418e753684 current.T.is_writable=False no languages write, thanks Fran 2012-10-16 10:54:33 -05:00
Massimo
03eb760cd7 fixed issue 1092, thanks nicozanf 2012-10-16 10:34:36 -05:00
Massimo
90098648df users can switch between sessions storage types 2012-10-16 10:25:28 -05:00
mdipierro
00f1ab4393 improved session data in cookie 2012-10-16 07:44:22 -05:00
mdipierro
7119d53a86 improved session data in cookie 2012-10-16 07:10:33 -05:00
mdipierro
2afb8a5a96 fixed bug with auth.impersonate(0) 2012-10-16 06:19:39 -05:00
mdipierro
efcc2cf249 sessions in secure cookies, session.connect(cookie_key='mypassword') 2012-10-16 06:15:45 -05:00
mdipierro
bd5db6b48e reverting some test but session.__hash needs work 2012-10-15 21:49:43 -05:00
mdipierro
44d81b897a fixed problem with session __hash 2012-10-15 20:43:51 -05:00
mdipierro
5623db50fa fixed issue with storing Row in session 2012-10-15 19:39:25 -05:00
mdipierro
647ac1f84b more languages patches, thanks Vladyslav 2012-10-15 16:28:51 -05:00
mdipierro
e24b644a09 fixed make pip 2012-10-15 14:48:45 -05:00
mdipierro
c3a33c3795 who page 2012-10-15 14:44:04 -05:00
mdipierro
4e4f515ef1 better markmin with links in links, thanks Vladyslav 2012-10-15 07:43:23 -05:00
mdipierro
3f5bc60406 R-2.1.1 2012-10-15 06:40:55 -05:00
mdipierro
66fa7a1ea9 fixed error for missing driver 2012-10-15 06:36:44 -05:00
mdipierro
afa4d11c88 updated changelog 2012-10-15 06:15:33 -05:00
mdipierro
0cfb9681e6 improved custom_inport with app-level track changes 2012-10-15 05:55:45 -05:00
mdipierro
321b9c5999 better errors in custom_import, thanks Michele 2012-10-15 05:46:57 -05:00
mdipierro
3d9024561c -Y starts cron 2012-10-15 05:33:21 -05:00
Michele Comitini
1d5e4d7090 removed print 2012-10-15 11:34:31 +02:00
Michele Comitini
484f53224d Reverted to the import using fromlist, but with working traceback. 2012-10-15 11:20:04 +02:00
mdipierro
b49b8b4778 reverted custom_install tests 2012-10-14 20:07:54 -05:00
mdipierro
a03994d587 cron disabled by default unless -H 2012-10-14 18:29:17 -05:00
Michele Comitini
3c0b58322a Merge github.com:web2py/web2py 2012-10-15 00:35:25 +02:00
Michele Comitini
6dd9af61fd custom import fixes 2012-10-15 00:34:41 +02:00
mdipierro
48a4277ea2 fixed issue 1088 2012-10-14 16:40:49 -05:00
mdipierro
7731b96bcf auth = Auth(db).define_tables() in one line 2012-10-14 15:55:45 -05:00
mdipierro
54a6dee35d changed default driver for sqlite, thanks Niphlod 2012-10-14 15:32:33 -05:00
mdipierro
efbe8bd857 DAL(...,do_connect=False,migrate_enabled=False) 2012-10-14 15:08:25 -05:00
mdipierro
5ae3d5afdc auth_wiki extra fields, thanks Alan 2012-10-14 14:44:37 -05:00
mdipierro
dca071cb6f added storage of length, notnull, unique in .table files 2012-10-14 14:41:28 -05:00
mdipierro
238c04ff68 wiki preview patch, thanks Niphlod 2012-10-14 14:28:17 -05:00
mdipierro
1702f9cb19 bettere errors in custom_import, thanks Michele 2012-10-14 14:20:12 -05:00
mdipierro
76d619fb34 faster better web2py_uuid, thanks Michele 2012-10-14 14:16:43 -05:00
Michele Comitini
66dd7d4337 Merge github.com:web2py/web2py 2012-10-14 02:21:53 +02:00
Michele Comitini
344def2b3d Trying to simplify custom import. 2012-10-14 02:13:51 +02:00
mdipierro
40c09a5d80 new tests in test_web, tests static/_1.2.3/... 2012-10-13 14:36:20 -05:00
mdipierro
0b0fddb886 removed un-necessary setup_exe_2.6.py 2012-10-13 10:16:06 -05:00
mdipierro
d9f83927e1 no more custom_import_install in gaehandler.py 2012-10-13 09:37:41 -05:00
mdipierro
d8d85815ad redis session patch, thanks Niphlod 2012-10-13 09:26:53 -05:00
mdipierro
4d569d3f7d fixed issue 1081, conflict betweeen web2py css error and bootstrap error classes, thanks Paolo and lapcchan 2012-10-13 09:25:32 -05:00
Michele Comitini
db699de008 Merge github.com:web2py/web2py 2012-10-13 15:17:58 +02:00
mdipierro
10aa5d4c8c fixed issue 1084 2012-10-12 22:16:23 -05:00
mdipierro
06eaf803b5 ip address validator fixed 2012-10-12 18:17:06 -05:00
Michele Comitini
dc448f0033 Merge github.com:web2py/web2py 2012-10-12 21:17:03 +02:00
Massimo
63a5e953ba fixed problem with renaming of the rewrite.thread to rewrite.THREAD_LOCAL 2012-10-12 12:19:08 -05:00
Massimo
0f725d0d68 some minor simplifications in rewrite.py 2012-10-12 11:48:25 -05:00
Massimo
d61a4529f3 improved speed of regex_url_in 2012-10-12 11:33:02 -05:00
mdipierro
aadde5a791 much better custom_import, smaller, faster, and finally works with shell 2012-10-11 22:03:20 -05:00
mdipierro
ca5efcc032 fixed cron 2012-10-11 16:48:07 -05:00
mdipierro
a13c77d836 just alignment of custom_import 2012-10-11 09:23:36 -05:00
mdipierro
85edef0802 faster init on gae and better gae_memcache 2012-10-11 08:27:58 -05:00
Massimo
b3841e19d2 added comments in cache, thanks Michele 2012-10-10 15:16:21 -05:00
Michele Comitini
8d40ec9c1d Merge github.com:web2py/web2py 2012-10-10 21:21:04 +02:00
mdipierro
eaadd12c0e fixed problem with DAL on googlesql 2012-10-10 12:20:25 -05:00
mdipierro
1b780e3178 fixed impval=0, thanks vp 2012-10-10 12:10:51 -05:00
mdipierro
ae597dac7f increased admin (is_local) security, thanks Jonathan 2012-10-10 12:00:59 -05:00
mdipierro
83cd22077e rocket passes all pathoc tests without hang 2012-10-10 11:57:30 -05:00
mdipierro
6cd25ff346 faster local_hosts lookup 2012-10-10 11:43:06 -05:00
mdipierro
1a1bb7abd7 fixed issue 1077, thanks c.guimaraes 2012-10-10 11:25:25 -05:00
mdipierro
66aeff12fc fixed gae_memcache increment bug, issue 1079, thanks in4tunio 2012-10-10 11:21:01 -05:00
mdipierro
d5cdcf9285 many improvements in cache, lazy cache.ram and cache.disk 2012-10-10 11:03:52 -05:00
mdipierro
48d2ea7424 many improvements in cache 2012-10-10 11:01:09 -05:00
mdipierro
4222430988 better toolbar, thanks Niphlod 2012-10-10 09:19:01 -05:00
mdipierro
e95809a442 auth.wiki preview, thanks Niphlod 2012-10-10 09:18:09 -05:00
Michele Comitini
85ee2ca272 web2py_uuid 2x speedup 2012-10-10 00:06:10 +02:00
Massimo
45dd57e49e redis_sessions.py, thanks Niphlod 2012-10-09 14:36:34 -05:00
Massimo
e68ab9c746 added jquery.mobile 1.2.0 2012-10-09 09:04:27 -05:00
Michele Comitini
c98aa8e5af Merge github.com:web2py/web2py 2012-10-09 10:13:32 +02:00
mdipierro
89c4e562ee some work on mongodb but references do not work 2012-10-08 22:09:25 -05:00
mdipierro
72f5d51ca4 fixed time_expire typo in mamcache, thanks Bruno 2012-10-08 12:09:00 -05:00
mdipierro
3cab47a13d fixed problem with close all instances when no instances 2012-10-08 11:03:21 -05:00
mdipierro
19e7871355 removed rc1 2012-10-08 09:15:33 -05:00
mdipierro
f99d5d6b34 2.1.0rc1 2012-10-07 22:45:38 -05:00
mdipierro
90ed2b0c51 clearing zombie list. Should not be necessary but what the heck 2012-10-07 13:31:02 -05:00
mdipierro
64c7fdf057 fixed issue 1074, thanks mjmare 2012-10-07 10:48:37 -05:00
mdipierro
aa2ff6e3f2 fixed issue 1072 2012-10-07 10:13:20 -05:00
mdipierro
5b19b606c4 fixed routes example, issue 1073 2012-10-07 10:12:04 -05:00
mdipierro
700a639c8e fixed routes example, issue 1073 2012-10-07 10:11:10 -05:00
mdipierro
ab987cd740 db.define_table(...,redefine=True) 2012-10-07 01:10:08 -05:00
mdipierro
7cdef717d0 zombie dal is here, should fix scheduler problems while retaining Row/Rows serialization 2012-10-07 01:07:49 -05:00
mdipierro
626baf5705 Try the mobile interface link in site 2012-10-05 10:38:58 -05:00
mdipierro
2841fbbf61 fixed mobile admin, and improved it 2012-10-05 10:24:14 -05:00
mdipierro
b142fa9f7e lazy tables re-appeared in appadmin 2012-10-05 09:01:51 -05:00
mdipierro
6ab5c9d116 fixed IMAP reconnect 2012-10-05 07:25:21 -05:00
mdipierro
80a77b256e Auth use request.requires_https, thanks Yarin 2012-10-05 07:18:35 -05:00
mdipierro
de5546c713 fixed issue 990 2012-10-04 21:52:04 -05:00
mdipierro
1f07dc517e minor indentation change 2012-10-04 21:45:25 -05:00
mdipierro
3841025ffc fixed url_in(request, environ)[1]['PATH_INFO'] 2012-10-04 20:39:00 -05:00
mdipierro
f7c364d34b fixed issue 1067 2012-10-04 20:36:30 -05:00
mdipierro
669cb6547d removed depredation working, thanks Niphlod 2012-10-04 20:17:12 -05:00
mdipierro
9d4e854723 scheduler non-writable field, thanks Niphlod 2012-10-04 20:10:55 -05:00
mdipierro
a9f4585a36 Auth(secure=True), thanks Yarin and Niphlod 2012-10-04 15:12:52 -05:00
mdipierro
deaee3f6a8 fixed setup, thanks Mike 2012-10-04 15:06:58 -05:00
mdipierro
7a35973bbf fixed preblem with db singledon serialization in tickets 2012-10-04 11:53:04 -05:00
mdipierro
a0b0584be8 fixed wiki for missing body 2012-10-04 10:44:35 -05:00
mdipierro
66d9ead746 fixed problem with __new__ deprecated 2012-10-04 08:44:26 -05:00
mdipierro
8945dffb0c allow re-definition of tables 2012-10-04 08:35:39 -05:00
Michele Comitini
101aef7474 merge from upstream 2012-10-03 22:46:34 +02:00
Massimo
d026b39988 better request.requires_https, thanks Yarin and Niphlod 2012-10-03 12:32:12 -05:00
Massimo
2b99fd0ba6 fixed some problem with grid 2012-10-03 11:58:50 -05:00
Massimo
4ab78a096b fixed issue 1064 2012-10-03 11:54:03 -05:00
Massimo
9c5ba437de fised issue 1063 2012-10-02 14:55:56 -05:00
Massimo
b41490a6f6 wiki uses contains instead of startswith, thanks David 2012-10-02 14:50:16 -05:00
mdipierro
563934dcac fixed issue 738 2012-10-01 21:16:42 -05:00
mdipierro
e8702e757e attempt to fix issue 981 2012-10-01 21:11:45 -05:00
mdipierro
f4595ced2d possibly fixed 1020 2012-10-01 20:52:02 -05:00
mdipierro
6cc29e4527 fixed DAL.__new__ and SQLFORM.factory 2012-10-01 19:15:37 -05:00
mdipierro
485719ca1f more customizaiton of booleans 2012-10-01 17:07:06 -05:00
Michele Comitini
940024823e merge from upstream 2012-10-01 22:57:46 +02:00
mdipierro
187140f083 better generic.xml, thanks Derek 2012-10-01 15:54:35 -05:00
mdipierro
89cbe815a7 fixed issue 1031, thanks David 2012-10-01 14:49:42 -05:00
mdipierro
3d28d1c2a7 another rocket fix 2012-10-01 14:25:38 -05:00
mdipierro
8a638c6115 fixed textarea for long translation strings in admin 2012-10-01 12:30:02 -05:00
mdipierro
a71cd3058a speedup in build-environment, thanks Michele 2012-10-01 12:01:35 -05:00
mdipierro
720ce51dcd fixed rocket (removed handling of static files, faster parse headers, pathoc fault-tolerant) 2012-10-01 11:57:45 -05:00
mdipierro
727993dd45 simplification in after_update 2012-09-30 16:50:57 -05:00
Michele Comitini
40a82aa2dd Merge github.com:web2py/web2py 2012-09-30 22:01:09 +02:00
mdipierro
5e12803efa self.connector 2012-09-30 14:45:47 -05:00
mdipierro
8ffa5bbbcb adapter have do_connect 2012-09-30 14:19:52 -05:00
mdipierro
f502708f7a made contrib.pbkdf2 optionional for utils 2012-09-30 13:47:49 -05:00
mdipierro
ec82c6b8af cleaner code in dal 2012-09-30 13:40:41 -05:00
mdipierro
417c94470f fixed Storage copy 2012-09-30 13:20:05 -05:00
mdipierro
396f4449d8 experimental DAL rewrite (work in progress) 2012-09-30 08:37:27 -05:00
mdipierro
27e0f08ee9 fixed issues with grid form and b.parent 2012-09-30 08:32:03 -05:00
mdipierro
c0ad842851 fixed admin and new dal 2012-09-30 07:30:08 -05:00
mdipierro
2348709622 fixed some bugs with singleton and remobed password from session.auth.user 2012-09-30 07:26:23 -05:00
mdipierro
5f727f6e6e fixed problem with order of lazyness in DAL serialization in session 2012-09-30 00:23:15 -05:00
mdipierro
d42dfeb268 login works fine with lazy DAL 2012-09-30 00:10:25 -05:00
mdipierro
610cef4bb9 reverted DAL singleton until better understood 2012-09-29 23:47:30 -05:00
mdipierro
812e2535c0 Better LazySet 2012-09-29 23:38:07 -05:00
mdipierro
2ad2a6c77f pickle.dumps(db(query).select() now always works and loads restore the full object (almost) 2012-09-29 23:20:37 -05:00
mdipierro
f99a1406bb DAL is now a pickeable singleton 2012-09-29 22:33:18 -05:00
mdipierro
662261c590 in dal renamed thread to thread_local 2012-09-29 20:59:50 -05:00
mdipierro
fd1495effe MemcacheClient(time_expire=3600) 2012-09-29 20:20:03 -05:00
mdipierro
6150be51b1 better rocket parsing, support for multiline headers 2012-09-29 18:39:53 -05:00
mdipierro
0c2d0178db made new web2py_uuid working on python 2.5 2012-09-29 18:35:09 -05:00
mdipierro
0b4df40f60 yet faster web2py_uuid by caching urandom results 2012-09-29 17:56:43 -05:00
mdipierro
b7ac9b8757 more web2py_uuid speedup, thanks Michele 2012-09-29 17:16:35 -05:00
mdipierro
5e88150ee3 fixed issue 1046, thanks Houdini 2012-09-29 10:17:06 -05:00
mdipierro
309b051dbb fixed copy.copy(storage), thanks Corne 2012-09-29 09:55:57 -05:00
mdipierro
759de1e911 prettidate works with future dates, thanks Sanjoy 2012-09-29 09:53:46 -05:00
mdipierro
6a1a44b493 fixed issue 1044, thanks Paolo 2012-09-28 20:20:05 -05:00
mdipierro
828aa493a6 static asset management, thanks Niphlod 2012-09-28 17:06:11 -05:00
Massimo
6c5227b6b3 fixed issue 1042, thanks Dominic 2012-09-28 12:47:36 -05:00
Massimo
3ea23a97ed closed issue 995, thanks Peter 2012-09-28 12:38:03 -05:00
mdipierro
f7b5922fd9 fixed issue 1040 2012-09-28 09:25:27 -05:00
mdipierro
8bee93c236 faster web2py_uuid() thanks Michele 2012-09-28 09:21:03 -05:00
mdipierro
8e6e7ed4cc fixed search in wiki again for firebird 2012-09-28 08:51:18 -05:00
mdipierro
2c156e850a fixed menu hoover issue 1036, thanks Paolo 2012-09-27 22:28:59 -05:00
mdipierro
6fff0f5eee fixed many bugs in dal, thanks Mart Senecal 2012-09-27 22:15:56 -05:00
mdipierro
29201be7f0 fixed problem with pypy 2012-09-27 22:09:23 -05:00
mdipierro
f667c6224f added better comments to address issue 1033 2012-09-27 21:45:19 -05:00
mdipierro
ab6f0fd62d fixed field_parent references broken in 2.0.x, thanks Marin 2012-09-27 15:12:36 -05:00
mdipierro
da23a195ab removed some un-necessary has_attr 2012-09-27 14:43:57 -05:00
mdipierro
b1ec80793c fixed add button in grid 2012-09-27 14:21:55 -05:00
mdipierro
55cd08865f fixed issue 1032, thanks Carlos 2012-09-27 14:09:05 -05:00
mdipierro
4efd08a66f http 422, better tagcloud, possibly fixed firbird issue with tagcloud 2012-09-27 14:05:43 -05:00
mdipierro
ded6b0579d possibly fixed issue 1031, thanks villas 2012-09-26 12:45:56 -05:00
Massimo
534e8a629e db.get(,default=None), thanks Carlos 2012-09-25 16:18:52 -05:00
Massimo
b42436909f distinct instead of groupby 2012-09-25 14:56:49 -05:00
Massimo
b30c1af78a test 2012-09-25 14:50:32 -05:00
mdipierro
d984652ab7 CAS should disabled retrive username 2012-09-24 22:44:19 -05:00
mdipierro
440885cee2 synced web2py.js, thanks Jeremy 2012-09-24 20:18:30 -05:00
mdipierro
547ad1e9dc db().select(...query.case('true','false)) code cleanup 2012-09-24 18:09:22 -05:00
mdipierro
e7e875bb7b db().select(...query.case('true','false)) 2012-09-24 18:06:07 -05:00
mdipierro
c41f9972c3 gluon/contrib/comet_messaging.py -> gluon/contrib/websocket_messaging.py 2012-09-24 16:21:11 -05:00
mdipierro
be76f61c96 nore more typo fixed, thanks niphlod 2012-09-24 15:54:58 -05:00
mdipierro
ffca891f57 data, no attr, thanks Niphlod 2012-09-24 15:13:34 -05:00
mdipierro
40d3ff40f6 apos entity fix, thanks Michele 2012-09-24 12:48:39 -05:00
mdipierro
b8b2eadf2e better setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Bruno 2012-09-24 12:44:42 -05:00
mdipierro
ec16dc8cec crud methods have FORM **attributes, thanks Daniel 2012-09-24 12:43:22 -05:00
mdipierro
e8a2b3b10f fixed https://github.com/web2py/web2py/pull/33, fetching Oracle Clobs, thanks dhx 2012-09-24 12:39:28 -05:00
mdipierro
bcb6e477cf fixed issue 1028, thanks Sherdim 2012-09-24 11:59:57 -05:00
mdipierro
823dbdfcc1 addClass/hasClass entropy_check, thanks Niphlod 2012-09-24 11:50:59 -05:00
mdipierro
9cfffa8a78 fixed minify code to fix paths in css files, thanks Jeremy 2012-09-24 10:11:35 -05:00
mdipierro
862543a12c css:inline patch,thanks Jeremy 2012-09-24 09:25:26 -05:00
mdipierro
6e20017723 SQLFORM().accepts(onvalidation=dict(onchange=lambda....)), thanks Alan 2012-09-23 19:24:05 -05:00
mdipierro
e7fd8ee0b7 linked_tables in smartgrid can be a dict() 2012-09-23 19:16:27 -05:00
mdipierro
554fe30288 better entropy colors and optional callback, thanks Niphlod 2012-09-23 17:00:34 -05:00
mdipierro
3fbd80728d better entropy colors and optional callback, thanks Niphlod 2012-09-23 16:58:11 -05:00
mdipierro
1fb81bec39 linked_tables in smartgrid can be a dict() 2012-09-23 16:31:44 -05:00
mdipierro
2e0e559c59 linked_tables in smartgrid can be a dict() 2012-09-23 16:30:31 -05:00
mdipierro
68f63dc89b moved layout.js in web2py_bootstrap.js and include_files(extensions=[...]), thanks Jeremy 2012-09-23 14:37:50 -05:00
mdipierro
d8417955b3 entropy check code in web2py.js, thanks Niphlod 2012-09-23 14:07:50 -05:00
Michele Comitini
f4cc813740 fixed apos encoding. 2012-09-22 23:37:06 +02:00
Michele Comitini
39f5c04f94 added comment 2012-09-22 23:14:15 +02:00
Michele Comitini
f1fcb886a0 utf-8 entities pre-encoding speedup. 2012-09-22 23:10:07 +02:00
Michele Comitini
7b373ecb71 compatibility with xhtml "apos" entity and entity decoding speedup. 2012-09-22 22:58:55 +02:00
mdipierro
c9fc88e8de fixed typo in validators 2012-09-22 11:19:14 -05:00
mdipierro
92ade120af removed some duplication of code in dal.py, thanks Mart 2012-09-22 10:11:17 -05:00
mdipierro
613252f210 restored comments in boostrap_css.css 2012-09-22 09:54:53 -05:00
mdipierro
db99f6f34a moved entropy js back to user.html 2012-09-22 09:52:08 -05:00
mdipierro
768dbf5bd3 formstyle='inline' for forms with single field 2012-09-21 22:49:45 -05:00
mdipierro
305e7906b9 reverted 4077 because distinct on and groupby are not equivalent. Moreover distinct on is supported only by postgresql because potentially non-deterministic and should be discouraged. Thanks Alexander 2012-09-21 22:29:55 -05:00
mdipierro
0fc03982c8 broken long lines in minify 2012-09-21 22:23:45 -05:00
mdipierro
dea823f575 fixed share Google+, thanks nicozanf 2012-09-21 22:14:08 -05:00
mdipierro
44d0b21eb9 Merge branch 'master' of https://github.com/nicozanf/web2py 2012-09-21 22:13:09 -05:00
mdipierro
58cff21ced moved entropy JS in PasswordWidget but the source should be moved in separate file 2012-09-21 22:12:17 -05:00
mdipierro
78cc80714d added missing patch, thanks Niphlod 2012-09-21 22:01:51 -05:00
Nico Zanferrari
67ad20ce5a Modified share to Buzz to Google+ 2012-09-22 00:10:23 +02:00
nicozanf
db116d0a07 Merge pull request #3 from mdipierro/master
up
2012-09-21 14:32:55 -07:00
Michele Comitini
5f7befcfbd merge 2012-09-21 23:26:25 +02:00
Michele Comitini
dbcbc5eb95 merge 2012-09-21 23:25:09 +02:00
mdipierro
2be3037ed3 cleanup web2py_bootstrap.css 2012-09-21 09:37:37 -05:00
mdipierro
eb1a3da363 scheduler optimization for single process, thanks Niphlod 2012-09-21 08:58:43 -05:00
mdipierro
fd9b100423 user.html has entrpy color-coding, thanks Niphlod 2012-09-21 08:57:11 -05:00
mdipierro
3c8c25d680 hidden fields should be visible 2012-09-21 08:29:16 -05:00
nicozanf
a0e26dfc2d Merge pull request #1 from mdipierro/master
test
2012-09-20 13:29:35 -07:00
mdipierro
49f7d6bab1 added search to codemirror 2012-09-20 13:25:54 -05:00
mdipierro
358ec48d8a better zip_static_files.py, thanks Niphlod 2012-09-20 11:19:11 -05:00
mdipierro
afbbfd7e46 fixed issue 1021, thanks Edouard and Jonathan 2012-09-20 11:16:51 -05:00
nicozanf
45391c7cc8 Unnecessary calls to logging()
the module logging() is not imported and called unnecessary.
2012-09-20 17:52:55 +03:00
mdipierro
2fc2275495 possibly fixed issue 1020 2012-09-20 09:27:05 -05:00
mdipierro
b6bba49d47 changed brand color 2012-09-20 09:24:38 -05:00
mdipierro
887f02f859 better layout yet, thanks Paolo 2012-09-20 09:19:21 -05:00
mdipierro
a5ef1c8e3b new web2py_bootstrap_nojs.css, thanks Paolo 2012-09-20 09:16:04 -05:00
mdipierro
cac6633bf7 entropy computation in IS_STRONG, thanks Jonathan 2012-09-20 09:14:51 -05:00
mdipierro
738059f56a fixed a problem with reset_password redirect loop 2012-09-19 23:04:10 -05:00
mdipierro
ef7b1c1454 mail.send(...,sender='Mr X <%(sender)s>') 2012-09-19 00:03:06 -05:00
mdipierro
cf30f1b255 mail.send(...,sender='Mr X <%(sender)s>') 2012-09-19 00:00:18 -05:00
Michele Comitini
4c4462987e Merge github.com:web2py/web2py 2012-09-19 00:26:30 +02:00
mdipierro
d21af5b277 enhanced imapadapter, thanks Alan 2012-09-18 13:39:16 -05:00
mdipierro
a72cdcfd90 fixed recent typo, thanks Christian 2012-09-18 13:37:41 -05:00
mdipierro
0e3f7a0706 possibly fixed issue 1016 2012-09-18 13:35:47 -05:00
mdipierro
15622d2e92 some more CSS fixes, thanks Paolo 2012-09-17 21:37:13 -05:00
mdipierro
554bb815c9 bootstrap 2.1.1, thanks Paolo 2012-09-17 21:32:49 -05:00
mdipierro
8c14e64909 improved minify, thanks Niphlod 2012-09-17 21:25:05 -05:00
mdipierro
b1d3e8faaa IS_IN_DB cacheable=True 2012-09-17 16:22:30 -05:00
mdipierro
9784c198e3 fixed a problem with order of table definitions in auth.wiki, thanks David 2012-09-17 14:23:13 -05:00
mdipierro
642a9c5c94 fixed problem with missing wiki_media.filename 2012-09-17 11:47:07 -05:00
mdipierro
c83bdbd14e fixed issue 1014, thanks Sherdim 2012-09-17 11:43:26 -05:00
mdipierro
6880727e4f better layout, thanks Paolo 2012-09-17 11:36:00 -05:00
mdipierro
db2ef362af fixed comment 2012-09-17 10:26:17 -05:00
mdipierro
233f0cfd0d fixed issue 1005, thanks howesc 2012-09-17 09:36:13 -05:00
mdipierro
3340398cd7 fixed imap dal __contains__ issue 1013, thanks Alan 2012-09-17 09:12:13 -05:00
mdipierro
d2d07a3fc1 cid argument in SQLTABLE, thanks Massimiliano 2012-09-17 08:58:01 -05:00
mdipierro
1b9e7daca5 fixed ducktyping problem, thanks Jonathan 2012-09-17 07:13:26 -05:00
mdipierro
68e8cd64f1 fixed exception on missin stored_password 2012-09-17 07:10:51 -05:00
mdipierro
3b053b5d60 scripts/zip_static_files.py, thanks Niphlod 2012-09-16 15:55:10 -05:00
mdipierro
74284193dc niphlod is right, no need to to restrict gzip streaming to rocket 2012-09-16 15:54:20 -05:00
mdipierro
c9a7b2394d convert distinct to groupby when not supported 2012-09-16 15:51:51 -05:00
mdipierro
6d79d3352c better streamer 2012-09-16 15:38:31 -05:00
mdipierro
508b3e1db7 adding missing import in scheduler 2012-09-16 14:10:39 -05:00
mdipierro
34a71b5e2d possibly fixed issue 1011 2012-09-16 13:55:29 -05:00
mdipierro
49fb0c90ad fixed problem with error on liststring widget 2012-09-16 13:06:43 -05:00
mdipierro
82bb245d43 fixed alignment in forms with list:string 2012-09-16 12:23:19 -05:00
mdipierro
fa480b0bc3 fixed datetime T in scheduler 2012-09-16 11:46:03 -05:00
mdipierro
05d351cd68 fixed issue 1010, error reporting on list:string 2012-09-16 11:43:03 -05:00
mdipierro
60b6fd11f9 better impersonate, thanks Alan 2012-09-16 10:43:39 -05:00
mdipierro
f5003bb07a typo in new appadmin.html 2012-09-16 08:53:01 -05:00
mdipierro
3bc94b2794 auth.wiki(render='markmin'), thanks Guruyaya 2012-09-15 15:42:44 -05:00
mdipierro
8960f91c7b wiki file should be filename, thanks David 2012-09-15 13:41:24 -05:00
mdipierro
b52cf468af gae_memcache.clear(), thanks Matt 2012-09-14 21:17:01 -05:00
mdipierro
4031b49d77 cache.with_prefix(cache.ram,'prefix'), thanks Bruno 2012-09-14 16:08:25 -05:00
mdipierro
7afb5072c7 db.t.f.epoch(), thanks Niphlod 2012-09-14 15:51:58 -05:00
mdipierro
0a2f810264 fixed google+ share 2012-09-14 09:42:16 -05:00
mdipierro
afcbfccdc4 db(table).select() uses table._id<>None instead of table._id>0 2012-09-14 09:27:09 -05:00
mdipierro
037215da47 fixed typo in setup script, thanks Devon 2012-09-14 09:23:31 -05:00
mdipierro
ac736c6deb uninstalled apps backup under deposit 2012-09-14 08:47:42 -05:00
mdipierro
9ada6555e4 removed troublesome chipin widget 2012-09-13 21:48:40 -05:00
mdipierro
0cd5e0869d tables and field names should be allowed to start in a number, thanks Adi 2012-09-13 21:04:45 -05:00
mdipierro
e478e836a2 R-2.0.9 2012-09-13 17:48:19 -05:00
mdipierro
369681d76d R-2.0.9 2012-09-13 17:06:17 -05:00
mdipierro
d8cf6810b8 conditional paginator makes better grid 2012-09-13 14:56:42 -05:00
mdipierro
b6a00269af yet more layout improvements, thanks Paolo 2012-09-13 14:12:06 -05:00
mdipierro
8f267a19c4 fixed grid layout again 2012-09-13 14:06:58 -05:00
mdipierro
59d9645f33 fixed routes.examples.py 2012-09-13 09:28:44 -05:00
mdipierro
ab985d90f7 some more flash style changes 2012-09-13 09:08:12 -05:00
mdipierro
1894c4b855 yellow flash-top, thanks Paolo 2012-09-13 08:35:47 -05:00
mdipierro
c2109e9744 fixed dt = time_expire in memcache, thanks Bruno 2012-09-13 08:30:20 -05:00
mdipierro
7755a58bb3 fixed error style again 2012-09-13 07:46:16 -05:00
mdipierro
1b0890ae6e better error messages 2012-09-13 07:18:23 -05:00
mdipierro
78540624ae forgiving T for unicode, thanks Vladyslav 2012-09-13 06:59:42 -05:00
mdipierro
1db243e236 fixed bug in mem(e)cache 2012-09-13 06:58:45 -05:00
mdipierro
9cca0dcce8 masking passwords in toolbar, thanks Bruno 2012-09-13 06:55:58 -05:00
mdipierro
c9f05b0299 more flexible notifications 2012-09-12 22:53:59 -05:00
mdipierro
9224e0c3f2 removed applications/welcome/private/auth.key 2012-09-12 11:26:21 -05:00
mdipierro
8fb24e5315 removed unnecessary line 2012-09-12 11:16:51 -05:00
mdipierro
92557c8225 fixed issue 1000, broken GAE belongs for field id, thanks Alan 2012-09-12 11:10:58 -05:00
mdipierro
33e6975ac4 fixed issue 999 removed unwanted redirect in grid 2012-09-12 11:08:32 -05:00
mdipierro
e02309bc44 fixed span12 problem in welcome 2012-09-12 10:43:40 -05:00
mdipierro
a6269d77ae navbar dropdown, thanks Paolo 2012-09-12 10:18:34 -05:00
mdipierro
ad6ed03f0d fixed minify caching problem, thanks Niphlod 2012-09-12 09:55:56 -05:00
mdipierro
e3a9044164 moved deafult headers logic, thanks Niphlod 2012-09-11 17:32:46 -05:00
mdipierro
9a781c0f2b more examples in routes.example.py 2012-09-11 16:49:30 -05:00
mdipierro
00eb0d8a85 yet simpler header logic, thanks Anthony and Niphlod 2012-09-11 14:06:44 -05:00
mdipierro
722fb1fb91 removed headers from response.stream 2012-09-11 14:02:55 -05:00
mdipierro
9182e7a882 better languages.py, thanks Vladyslav 2012-09-11 13:37:16 -05:00
mdipierro
49c82bcd65 allow removal of headers with response.headers[key]=None 2012-09-11 12:59:45 -05:00
mdipierro
87a1a861b8 possible fix for default response haders 2012-09-11 12:53:44 -05:00
mdipierro
c17e191815 menu has empty components 2012-09-11 10:28:31 -05:00
mdipierro
dbf7a3f72d auth.wiki(restrict_search=True) authors can only search their own pages 2012-09-11 10:25:56 -05:00
mdipierro
fc3efaed3d better handling of cross-domain urls in parametric router, thanks Jonathan 2012-09-11 09:55:58 -05:00
mdipierro
314278ac69 fixed issue 996 2012-09-11 09:53:08 -05:00
mdipierro
7356c122de fixed issue 993, thanks Sherdim 2012-09-11 09:39:13 -05:00
mdipierro
664a0bc812 fixed a problem with dal and uploadfields not been created, blob fields should hidden 2012-09-11 09:27:00 -05:00
mdipierro
bee9f00da8 fixed a problem with dal and uploadfields not been created 2012-09-11 09:25:13 -05:00
mdipierro
c3d1d959b2 markmin improvement thanks Villas and Vladyslav 2012-09-11 08:35:58 -05:00
mdipierro
7bb465df07 fixed bug in cache minify, thanks Jeremy 2012-09-11 08:24:59 -05:00
mdipierro
25ca7fe6fe smarter select although join/left ignore common fields 2012-09-10 18:26:46 -05:00
mdipierro
566f030902 stream allows for optional headers and fixed a formtyle bug, thanks Anthony 2012-09-10 17:29:41 -05:00
Michele Comitini
37e3f95538 Merge github.com:web2py/web2py 2012-09-10 22:28:45 +02:00
mdipierro
830b6f120d possibly fixed dropbox_account.py, issue 991 2012-09-10 11:34:37 -05:00
mdipierro
addb7dfd3a removed editarea, amy, ace; included zencoding support for codemirror 2012-09-10 10:59:28 -05:00
mdipierro
87d2b22446 fixed GAE default problem, thanks Jan-Karen and Alan 2012-09-10 09:56:36 -05:00
mdipierro
a1559c5802 fixed issue 989, thanks Dominic 2012-09-10 07:51:45 -05:00
mdipierro
9453009de6 fixed issue 974 2012-09-10 07:47:52 -05:00
mdipierro
199aceefc1 fixed bug in wiki can_manage 2012-09-10 07:40:33 -05:00
mdipierro
f0aca3374f upgraded pysimplesoap to revision e054a3903c1d, version 1.06c 2012-09-09 21:39:57 -05:00
mdipierro
bb326e4030 line highlight and fullscreen in codemirror, thanks lightdot 2012-09-09 16:57:09 -05:00
mdipierro
23c46f150f more more mixing of tab and spaces with codemirror 2012-09-09 14:58:50 -05:00
mdipierro
2d990499d2 codemirror line wrapping 2012-09-09 14:32:25 -05:00
mdipierro
a15bed17d8 new codemirror style 2012-09-09 14:24:26 -05:00
mdipierro
fd808a85df improved the script setup-web2py-ubuntu.sh, thanks Martin 2012-09-09 14:15:14 -05:00
mdipierro
931eefd260 added codemirror ot gitbub, made default for testing 2012-09-09 13:54:37 -05:00
mdipierro
1d4d52c9c9 fixed issue 974, thanks Corne 2012-09-09 09:49:56 -05:00
mdipierro
97bcdfd73a fixed issue 964, thanks Jonathan 2012-09-09 09:20:45 -05:00
mdipierro
ebcd7a16a9 fixed a bug and replace div anchor with span anchor, as suggested by Vladyslav 2012-09-09 09:14:50 -05:00
mdipierro
7002dcec0e codemirror seems to work with admin 2012-09-08 23:22:42 -05:00
mdipierro
d29d543e95 auth.wiki(render='html') 2012-09-08 22:22:06 -05:00
mdipierro
653b8826d4 fixed jQuery multiselect in admin 2012-09-08 21:59:49 -05:00
mdipierro
57072adc57 auth.wiki(render) is exposed 2012-09-08 20:33:24 -05:00
mdipierro
d02035a1a1 possibly fixed issue 981 2012-09-08 19:03:07 -05:00
mdipierro
7265736ce2 possibly fixed issue 964 2012-09-08 19:02:19 -05:00
mdipierro
0534080b83 added caching tests and minor rewtite 2012-09-08 16:04:07 -05:00
mdipierro
edfc09c755 backward compatible caching options 2012-09-08 15:46:25 -05:00
mdipierro
b2c2762f06 experimental codemirror 2012-09-08 14:50:53 -05:00
mdipierro
c90a0592dd better cron defaults, thanks Jonathan 2012-09-07 09:38:42 -05:00
mdipierro
b85baefad9 R-2.0.8 2012-09-06 21:33:11 -05:00
mdipierro
f8fce42df7 R-2.0.8 2012-09-06 21:32:44 -05:00
mdipierro
1e6fa4159a fixed makrmin again, note to self: always trust Valdyslav about markmin 2012-09-06 10:54:04 -05:00
mdipierro
a8bc251a94 compted fields visible in SQLFORM(readonly=True) 2012-09-06 08:59:11 -05:00
mdipierro
d8ba67e2e3 fixed issue 977, contains empty list, thanks iiijjjjiii 2012-09-06 08:41:23 -05:00
mdipierro
141bf7f0a3 moved the ttab_out in markmin2html before @{...}, I think this is the right thing 2012-09-06 08:15:29 -05:00
Massimo Di Pierro
b464d5a5b7 fixed some problems with MARKMIN, thanks Vladyslav 2012-09-05 16:59:46 -05:00
mdipierro
1b496525b1 fixed admin version display, thanks Marin 2012-09-05 10:47:46 -05:00
mdipierro
a70524bb74 R-2.0.7 2012-09-05 09:26:38 -05:00
mdipierro
fea2dec9f7 updated tags 2012-09-04 18:33:23 -05:00
mdipierro
dd99652087 simplified grid console logic and style 2012-09-04 17:58:52 -05:00
Michele Comitini
f42984612f Merge github.com:web2py/web2py 2012-09-04 22:37:20 +02:00
mdipierro
22dca58c9a R-2.0.7 2012-09-04 15:32:27 -05:00
mdipierro
450101be8e fixed issue 976 with quoting in pg8000 2012-09-04 15:09:02 -05:00
mdipierro
fe14686586 fixed problem with headers in components 2012-09-04 15:07:09 -05:00
mdipierro
0c3c90af6a prevent exception in admin, thanks Marin 2012-09-04 14:47:13 -05:00
mdipierro
3a9c8d9c0f fixed update with compute fields (again) and ecomponents in markmin 2012-09-04 14:43:38 -05:00
mdipierro
c16f051e5b try fetchall except, back in executesql, thanks Carlos 2012-09-03 16:15:06 -05:00
mdipierro
ec1608ba19 executesql(fetch=False) 2012-09-03 14:35:01 -05:00
mdipierro
74fb16a758 minor changes in web2py.css 2012-09-03 10:18:15 -05:00
mdipierro
6cf7b7b606 fixed input-xlarge class issue, thanks Anthony 2012-09-03 08:55:54 -05:00
mdipierro
6dcec8a176 updated markmin docs 2012-09-03 08:54:45 -05:00
mdipierro
9c7786d06b fixed error in admin login 2012-09-03 08:47:10 -05:00
mdipierro
52a796ef92 faster custom_import, thanks Michele 2012-09-03 08:17:05 -05:00
mdipierro
ae2eefc6bf executesql allows fields and/or colnames to be independently specfied, thanks Ahtony and Niphlod 2012-09-03 08:12:40 -05:00
mdipierro
148e099f58 CACHED_REGEXES_MAX_SIZE, thanks Anthony 2012-09-03 08:09:49 -05:00
Michele Comitini
d7f27b8ae7 speed optimization in custom_import.py by using local namespace 2012-09-03 08:40:14 +02:00
mdipierro
0351f37e67 fixed backward compatibility issue in dal with __int__, thanks Dominic 2012-09-02 22:34:24 -05:00
mdipierro
69bac57058 conditional session connect only 2012-09-02 22:30:33 -05:00
mdipierro
cbcac3af70 routes_in = [('/welcome','/welcome',dict(web2py_disable_session = True))] 2012-09-02 15:09:32 -05:00
mdipierro
2b030a5e87 routes_in = (regex, value, custom_env) 2012-09-02 15:03:25 -05:00
mdipierro
8eb15627bf allow navbar without define_tables, thanks Anthony 2012-09-02 14:52:52 -05:00
Michele Comitini
9a5e8172d6 Merge github.com:web2py/web2py 2012-09-02 21:42:06 +02:00
mdipierro
ae8bf7b60d faster re.compile in validators 2012-09-02 12:26:16 -05:00
mdipierro
c292b896e3 conditional models with cached re.compile, thanks Anthony 2012-09-02 12:12:59 -05:00
mdipierro
f35b7283c0 capitalized regex in dal.py 2012-09-02 11:58:56 -05:00
mdipierro
b746581d5a less regex in dal.py 2012-09-02 11:50:35 -05:00
mdipierro
d93a8d41d2 removed one re.compile in rewrite filter_url 2012-09-02 11:12:46 -05:00
mdipierro
e27466b8a6 optional re.compile of generic_patterns 2012-09-02 11:05:19 -05:00
mdipierro
90ca080b1e R-2.0.6 2012-09-01 22:35:40 -05:00
mdipierro
9a89a9beac fixed bug in tickets2emails, thanks Niphlod 2012-09-01 22:33:46 -05:00
mdipierro
0f94ac864b fixed bug in language file that corrupts files on language update, thanks kverdecia2 2012-09-01 22:32:12 -05:00
mdipierro
f6b345632f fixed typo, thanks Mart 2012-09-01 07:01:38 -05:00
mdipierro
5db296c542 R-2.0.5 2012-08-31 16:28:40 -05:00
mdipierro
eb45052021 scheduler validators, thanks Niphlod 2012-08-31 16:15:59 -05:00
mdipierro
43cee04283 2.0.5 2012-08-31 16:11:56 -05:00
mdipierro
5cab46f2a1 better timezone logic 2012-08-31 16:04:13 -05:00
mdipierro
08443a452d better timezone logic 2012-08-31 16:00:23 -05:00
mdipierro
dcb934fb45 R-2.0.4 2012-08-31 15:38:37 -05:00
mdipierro
68c80d619d minor cleanup 2012-08-31 14:27:50 -05:00
mdipierro
fa2d2ba91c adding README, again 2012-08-31 13:37:30 -05:00
mdipierro
58a4874632 fixed problem with case in migrations 2012-08-31 13:32:22 -05:00
mdipierro
a973276ad6 SQL(debug=True) logs migration info 2012-08-31 11:08:20 -05:00
mdipierro
515e7f3dab support for self reference with non standard id 2012-08-31 10:21:37 -05:00
mdipierro
07486b27a7 yet better markmin has [[NEWLINE]], thanks Vladyslav 2012-08-31 09:02:54 -05:00
mdipierro
358301338c try... execpt plural_rules 2012-08-31 00:31:51 -05:00
mdipierro
6ebac86632 added plural rules again 2012-08-31 00:29:09 -05:00
mdipierro
bc176bfbf2 fixed postgresql uri bug 2012-08-31 00:11:33 -05:00
mdipierro
e46141adf9 fixed plural rules with pkgutil 2012-08-30 23:55:14 -05:00
mdipierro
61c33a7038 windows and osx cannot find the rules folder, for now, ignore it 2012-08-30 23:07:51 -05:00
mdipierro
83cf74b71b another driver selection issue 2012-08-30 22:36:10 -05:00
mdipierro
0038f9d43e improved logic in dal driver selection (fixed) 2012-08-30 22:19:59 -05:00
mdipierro
8e24ce9f30 improved logic in dal driver selection 2012-08-30 22:10:46 -05:00
mdipierro
529026f0f4 fixed 'fdb' is not defined issue, thanks villas 2012-08-30 20:24:56 -05:00
mdipierro
5b0ac94211 fixed typo in index_name 2012-08-30 20:19:01 -05:00
mdipierro
5ab33643c8 Rows.find(f,limitby=(0,10)) 2012-08-30 20:07:34 -05:00
mdipierro
88e72ff62a added empty applications/examples/languages/README else folder not version controller in git and hg 2012-08-30 17:36:19 -05:00
mdipierro
2df3282840 fixed issue 964, thanks Michael and Jonathan 2012-08-30 17:04:07 -05:00
mdipierro
171f94b9ea R-2.0.3 2012-08-30 15:38:41 -05:00
mdipierro
feb27b919b fixed bug in smartgrid header, thanks Adi 2012-08-30 15:36:36 -05:00
mdipierro
1641b10e79 cacheable select in grid, thanks Anthony 2012-08-30 15:26:58 -05:00
mdipierro
98ff3b0677 fixed bug in pluralization, thanks Vladyslav 2012-08-30 15:20:36 -05:00
mdipierro
15923fceaf new default firebird driver, thanks mariuz 2012-08-30 15:10:45 -05:00
mdipierro
0553e5b50e fixing missing use_username issue, thanks Annet 2012-08-30 15:01:22 -05:00
mdipierro
f83803ffad fixed path find for pluralization rules 2012-08-30 14:54:40 -05:00
mdipierro
d5291b57ab logging rotation in example, thanks Jonathan 2012-08-30 14:49:50 -05:00
mdipierro
3709dcedd2 fixed AttributeError: 'Expression' object has no attribute '_table' issue 2012-08-30 14:42:32 -05:00
mdipierro
2b83928cab fixed janrain login with GAE 2012-08-30 08:31:52 -05:00
mdipierro
e9dcabae7d fixed bug in markmin 2012-08-30 08:17:28 -05:00
mdipierro
4845237eba fixed grin without login, thanks Liam 2012-08-30 08:14:10 -05:00
mdipierro
eb2c2ea0a0 update link fixed, thanks Niphlod 2012-08-30 08:09:33 -05:00
mdipierro
be7390424a allow tasks without timeout 2012-08-30 08:05:09 -05:00
mdipierro
1ebc4dfad2 2.0.2 2012-08-29 22:00:59 -05:00
mdipierro
341a35410d better webclient.py 2012-08-29 21:57:09 -05:00
mdipierro
7250e27ba1 changed vars in example and test for webclient 2012-08-29 18:31:23 -05:00
mdipierro
d6c34a0142 more comments in webclient.py 2012-08-29 18:27:30 -05:00
mdipierro
00377325f0 added timing and history to webclient 2012-08-29 18:22:07 -05:00
mdipierro
34edf3e724 simplied handling of postbacks 2012-08-29 18:14:24 -05:00
mdipierro
31a695f73f more test improvements, thanks Jonathan 2012-08-29 18:01:27 -05:00
mdipierro
c6a22d237b updated gluon/tests/__init__.py, thanks Jonathan 2012-08-29 17:59:44 -05:00
mdipierro
9cb7fd0a00 updated CHANGELOG 2012-08-29 17:44:07 -05:00
mdipierro
f7bd69fad4 webclient.py and test_web.py 2012-08-29 17:40:03 -05:00
mdipierro
178925cd56 fixed problem with computed fields 2012-08-29 16:05:41 -05:00
mdipierro
de88f3bde9 fixed problem with iterator in template.py 2012-08-29 15:42:51 -05:00
mdipierro
9c98db6fa6 2.0.1 rc5 2012-08-29 15:13:10 -05:00
mdipierro
e69a22748f removed code comitted accidentally 2012-08-29 15:12:46 -05:00
mdipierro
a40b55d8d4 fixed some problems with admin no GAE, still readonly 2012-08-29 15:09:08 -05:00
mdipierro
b5809db9eb fixed error with referenced_by, thanks Marin 2012-08-29 10:28:04 -05:00
mdipierro
fa9c91de83 catch missing winservice 2012-08-29 10:12:11 -05:00
mdipierro
ceb48bd472 fixed to(env={}), thanks Anthony 2012-08-29 10:05:51 -05:00
mdipierro
9861a33c72 support for HEAD requests 2012-08-29 08:22:35 -05:00
Michele Comitini
ddb61d75ca Merge github.com:web2py/web2py 2012-08-29 14:42:05 +02:00
mdipierro
edeb237777 dict instead of {} where possible 2012-08-29 07:27:28 -05:00
Michele Comitini
e5f9358cf9 commit merge 2012-08-29 14:24:14 +02:00
mdipierro
a2d70980d8 fixed the case of missing tickets and a typo in last commit 2012-08-28 22:14:59 -05:00
mdipierro
5daf7e5a9b simplified template.py 2012-08-28 21:11:27 -05:00
mdipierro
6b606aaa24 lots of simplifications (again) 2012-08-28 20:38:11 -05:00
mdipierro
a001a10bac lots of simplifications 2012-08-28 20:30:32 -05:00
mdipierro
8860c9a1dd Row.__nonzero__, thanks Marin 2012-08-28 19:11:43 -05:00
mdipierro
5af9fe0a3e temp vars in dal.py (fixed error) 2012-08-28 19:07:26 -05:00
mdipierro
e821955c97 temp vars in dal.py 2012-08-28 18:52:25 -05:00
mdipierro
3884878efb faster lazytables check 2012-08-28 16:52:30 -05:00
mdipierro
56716e7a20 catching AttributeError 2012-08-28 15:36:05 -05:00
mdipierro
cd58e034ca added backward compatibility fix for row.id when id not called id (doh) 2012-08-28 14:57:23 -05:00
mdipierro
0ad9e3b707 fixed changelog 2012-08-28 14:45:08 -05:00
mdipierro
9f8134a51b fixed issue with row[db.table.field] for result of join, thanks Dominic 2012-08-28 14:26:49 -05:00
mdipierro
94096d0276 some more optimizations in parse rows 2012-08-28 14:03:59 -05:00
mdipierro
ad0b9a08c6 updated languages/default.py 2012-08-28 11:42:22 -05:00
mdipierro
fa501eff6d fixed mobile issue, thanks Martin 2012-08-28 10:56:19 -05:00
mdipierro
6e8fbf5f8e more flexible auth.wiki, thanks Alan 2012-08-28 10:54:06 -05:00
mdipierro
869b430ba6 fixed issue 959, thanks Haag 2012-08-28 10:44:51 -05:00
mdipierro
d7e100ac71 RecordUpdater, RecordDeleted and compute on update 2012-08-28 10:32:01 -05:00
mdipierro
617aa3627a db().count(cache=...) 2012-08-28 10:02:21 -05:00
mdipierro
266208c13d many iteritems optimizations 2012-08-28 09:35:36 -05:00
mdipierro
632493f654 many speed improvements, thanks Michele 2012-08-28 08:28:36 -05:00
Michele Comitini
f9afeb51f8 always use dict for environment 2012-08-28 00:25:22 +02:00
Michele Comitini
eb33b3fd5c speeding with map() 2012-08-28 00:03:31 +02:00
mdipierro
43fc70695d improved toorbar, thanks Anthony 2012-08-27 16:16:25 -05:00
mdipierro
093ca1b506 capitalization in appadmin 2012-08-27 15:29:27 -05:00
mdipierro
d01bb00ca2 slightly slicker appadmin 2012-08-27 15:13:27 -05:00
mdipierro
fb52fac9cc slightly slicker appadmin 2012-08-27 15:08:20 -05:00
mdipierro
8a5c79d05b R-2.0.1rc4 2012-08-27 14:54:11 -05:00
mdipierro
ce968db278 toolbar() shows non-lazy tables, thanks Anthony 2012-08-27 14:07:25 -05:00
mdipierro
d241c9f7cb 100x faster db().select(cache=...) 2012-08-27 13:30:42 -05:00
mdipierro
ecba8d44a9 better test_languages.py 2012-08-27 13:10:52 -05:00
mdipierro
ba385cf5b1 fixed a bunch of typos form recent commits, thanks Jonathan 2012-08-27 12:55:41 -05:00
mdipierro
ab88eca645 fixed some typos, thanks Jonathan 2012-08-27 12:15:30 -05:00
mdipierro
ddf4465c00 possibly faster auth 2012-08-27 12:02:53 -05:00
mdipierro
1c3f113122 scripts/bench.py 2012-08-27 11:07:52 -05:00
mdipierro
3ff4176e1f faster and leaner languages, should be 100% backward compatible, plurals work again 2012-08-27 10:57:26 -05:00
mdipierro
a3dfc9f621 better portalocker 2012-08-27 10:13:47 -05:00
mdipierro
222364e040 better portalocker 2012-08-27 10:06:09 -05:00
mdipierro
e5568aaa82 faster languages.py, still disabled plurals 2012-08-27 07:41:34 -05:00
mdipierro
47dcc8badd simplified languages.py, disable (for today) plural subsystem 2012-08-27 01:43:04 -05:00
mdipierro
6a0198aff5 scripts/rmorphans.py 2012-08-26 21:34:24 -05:00
mdipierro
b7c7a3468a title.png was needed after all 2012-08-26 21:20:23 -05:00
mdipierro
118424d686 removed lots of legacy files 2012-08-26 21:14:02 -05:00
mdipierro
4e0cdaddf7 fixed forced hideerror, thanks Jim 2012-08-26 20:46:02 -05:00
mdipierro
249f13f4bc fixed issue 961 with DIV.add_class, thanks Dulakian 2012-08-26 19:02:44 -05:00
mdipierro
030203effd no more has_key 2012-08-26 18:34:50 -05:00
mdipierro
334e150638 internal simplications in Auth 2012-08-26 17:57:10 -05:00
mdipierro
308f790f3c removed an inconcistency in Auth 2012-08-26 17:53:27 -05:00
mdipierro
d47dbc604e more simplification in Auth 2012-08-26 17:48:37 -05:00
mdipierro
96d193f7dd auto-login after reset password 2012-08-26 17:28:19 -05:00
mdipierro
3e94ca4f45 fixed login_onaccept, thanks Martin 2012-08-26 17:05:52 -05:00
mdipierro
d16033a417 more tests about dal 2012-08-26 15:51:15 -05:00
mdipierro
cab9afee44 fixed some problems with html.py tests and postprocessing, thanks Michael 2012-08-26 14:12:09 -05:00
mdipierro
1041e42f8d some speadup in dal parse 1.5x 2012-08-26 11:50:48 -05:00
mdipierro
6ed30dfbfe fixed xml() again 2012-08-26 10:41:26 -05:00
mdipierro
329f22f72c improved Table (10x), DAL(2x), Row(10x) without memory leak 2012-08-26 09:32:10 -05:00
Michele Comitini
8ac8164b06 Merge github.com:web2py/web2py 2012-08-26 11:22:06 +02:00
mdipierro
4e719c5858 xml(row_name,rows_name) 2012-08-26 00:00:15 -05:00
mdipierro
6577c656be db().select().xml(strict=True) 2012-08-25 23:54:23 -05:00
mdipierro
f76ec47fe3 minor imprvements in DAL repr 2012-08-25 23:06:28 -05:00
mdipierro
50cd630127 yet better storage, thanks Michele 2012-08-25 18:42:27 -05:00
Michele Comitini
7085e05388 used __slots__ to reduce memory ad speedup class methods lookup. 2012-08-26 01:05:02 +02:00
Michele Comitini
3962a80192 Merge github.com:web2py/web2py
Conflicts:
	gluon/contrib/login_methods/rpx_account.py
2012-08-26 00:50:46 +02:00
mdipierro
4079288a51 major optimization in Storage, Table, Row (2x), thanks Michele 2012-08-25 16:19:50 -05:00
mdipierro
6dfd16b62a typo in Storage, thanks Michele 2012-08-25 15:50:01 -05:00
mdipierro
4067c89260 R-2.0.1-rc3 2012-08-25 15:08:18 -05:00
mdipierro
dcce7fc39a fixed @//// in wiki and pep8 spacing 2012-08-25 11:29:11 -05:00
mdipierro
0a95246cb0 fixed anchor in markmin 2012-08-25 11:25:58 -05:00
mdipierro
eecaf85df6 updated changelog 2012-08-25 11:22:28 -05:00
mdipierro
13061671f8 GIT_MISSING message, thanks Niphlod 2012-08-25 11:17:39 -05:00
mdipierro
c2900480d7 better fix of recycle Response in template, thanks Anthony 2012-08-24 23:47:47 -05:00
mdipierro
fb65fdf25e changelog update 2012-08-24 23:37:10 -05:00
mdipierro
92e1213fe2 fixed some styles for auth.wiki 2012-08-24 23:11:45 -05:00
mdipierro
d21b3b4b8a executesql(fields=,columns=),thanks Anthony 2012-08-24 22:52:45 -05:00
mdipierro
c1945c9429 template render can recycle a Response(), thanks Anthony 2012-08-24 22:40:18 -05:00
mdipierro
1d56e253d7 DIV.elements(replace=...), thanks Anthony 2012-08-24 22:17:49 -05:00
mdipierro
a3df5c465e added .btn class in admin for grid 2012-08-24 19:24:58 -05:00
mdipierro
5491456985 more forgining auto links in markmin 2012-08-24 17:39:59 -05:00
mdipierro
ca80e47f3d new widget.py thanks Niphlod 2012-08-24 17:32:26 -05:00
mdipierro
929a5289e2 better error reporing on app_create failures 2012-08-24 17:05:18 -05:00
mdipierro
814f5d9448 auth links should have same scheme as app 2012-08-24 16:36:14 -05:00
mdipierro
f5e6fb6fbd another multi_user_mode fix 2012-08-24 16:24:43 -05:00
mdipierro
423f305fd0 added links to multi_user_mode management 2012-08-24 16:17:32 -05:00
mdipierro
9cc6c4ee3e fixed scripts/setup-web2py-nginx-uwsgi-ubuntu.sh \r 2012-08-24 15:53:10 -05:00
mdipierro
ccb0d25939 reverted to bootstrap 2.0 because of problems 2012-08-24 15:34:03 -05:00
Massimo Di Pierro
8d5855c93a fixed another bug in lazy Auth, thanks Villas 2012-08-24 13:45:13 -05:00
Massimo Di Pierro
9724bfb20e fixed typos in recent commit, thanks Angelo and Villas 2012-08-24 11:04:24 -05:00
Massimo Di Pierro
611aa6391a fixed bug in lazy auth, thanks Villas 2012-08-24 10:14:12 -05:00
Massimo Di Pierro
001ca98855 fixed problem with dal expressions being parenthesized, thanks Daniel 2012-08-24 10:05:07 -05:00
Massimo Di Pierro
0e84b4b269 renamed bootswatch*.css as web2py_bootstrap*.css 2012-08-24 09:53:57 -05:00
Massimo Di Pierro
3c51815d78 upgraded to Bootstrap 2.1.0 thanks Alec Taylor 2012-08-24 09:44:13 -05:00
Massimo Di Pierro
9969cd4c8c better generation of link in rpx_account, thanks Michele 2012-08-24 09:26:48 -05:00
Massimo Di Pierro
4ea9b1182f fixed app_cleanup of cache, thanks Spiffytech 2012-08-24 09:24:50 -05:00
Massimo Di Pierro
257501ce37 improved oparsing of CLOB in Oracle, thanks Daniel 2012-08-24 09:23:20 -05:00
Massimo Di Pierro
eb802838ee fixed problem with _listify, thanks Daniel 2012-08-24 09:15:34 -05:00
Massimo Di Pierro
c309588ae4 added missing table permission, thanks Daniel 2012-08-24 08:57:14 -05:00
mdipierro
e527f49d73 added contrib test, thanks Mariano 2012-08-23 18:59:32 -05:00
mdipierro
2bbe361783 fixed problem with fpdf import in generics, thanks Adrew 2012-08-23 16:56:26 -05:00
mdipierro
6c7de5a0b0 fixed tag rendering end edit menu permissions 2012-08-23 15:04:08 -05:00
mdipierro
113268b12a better style in wiki search and tagcloud 2012-08-23 14:52:45 -05:00
mdipierro
96d4de8277 T bug in tools 2012-08-23 14:33:43 -05:00
mdipierro
10d5b48643 smarter index.html for wiki 2012-08-23 13:19:19 -05:00
mdipierro
b3a8047ba3 edited makefile 2012-08-23 12:44:31 -05:00
mdipierro
9bd008021d R-2.0.1-rc2 2012-08-23 11:11:41 -05:00
mdipierro
2915dc75d3 fixed auth with lazy auth 2012-08-23 10:56:40 -05:00
mdipierro
e4d0e03078 lazy auth? 2012-08-23 10:48:36 -05:00
mdipierro
3785a4b5db reverted accidental tools change 2012-08-23 10:09:49 -05:00
mdipierro
f7f9e23246 fixed problem with on_define 2012-08-23 10:08:00 -05:00
mdipierro
945437e04d db.define_table('person',Field('name'),on_define=lambda table: [table.name.set_attributes(writable=False)]), thanks Jonathan 2012-08-23 09:20:25 -05:00
mdipierro
4d25413229 added Killer Web Development link, thanks Anthony 2012-08-23 09:00:56 -05:00
mdipierro
dacff1fc09 added DIV.add_class, DIV.remove_class, thanks Dulakian, fixed issue 952 2012-08-23 08:54:34 -05:00
mdipierro
4262511f91 restoring Settings backward compatibility, thanks Dominic 2012-08-23 08:42:47 -05:00
mdipierro
57b7018a83 fixed changelog typos, thanks Niphlod 2012-08-23 08:37:55 -05:00
mdipierro
d2999307d8 removed unwanted trailing spaces from fpdf 2012-08-23 08:36:50 -05:00
mdipierro
a528df0b2e moved pyfpdf to fpdf, thanks Mariano 2012-08-23 08:35:41 -05:00
mdipierro
c4c9024ee0 new pyfpdf, thanks Mariano 2012-08-23 08:31:04 -05:00
Michele Comitini
6bdde2379e Merge github.com:web2py/web2py 2012-08-23 14:10:50 +02:00
mdipierro
dac059e85e minor edits in changelog 2012-08-22 19:47:15 -05:00
mdipierro
a3d20386fc R-2.0.0rc1 2012-08-22 18:09:25 -05:00
mdipierro
9c3e4cf03a tag in Makefile 2012-08-22 18:08:58 -05:00
mdipierro
0630f4e298 cleaned up changelog for 2.0 2012-08-22 17:35:41 -05:00
mdipierro
dde46a4ee4 wiki.auth() has wiki-menu page 2012-08-22 17:07:44 -05:00
mdipierro
3b0d1ab410 reverting bootstrap 2.1.0 because messes up navbar 2012-08-22 16:03:03 -05:00
mdipierro
3ae625077f bootstrap 2.0 2012-08-22 15:59:06 -05:00
mdipierro
e36a3f9e33 fixed colors in navbar 2012-08-22 15:48:45 -05:00
mdipierro
7e5726a247 bootstrap 2.1.0 2012-08-22 15:36:55 -05:00
mdipierro
8ec67ea190 bootstrap 2.1.0 2012-08-22 15:36:28 -05:00
mdipierro
9d793348e2 reverted Storage again, check for bug not reliable, :-( 2012-08-22 15:27:19 -05:00
mdipierro
715daf6824 fixed have_bug 2012-08-22 13:00:28 -05:00
mdipierro
7db563066b bug detection for Storage, reverted improvements in dal :-( 2012-08-22 10:48:17 -05:00
mdipierro
b9fd6e5c68 simplied router logic, thanks Jonathan 2012-08-22 08:40:55 -05:00
mdipierro
68f2f0c400 Martin's menu patch 2012-08-22 08:38:04 -05:00
mdipierro
c400743bc3 confirm spelling, thanks sethkinast 2012-08-22 08:32:00 -05:00
mdipierro
e1fe556abb fixed portalocker in Storage, restored appadmin 2012-08-21 22:19:43 -05:00
mdipierro
ffe3faeb5f automenu 2012-08-21 22:07:18 -05:00
mdipierro
2f4f7711dc jquery 1.8.0 2012-08-21 22:03:53 -05:00
mdipierro
ecc6de6a02 scgi friendly patch, thanks Michele 2012-08-21 21:53:59 -05:00
Michele Comitini
8d94f99e4e Merge github.com:web2py/web2py 2012-08-22 03:22:34 +02:00
mdipierro
1fedbd105e fixed a bug in Row, recently introduced 2012-08-21 18:20:07 -05:00
Michele Comitini
68e1b496f1 use the URL to respect routers directives 2012-08-22 01:13:10 +02:00
mdipierro
3283ce144c fixed a problem with lazy tables and self.__dict__=self magic 2012-08-21 17:42:01 -05:00
mdipierro
3843406ba9 Table, DAL and Row use self.__dict__=self 2012-08-21 15:56:53 -05:00
mdipierro
fbb6efa5cf new Storage passes all tests 2012-08-21 14:41:43 -05:00
mdipierro
3812548447 another attempt at new Storage, thanks Jonathan 2012-08-21 14:30:02 -05:00
mdipierro
a16e51ad7b reverted Storage again. :-( 2012-08-21 13:38:27 -05:00
mdipierro
a709e7ba56 Fixed issue 834, thanks Paolo 2012-08-21 12:42:04 -05:00
mdipierro
f09ecfd458 fixed unwanted membershin in wiki, thanks Alan 2012-08-21 11:39:27 -05:00
mdipierro
c31193b45c new Storage class, thanks Oscar Benjamin 2012-08-21 11:34:55 -05:00
mdipierro
1ef131354f fixed common field concatenation 2012-08-21 09:52:23 -05:00
mdipierro
70fd93ac8f timezone support in dal, assumes local time is gmt time 2012-08-21 09:06:21 -05:00
mdipierro
e70f8e8c51 more options in response.stream, thanks Alan 2012-08-21 08:55:41 -05:00
mdipierro
55349d8e2f better bootstrap formstyle, thanks Dulakian 2012-08-21 08:53:39 -05:00
mdipierro
8d923a5765 fixed backward compatibility issue formstyles, thanks Dominic 2012-08-21 08:52:06 -05:00
Michele Comitini
845effd5ed Merge github.com:web2py/web2py 2012-08-21 15:48:38 +02:00
mdipierro
e5afc3ede8 fixed cut and paste error, thanks Martin 2012-08-21 07:57:09 -05:00
mdipierro
22cfb6ddab reverted storage.py again 2012-08-20 21:56:26 -05:00
mdipierro
5bcc8f750b another attempt at faster Storage 2012-08-20 21:54:02 -05:00
mdipierro
608e3245e0 better options_std.py, thanks Niphlod 2012-08-20 16:03:19 -05:00
mdipierro
c7074d5e4d better web2py.py thanks Niphlod 2012-08-20 16:02:11 -05:00
mdipierro
7898e4aac3 Storage.__class__ = dict tricks isinstance 2012-08-20 12:04:55 -05:00
mdipierro
6673743406 fixed is_impersonating, thanks Martin 2012-08-20 11:57:30 -05:00
mdipierro
c10584a068 ://HOSTNAME in auth.wiki 2012-08-20 11:16:25 -05:00
mdipierro
c8e34a9c24 removed debug line in scheduler, thanks Niphlod 2012-08-20 10:58:12 -05:00
mdipierro
3ca4e928da better check for frozen, thanks Niphlod 2012-08-20 10:57:11 -05:00
mdipierro
8846dbf6a1 added gluon/contrib/rules/__init__.py, thanks Niphlod 2012-08-20 10:55:01 -05:00
mdipierro
a90028441a fixed mongo issue, thanks Uolter 2012-08-20 08:06:28 -05:00
mdipierro
5a4148b712 fixed vimeo oembed 2012-08-19 18:36:18 -05:00
mdipierro
2c798909d7 auth.wiki makes admin wiki_editor group member 2012-08-19 18:20:16 -05:00
mdipierro
b163ddca76 fixed problem with plugin delete, thanks Alan 2012-08-19 15:11:04 -05:00
mdipierro
1fa2b5ad28 fixed missing dropdowns, thanks Alan 2012-08-19 15:02:39 -05:00
mdipierro
9f7f495961 fixed filter plugins 2012-08-19 13:53:45 -05:00
mdipierro
0214613182 fixed issue 937, thanks Dulakian 2012-08-19 13:49:26 -05:00
mdipierro
51dfb71063 fixed issue 936 with new couchdb, thanks Dulakian 2012-08-19 13:45:23 -05:00
mdipierro
ef8d8bf094 better grid console 2012-08-19 13:43:28 -05:00
mdipierro
e5f974a390 moved export links to the bottom 2012-08-19 12:44:42 -05:00
mdipierro
56abad1f27 better localizaion of sqlhtml, thanks Martin 2012-08-19 10:18:03 -05:00
mdipierro
d4f1da3018 better logic in appadmin csv, thanks Paolo Betti 2012-08-19 10:12:31 -05:00
mdipierro
146f9584d9 more readable scheduler, thanks Niphlod 2012-08-19 10:03:28 -05:00
mdipierro
9f2c0d52f1 IS_EXPR_environment.patch, fixed issue 938, thanks Anthony 2012-08-19 10:02:29 -05:00
mdipierro
e2c5647c26 Dutch language files, thanks Robert Kooij 2012-08-18 20:11:04 -05:00
Michele Comitini
e038c0afad Merge github.com:web2py/web2py 2012-08-19 01:58:27 +02:00
mdipierro
3d1dcd063b simplified syntax in auth.wiki @///function 2012-08-18 18:10:22 -05:00
mdipierro
49a5b3025b improved auth.wiki @{/a/c/f/args} 2012-08-18 17:50:50 -05:00
mdipierro
28f76bc9e3 reverted change that broke primary key check in appadmin 2012-08-18 16:21:52 -05:00
mdipierro
f6867bc2d9 more cleanup, Table.__init__ still needs lots of work 2012-08-18 10:11:23 -05:00
mdipierro
19d674b4e5 streamlined Field.__init__ 2012-08-18 10:03:50 -05:00
mdipierro
e6bed63344 fixed form, @{component:...} in auth.wiki, @{...} in markmin 2012-08-18 00:10:36 -05:00
mdipierro
85c721393e autolinks checks extension better 2012-08-17 23:12:01 -05:00
mdipierro
e57309770c better @{key:args} in markmin 2012-08-17 23:07:20 -05:00
mdipierro
911fb4e226 made shure that tools works with lazy tables (but auth_* fields not lazy) 2012-08-17 22:45:56 -05:00
mdipierro
9d71ec6821 new Storage object makes some code 10x faster 2012-08-17 21:29:36 -05:00
mdipierro
2475e42c16 many optimizations in LAZY_TABLES, passes all tests, thanks Bruno 2012-08-17 20:59:48 -05:00
mdipierro
7cb1d74aa8 better scheduler, thanks Niphlod and dhx 2012-08-17 18:57:19 -05:00
mdipierro
a3f671544d lazy tables 2012-08-17 18:56:45 -05:00
mdipierro
7772fdc556 updated CHANGELOG 2012-08-17 14:48:14 -05:00
mdipierro
80fe196b5a better scheduler, thanks Niphlod and dhx 2012-08-16 17:51:08 -05:00
mdipierro
e76bcf0ea9 removed unwanted whitespaces 2012-08-16 11:56:07 -05:00
mdipierro
f498421515 fixed prettydate, thanks Anthony 2012-08-16 11:06:04 -05:00
mdipierro
d05eb2aa6e fixed security issue in grid 2012-08-16 10:54:38 -05:00
mdipierro
d2bbc9adaf added missing _id, thanks Paolo Valleri 2012-08-16 09:39:51 -05:00
mdipierro
16ea8462c8 fixed another SQLFORM.formstyles, thanks Anthony 2012-08-16 09:38:47 -05:00
mdipierro
2095889eff IS_IN_DB validator for auth_user username/email, thanks Anthony, fixed issue 934 2012-08-15 17:30:43 -05:00
mdipierro
aacfdb62bb another attempt at memcache 2012-08-15 17:24:25 -05:00
mdipierro
64af8ae88f another attempt at memcache 2012-08-15 17:18:24 -05:00
mdipierro
92a66c0d11 SQLFORM.formstyles, thanks Anthony 2012-08-15 17:08:10 -05:00
mdipierro
d9ef136111 better memcache support? 2012-08-15 14:55:55 -05:00
mdipierro
def270c298 fixed issue 928, thanks dulakian and Anthony 2012-08-15 14:23:44 -05:00
mdipierro
f25e92d443 \w_ replaced with \w, thanks Osman 2012-08-15 09:12:55 -05:00
mdipierro
91c88d56eb count is integer, thanks Osman Masood 2012-08-15 09:06:36 -05:00
mdipierro
5145272415 gaekeyfilterpatch, thanks Howesc, issue 930 2012-08-14 20:37:47 -05:00
mdipierro
f3d97a1107 fixed magnifying glass in design page 2012-08-14 20:36:07 -05:00
mdipierro
360f778ade fixed admin url upload, thanks Marin 2012-08-14 20:26:43 -05:00
mdipierro
57aff944b3 fixed path, thanks Jonathan 2012-08-14 19:32:09 -05:00
mdipierro
f72056eff6 removed un-necessary line, thanks Alexei 2012-08-13 23:17:46 -05:00
mdipierro
4d15bc4375 os.sep in DAL, thanks Jonathan 2012-08-13 13:29:59 -05:00
mdipierro
8939abb370 raise HTTP(...,cookies=request.cookies) 2012-08-13 11:02:43 -05:00
mdipierro
4dcadcf78f gnicorn fix, thanks Ander Arbelaiz 2012-08-13 10:46:02 -05:00
mdipierro
a1f2442d35 fixed admin min length, thanks Anthony 2012-08-12 10:38:42 -05:00
mdipierro
fcc9bc51f6 improved security in grid but still a problem 2012-08-11 22:05:23 -05:00
mdipierro
aab147ac3c fixed menu size, thanks Angelo 2012-08-11 21:42:07 -05:00
mdipierro
560f049825 minor change in markmin supports #head 2012-08-11 14:44:02 -05:00
mdipierro
4b4fa2361b added part of bootswatch improvements, thanks Angelo 2012-08-10 13:01:35 -05:00
mdipierro
0b8328a876 fixed Issue 927:add autoscroll widget to debugger interactive shell, thanks Anthony 2012-08-10 12:55:56 -05:00
mdipierro
b2fb74555c fixed bug in simple_hash 2012-08-10 12:49:12 -05:00
mdipierro
91c891b32f simplified more CRYPT logic and removed hmac_hash, functionality included in simple_hash, thanks David 2012-08-09 23:34:37 -05:00
mdipierro
853c065e01 fixed compatibility issues in CRYPT 2012-08-09 23:09:51 -05:00
mdipierro
bd9c1e525a allows strings as select args, thanks dhx 2012-08-09 08:57:58 -05:00
mdipierro
4e073be361 htth->http typo 2012-08-08 22:33:50 -05:00
mdipierro
3c4336d25c better navbar, thanks Anthony 2012-08-08 18:56:02 -05:00
mdipierro
990f1b1ea9 smartgrid(...fields=dict(...)) 2012-08-08 15:40:43 -05:00
mdipierro
cd627963e6 fixed issue 578, thanks Thomas Dallagnese 2012-08-08 15:19:21 -05:00
mdipierro
e4421db04e fixed issue 578, thanks Thomas Dallagnese 2012-08-08 15:17:57 -05:00
mdipierro
c7b4060fa7 fixed issue 578, thanks Thomas Dallagnese 2012-08-08 15:16:58 -05:00
mdipierro
549f3f27dc better redirect, thanks Anthony 2012-08-08 14:20:05 -05:00
mdipierro
7f97301e06 fixed issue 478, thank you Matthew Norris, sorry this took so long 2012-08-08 14:15:32 -05:00
mdipierro
4911f3f2f1 fixed issue 324, thanks jredrejo and sorry it took me 1 year to find your patch 2012-08-08 13:59:54 -05:00
mdipierro
802bb67324 fixed multiple autocomplete for table 2012-08-08 13:52:04 -05:00
mdipierro
d0a5bf7485 moved favicon.* in images 2012-08-08 13:24:49 -05:00
mdipierro
d1da96a46c indentantion 2012-08-08 13:16:24 -05:00
mdipierro
2f36ee450c fixed issue 391, thanks Dulakian 2012-08-08 12:40:04 -05:00
mdipierro
daa8707822 Oracle: new trigger resets the sequence so the next value will be the one given in the data, thanks dhx 2012-08-08 12:29:45 -05:00
mdipierro
1c2ad3b331 redirect(...,type='auto') 2012-08-08 12:17:54 -05:00
mdipierro
c1ac4f4b8b improved is_valid_ip_address 2012-08-08 10:23:03 -05:00
mdipierro
084c22c282 redirect(...) now works on ajax responses, thanks Anthony 2012-08-08 10:05:09 -05:00
mdipierro
084f19c212 fixed navbar separators 2012-08-08 09:43:07 -05:00
mdipierro
d7c00f2240 better info to debug issue 921 2012-08-08 09:35:01 -05:00
mdipierro
fdc895a1db fixed issue 924, thanks dirkk0 2012-08-08 09:24:58 -05:00
mdipierro
0b7eefd862 reverted http://code.google.com/p/web2py/source/detail?r=65caec4dae5f7c971d406beb0eb3b32f471d84a4, thanks Anthony 2012-08-07 22:45:46 -05:00
mdipierro
3849108cae removed redundant strings in tools, thanks Anthony 2012-08-07 20:39:17 -05:00
mdipierro
ac04b183a6 fixed issue 923, thanks Martin 2012-08-07 19:53:42 -05:00
mdipierro
b27a976712 router map_static, thanks Jonathan 2012-08-07 19:39:45 -05:00
mdipierro
7b01c196d1 removed form.vars.upload_newfilename 2012-08-07 16:53:03 -05:00
mdipierro
4dd04a8a92 fixed issue 669, maxlength in grid for any str representation 2012-08-07 16:40:55 -05:00
mdipierro
9be9b05d42 fixed navbar customization, thanks Anthony 2012-08-07 16:33:39 -05:00
mdipierro
711a2573c0 issue 812 auth.signature labels are translated 2012-08-07 15:13:57 -05:00
mdipierro
e22f45c878 fixed issue 569, translation of date-time error messages, thanks iceberg 2012-08-07 14:30:31 -05:00
mdipierro
a28e32f78b fixed issue 488, important security issues, monkeypatch pymysql, thanks Roman 2012-08-07 14:04:19 -05:00
mdipierro
228387bf4f make CRYPT with salt but not key compatible with third party systems 2012-08-07 12:26:33 -05:00
mdipierro
176bf74d49 fixed issue 433 2012-08-07 12:12:43 -05:00
mdipierro
686ff2bfeb auth.requires_login(otheriwise=A(..)) 2012-08-07 11:31:10 -05:00
mdipierro
ef90f698d5 confirmation before exiting the edit page 2012-08-07 11:21:48 -05:00
mdipierro
5885464341 possibe fix to attributes distinct in mongodbadapter 2012-08-07 09:33:28 -05:00
mdipierro
e7c8b08a43 prevent double listsings of apps in widget, thanks Marin 2012-08-07 09:15:58 -05:00
mdipierro
5ff910baa6 LOAD can do upload with new jQuery? 2012-08-06 23:01:50 -05:00
mdipierro
0d99d9fc9e addressed issue 916 and reverted some changes but not convinced this is always the right solution 2012-08-06 21:24:35 -05:00
mdipierro
15a3241437 fixed create button in admin, thanks Nico 2012-08-06 20:54:19 -05:00
mdipierro
b870074e5c valid html5 welcome, thanks Rob McC 2012-08-06 17:36:51 -05:00
mdipierro
8675b833ed scheduler uses pid to id running tasks, thanks Niphlod 2012-08-06 13:40:03 -05:00
mdipierro
9e5c6cc5be remove db from examples 2012-08-06 10:56:30 -05:00
mdipierro
bc38d3c8f5 new scheduler uses utc time, thanks Niphlod 2012-08-06 10:15:36 -05:00
mdipierro
a244adfb4b reverted changes in admin and examples, thanks Anthony 2012-08-06 10:13:37 -05:00
mdipierro
b94b473736 fixing error in previous commit, thanks Anthony 2012-08-06 09:59:21 -05:00
mdipierro
4f97fb6310 fixing error in previous commit, thanks Anthony 2012-08-06 09:58:15 -05:00
mdipierro
c08d5773e8 removed some un-necessary files in examples and the cache in db running demo 2012-08-06 08:57:06 -05:00
mdipierro
06f6e83c3c fixed copyright year, where possible 2012-08-06 07:25:24 -05:00
mdipierro
3f1b2ec50f remove some legacy translations in admin 2012-08-06 07:16:00 -05:00
mdipierro
4ec117b943 fixed encoding-decoding of flash, thanks Anthony 2012-08-06 06:28:32 -05:00
mdipierro
1dc9c59768 from setuptools import setup, thanks Arun and Zodman, issue 650 2012-08-05 21:35:54 -05:00
mdipierro
ac8ac3a07e request.args(-i), issue 919, thanks David Adley 2012-08-05 21:26:16 -05:00
mdipierro
89cabf6006 new centos5 install script, issue 918, thanks Alan 2012-08-05 21:21:11 -05:00
mdipierro
50b9a3d230 populate list:reference, issue 917, thanks Simonm3 2012-08-05 21:19:57 -05:00
mdipierro
aaa1bbddd2 jpg in markmin autolinks, thanks Villas 2012-08-05 19:52:19 -05:00
mdipierro
cccd7c2d33 fixed welcome menu, thanks Villas 2012-08-05 19:46:46 -05:00
mdipierro
57447cb0cf improved upload logic, thanks Marin 2012-08-03 09:02:38 -05:00
mdipierro
8a7a723289 improved upload logic, thanks Marin 2012-08-03 09:01:02 -05:00
mdipierro
e7b92202f2 new schaeduler, thanks Niphlod and Marin 2012-08-03 08:57:54 -05:00
mdipierro
2b51006819 fixed impersonating? 2012-08-03 00:55:18 -05:00
mdipierro
2fbec9ab8f possibly fixed issue 647 2012-08-02 21:51:05 -05:00
mdipierro
4867235e02 new centOS sctrips uses Python 2.6 instead of 2.7 because centOS problems, thanks Peter 2012-08-02 21:37:56 -05:00
mdipierro
796c8ff979 possible fix to address upload problem, thanks Marin 2012-08-02 21:28:38 -05:00
mdipierro
923857b957 Field(...'upload',default=path) looks in current app folder, thanks Marin 2012-08-02 10:17:15 -05:00
mdipierro
071b39f39b auth.wiki() has _create 2012-08-02 00:17:23 -05:00
mdipierro
1233eea690 ignore force_prefix for editors 2012-08-02 00:02:45 -05:00
mdipierro
ad3f34b8f1 auth.wiki() is much better, supports autolinks 2012-08-01 23:49:55 -05:00
mdipierro
8a06a98b18 avoid attemts to duplicate archive tables 2012-08-01 17:04:40 -05:00
mdipierro
75cf1f1844 reverted part of previous test 2012-08-01 12:01:17 -05:00
mdipierro
0962d0b7fb scheduler in widget menu, thanks Niphlod 2012-08-01 09:04:32 -05:00
mdipierro
fdce26f7a8 better permission handling for auth.wiki, not yet for wiki_media 2012-08-01 01:02:45 -05:00
mdipierro
4ffb597954 tentative fix to ajax problem, thanks Vladyslav, needs test, may break flash=DIV() 2012-07-31 22:03:46 -05:00
mdipierro
d259939263 more language patches, thanks Vladyslav 2012-07-31 22:02:51 -05:00
mdipierro
4ce0ab1800 fixed GAE belong issue, thanks Jonathan and Christian 2012-07-31 19:25:51 -05:00
mdipierro
2123e485d8 fixed import_from_csv_field and new tests, thanks Jonathan 2012-07-31 19:24:26 -05:00
mdipierro
a26d8245ab come web2py.css cleanup 2012-07-31 15:06:26 -05:00
mdipierro
8ff38c9669 reverted incorrect change to autolinks 2012-07-31 13:46:19 -05:00
mdipierro
29c15cde1d some dal.py indentation work 2012-07-31 12:07:11 -05:00
mdipierro
750f593f03 autolink expand_one now does unicode 2012-07-31 11:22:39 -05:00
mdipierro
daab23eb6e fixed update_on_insert 2012-07-31 10:47:23 -05:00
mdipierro
40591357b4 removed some possible tckets in auth 2012-07-30 22:07:08 -05:00
mdipierro
275363de2b markmin and languages autolinks, thanks Vladyslav 2012-07-30 20:23:05 -05:00
mdipierro
9c592383c7 possible fix for issue 188, thanks Marin 2012-07-30 16:25:35 -05:00
mdipierro
462788f6c5 issue 902, admin can peek private, thanks Alan 2012-07-29 21:55:51 -05:00
mdipierro
5a42b18325 working auth.wiki on security 2012-07-29 21:02:24 -05:00
mdipierro
23f2f23ac3 some blogging capabilities to auth.wiki 2012-07-29 20:55:01 -05:00
mdipierro
3446a85bca wiki force_prefix again 2012-07-29 18:09:41 -05:00
mdipierro
fc33fe8f44 wiki force_prefix 2012-07-29 17:37:32 -05:00
mdipierro
4861f67f84 auth.wiki supports load 2012-07-29 16:52:11 -05:00
mdipierro
039f5c25c5 improved router, thanks Jonathan 2012-07-29 16:21:45 -05:00
mdipierro
6bbd0c2736 router patch, thanks Jonathan 2012-07-29 13:57:01 -05:00
mdipierro
d017aacf6d fixed json and xml search in auth.wiki() 2012-07-29 10:43:35 -05:00
mdipierro
f2a8bad6fd improved scripts/setup-web2py-nginx-uwsgi-on-centos.sh, thanks Alan 2012-07-29 10:37:04 -05:00
mdipierro
297b4167e9 wiki services 2012-07-29 10:32:46 -05:00
mdipierro
794c0c1b3e better wiki _search 2012-07-29 10:04:30 -05:00
mdipierro
b3f67561b1 setup-web2py-nginx-uwsgi-on-centos.sh, thanks Peter 2012-07-29 08:24:26 -05:00
mdipierro
78c378522c fixed is_impersonating 2012-07-29 07:31:01 -05:00
mdipierro
c90779265a fixed issue qith clicking on toplevel menus 2012-07-28 23:04:30 -05:00
mdipierro
4da505ca1f made git pull thread safe, thanks Andrew 2012-07-28 22:37:19 -05:00
mdipierro
eea0fc4b26 fixed IS_LENGTH for value==None again 2012-07-28 21:33:00 -05:00
mdipierro
c7a7890148 made admin uploads more secure 2012-07-28 20:51:18 -05:00
mdipierro
1a20488a0d increased security in appadmin 2012-07-28 20:19:15 -05:00
mdipierro
558b4ed4cd allow serialization of SQLCustomTypes, thanks Anthony 2012-07-28 19:28:36 -05:00
mdipierro
4141e2b5d6 issue 913, handle html5 input types, thanks Howesc 2012-07-28 19:14:19 -05:00
mdipierro
3167e454e7 issue 912, handle lists of more than 30 references on GAE, thanks Howesc 2012-07-28 19:11:16 -05:00
mdipierro
be93995a3b fixed IS_LENGTH 2012-07-28 02:24:09 -05:00
mdipierro
498774d47e admin has forms 2012-07-28 02:08:53 -05:00
mdipierro
32847ed4f7 FORM.dialog -> FORM.confirm 2012-07-28 01:00:57 -05:00
mdipierro
7650e6de95 using FORM.dialog 2012-07-28 00:56:06 -05:00
mdipierro
4350ddaec0 better mongodb import 2012-07-27 17:25:30 -05:00
mdipierro
c7ac700355 fixed Recapcha, thanks Osman Masood 2012-07-27 16:53:34 -05:00
Michele Comitini
4a2215793d Merge github.com:web2py/web2py 2012-07-27 23:10:36 +02:00
mdipierro
4e50aee372 captures error in widget gethostaddr, thanks Patrick 2012-07-27 09:32:36 -05:00
mdipierro
8120f75ace BR()+BR() 2012-07-26 17:53:35 -05:00
mdipierro
33ed6dd806 issue 909, secure login_bare, thanks szimszon 2012-07-26 17:42:20 -05:00
mdipierro
322202b7e7 detect ips 2012-07-26 17:37:51 -05:00
mdipierro
c3f2868805 FORM.dialog 2012-07-26 09:41:39 -05:00
mdipierro
2b145f6e6b consolidated buttons on site 2012-07-26 08:12:29 -05:00
mdipierro
897c1f3766 validate request.client 2012-07-26 07:49:12 -05:00
mdipierro
b887c0cf0b Local/Public 2012-07-26 07:37:31 -05:00
mdipierro
b2990c8b1a do not assume library.zip 2012-07-26 06:57:27 -05:00
mdipierro
7fafe4ae7f radio widget lists ips 2012-07-26 06:42:28 -05:00
mdipierro
6036609a3e fixed order of unzipping 2012-07-26 06:06:13 -05:00
mdipierro
1528d5d67b fixed incompatibility with spreadsheet.py 2012-07-26 05:56:54 -05:00
mdipierro
155c2f4919 make win uses 2.7 2012-07-26 05:43:46 -05:00
mdipierro
cf89cbbff4 fixed issue 907 2012-07-25 21:12:34 -05:00
mdipierro
8b66bf15f0 possibly fixed issue 908 2012-07-25 21:04:56 -05:00
mdipierro
44e5fc96fc fixed winservice, thanks Marin Prajic 2012-07-25 18:34:53 -05:00
mdipierro
f0237e4ec8 lazy_cache docstring 2012-07-25 16:57:17 -05:00
mdipierro
ba80c083ab lazy_lazy_cache->lazy_cache, thanks Anthony 2012-07-25 16:53:21 -05:00
mdipierro
9e45d82049 BR()*5 2012-07-25 16:21:34 -05:00
mdipierro
d7f4e2cc7a possible solution to issue 887 2012-07-24 22:06:09 -05:00
mdipierro
671fb02434 correction to issue 886, thanks Niphlod 2012-07-24 21:23:48 -05:00
mdipierro
3db78d41eb fixed list hideerror, thanks Howesc and Niphold, issue 886 2012-07-24 21:19:58 -05:00
mdipierro
5e3ad2af44 crud.select(fields=[..]), fields can now be string, issue 901 2012-07-24 21:11:35 -05:00
mdipierro
2576690f63 backward compatiblity fix for auth sinature 2012-07-24 06:53:08 -05:00
mdipierro
3a2fd8e6c8 another attempt to fix winservice issue 2012-07-23 17:23:27 -05:00
mdipierro
485d629fc2 solved custom import issue? 2012-07-23 16:19:54 -05:00
mdipierro
cb2232bfbd experimental git support (needs a little more work), thanks Andrew Replogle 2012-07-21 16:12:45 -05:00
mdipierro
ac08356843 admin design shows private files, thanks Alan 2012-07-21 13:29:23 -05:00
Michele Comitini
a7dddda495 Merge branch 'master' of github.com:web2py/web2py 2012-07-21 01:02:53 +02:00
mdipierro
3b0935a68b other improvements, thanks Vladyslav 2012-07-20 17:37:53 -05:00
mdipierro
903b33e511 fixed typo in X509Auth, thanks Michele 2012-07-20 16:47:59 -05:00
mdipierro
f897882299 Copyright date now displays current year, always, thanks Brian Cottingham 2012-07-20 16:45:07 -05:00
mdipierro
aec1cbc81f fixed a problem with db().select().sort() did not follow book specs 2012-07-20 16:32:53 -05:00
mdipierro
b16b8b6f7f oops sh512 2012-07-20 13:51:26 -05:00
mdipierro
2764926ea9 invalid digest %s algorithm, thanks Jonathan 2012-07-20 12:47:06 -05:00
mdipierro
2f1cd20a16 added comment in welcome default.py 2012-07-20 11:27:38 -05:00
mdipierro
8ba850fc3f changed CRYPT, Auth, welcome digest_alg default 2012-07-20 10:31:07 -05:00
mdipierro
6072fa2962 added more CRYPT examples and doctests, fixed other doctests 2012-07-20 10:17:55 -05:00
mdipierro
f905a6e9dc fixed CRYPT 2012-07-20 08:58:13 -05:00
Michele Comitini
beccf647b7 fixed typo in doc string 2012-07-20 15:03:08 +02:00
Michele Comitini
21387a5b8b Merge github.com:web2py/web2py into HEAD 2012-07-20 14:55:24 +02:00
mdipierro
ff05f5d121 smarted CRYPT, thanks Jonathan 2012-07-19 16:56:44 -05:00
mdipierro
f01b61c4c9 better export in grid, thanks Niphlod 2012-07-19 16:25:22 -05:00
mdipierro
f1337d563e reverted part of recent test 2012-07-18 21:47:01 -05:00
mdipierro
b2dd147a2d fixed global_settings.gluon_parent for scripts, thanks Vladyslav 2012-07-18 18:46:43 -05:00
mdipierro
11b5d7d9d0 added a comment about md5, thanks Osman 2012-07-18 18:32:46 -05:00
mdipierro
1427dc976f better auth.wiki 2012-07-18 18:24:58 -05:00
mdipierro
05008158ee better auth.wiki with tag cloud 2012-07-18 17:50:23 -05:00
mdipierro
6a3ef83060 fixed problem with lazyT.__mod__ 2012-07-18 16:03:43 -05:00
mdipierro
af7c29330d more language patches, thanks Vladyslv 2012-07-18 15:35:42 -05:00
mdipierro
20ad8b8b71 missing pickling methods in Storage, thanks marius.v.niekerk 2012-07-18 14:20:46 -05:00
mdipierro
3058edfb8f added conditional zencoding legend if html+edit_area 2012-07-18 14:16:36 -05:00
mdipierro
bafdf36bf3 new syntax pbkdf2(1000,20,sha1) 2012-07-18 13:46:24 -05:00
mdipierro
0f952cfe5f added some more missing files 2012-07-18 13:40:10 -05:00
mdipierro
0e3198a0a6 added missing files from Vladyslav 2012-07-18 12:48:08 -05:00
mdipierro
0881673037 added button import in sqlhtml 2012-07-18 12:45:17 -05:00
mdipierro
a1aebca4d3 fixed an issue with latest CRYPT 2012-07-18 12:34:26 -05:00
mdipierro
1e657f0121 added pbkdf2 support, simplified logic 2012-07-18 12:24:28 -05:00
mdipierro
9cfb1e8afd new languages patch with pluralization, thanks Vladyslav 2012-07-18 11:22:41 -05:00
mdipierro
7b62588d7e reverted last useless patch 2012-07-17 18:06:44 -05:00
mdipierro
d3925f371b extra crsf protection for admin 2012-07-17 18:01:58 -05:00
mdipierro
192303adb1 moved define_signature to define_table but not convinced it is always a good idea 2012-07-17 17:32:35 -05:00
mdipierro
258a645aa1 better export buttons in grid, thanks Niphlod 2012-07-17 17:13:40 -05:00
mdipierro
14b6cc5650 fixed issue 864, thanks Niphlod 2012-07-17 17:11:23 -05:00
mdipierro
9d2ed04ed4 added TSV exporter to grid, thanks niphlod 2012-07-17 16:15:29 -05:00
mdipierro
3c4080eb08 typo close->clone, thanks I.like.privacy.too 2012-07-17 16:11:37 -05:00
mdipierro
dd598d6c2f reverted welcome/default/index because of a problem 2012-07-17 12:50:45 -05:00
mdipierro
80965dd5e3 yet another markmin improvement, thanks Vladyslav 2012-07-17 12:35:57 -05:00
mdipierro
e3e9182293 fixed uniqueness problem in archives 2012-07-17 10:59:26 -05:00
mdipierro
81b8b4c775 fixed problem with recent cache commit 2012-07-17 10:35:45 -05:00
mdipierro
8a2d4d5448 fixed issue 889, scheduler on missing app, thanks Niphlod 2012-07-16 22:48:59 -05:00
mdipierro
06509d79d2 more graful errors 2012-07-16 22:36:29 -05:00
mdipierro
b11ba2e870 latest utf8 and added pyuca, thanks Vladyslav 2012-07-16 22:28:18 -05:00
mdipierro
6002dbe5d6 reverted markmin2html example from Valdyslav 2012-07-16 21:19:14 -05:00
mdipierro
0991667c49 fixed socket.gaierror, thanks Carlos 2012-07-16 20:58:12 -05:00
mdipierro
661b2b87a7 added decimal support for json in serializers.py 2012-07-16 15:53:24 -05:00
mdipierro
2384a5cb7f added utf8 and utf8 support in Markminn, thanks Vladyslav 2012-07-16 15:36:47 -05:00
mdipierro
7872d38fb5 issue 889, thanks spiffytech 2012-07-16 14:25:19 -05:00
mdipierro
6577e4e851 fixed SQLALL._table 2012-07-16 14:11:54 -05:00
mdipierro
a019949628 lazy_lazy_cache 2012-07-16 14:10:22 -05:00
mdipierro
487fc8e4af welcome css pathc, issue 896, thanks Angelo 2012-07-16 13:16:02 -05:00
mdipierro
ded1292495 fixed A as menu item name, issue 987, thanks smogzer 2012-07-16 13:13:45 -05:00
mdipierro
2ae0ee0804 working on wiki_tags 2012-07-15 21:41:43 -05:00
mdipierro
f308343fb0 fixed problem with update_record and ignore_common_filters, issue 892, thanks spiffytech 2012-07-15 18:11:47 -05:00
mdipierro
c9fda71db5 db().select(....) no longer ignores common_filters, issue 893 2012-07-15 18:06:49 -05:00
mdipierro
651ba90c6f Vladyslav acknowledgement 2012-07-15 17:32:24 -05:00
mdipierro
ef7034893d id and class prefix in markmin, thanks Vladyslav 2012-07-15 17:29:55 -05:00
mdipierro
d5f5f5495b improved admin navigation, thanks Vladyslav 2012-07-15 17:28:46 -05:00
mdipierro
8412b4d0cc improved media handling in auth.wiki(), more work needed 2012-07-15 10:03:05 -05:00
mdipierro
96c4d07c0d rewrite patch, thanks Vladyslav (and Jonathan for checking it) 2012-07-14 23:27:06 -05:00
mdipierro
8a819785c5 eaiser wiki. Just do 'def index(): return auth.wiki()' (that is all) 2012-07-14 23:25:34 -05:00
mdipierro
3cba7e727e rewrite of MARKMIN, thanks Vladyslav 2012-07-14 23:05:41 -05:00
mdipierro
1b34f47ec9 many improvements from Vladyslav 2012-07-14 22:45:32 -05:00
mdipierro
709038cc0a no menu in wiki 2012-07-14 20:15:51 -05:00
mdipierro
071e84a2a5 fixed sorting in Wiki 2012-07-14 18:43:43 -05:00
mdipierro
d7d2bd2fe8 fixed a problem with computed fields 2012-07-14 18:24:01 -05:00
mdipierro
842fb69dde fixed recent bug in count 2012-07-14 17:55:25 -05:00
mdipierro
be3a091002 fixed T(T('..')) and added tools.Wiki 2012-07-14 17:50:51 -05:00
mdipierro
b2c0e1ee1d db.table.field.count(True), thanks Niphlod 2012-07-13 18:04:13 -05:00
mdipierro
2780f6f032 upgraded to pymysql 0.2 2012-07-12 15:31:24 -05:00
mdipierro
0616d22aec adding default languages, thanks Vladyslav 2012-07-12 15:23:25 -05:00
mdipierro
5b7ecc5fb2 minor cleanup in languages 2012-07-12 15:13:49 -05:00
mdipierro
4b8e525003 improved language caching, key includes filter 2012-07-12 15:09:19 -05:00
mdipierro
ff1c10fcee improved language handling, thanks Vladyslav 2012-07-12 14:58:29 -05:00
mdipierro
8199074678 streamer improvement, issue 884, thanks Niphlod 2012-07-12 14:05:06 -05:00
mdipierro
dece9f381e ldap_auth.py pep8, thanks Kory 2012-07-12 11:26:45 -05:00
mdipierro
4e8f57cbd9 better markmin, thanks Vladyslav 2012-07-11 23:13:59 -05:00
mdipierro
cdda1ee79e removed some of recent changes until futher study 2012-07-11 22:40:48 -05:00
mdipierro
4d82cc86c1 patched welcome languages, thanks Vladyslav 2012-07-11 22:16:06 -05:00
mdipierro
74da553542 no more import stat in cfs.py, thanks Vladyslav 2012-07-11 22:12:14 -05:00
mdipierro
4a49bdf352 reverted cfs.py 2012-07-11 22:11:20 -05:00
mdipierro
2f8ceb3bc5 no more import stat in cfs.py, thanks Vladyslav 2012-07-11 22:10:14 -05:00
mdipierro
4c5d8f84e7 no more import stat in cfs.py, thanks Vladyslav 2012-07-11 22:08:11 -05:00
mdipierro
0acbcc31cd better language support in admin, thanks Vladyslav 2012-07-11 22:05:38 -05:00
mdipierro
3bfb2147f5 admin-languages.patch, thanks Vladyslav 2012-07-11 22:00:37 -05:00
mdipierro
47b3b3d97c admin-languages-*, thanks Vladyslav 2012-07-11 21:59:08 -05:00
mdipierro
9350bd4849 admin-controllers-default.patch, thanks Vladyslav 2012-07-11 21:57:17 -05:00
mdipierro
d38f9bbe36 for a grid in a component, cancel delete fails, issue 879, thanks simonm3 2012-07-11 18:23:49 -05:00
mdipierro
115101dc77 populate list without duplicates, thanks simonm3 2012-07-11 18:21:41 -05:00
mdipierro
e976bbe66b latest scheduler 2012-07-11 18:16:57 -05:00
mdipierro
748028a7f4 improved ldap_auth.py, thanks Kory 2012-07-11 18:10:49 -05:00
mdipierro
49be6a6c16 table._migrated removed, not necessary 2012-07-11 09:17:30 -05:00
mdipierro
fff1d9e4a3 table._migrated, db._migrated 2012-07-11 09:16:23 -05:00
mdipierro
9fbdd6a05b table._migrated, db._migrated 2012-07-11 09:15:35 -05:00
mdipierro
64ac8fccbd more options with hmac and salt in auth, thanks Dave 2012-07-10 20:40:47 -05:00
mdipierro
e85608ae61 better user.html, thanks Dave 2012-07-10 00:22:35 -05:00
mdipierro
09d2499399 fixed typo in dal, thanks Jonathan 2012-07-09 23:55:16 -05:00
mdipierro
be8ba6603d fixed typo in tools, issue 880, thanks Douglas Philips 2012-07-09 21:40:33 -05:00
mdipierro
092ef99b0d fixed oracle bigint, thanks faridgs 2012-07-09 21:39:07 -05:00
mdipierro
84900fa3c9 fixed typo in dal 2012-07-09 21:09:55 -05:00
mdipierro
0e09f84ab6 better scheduler, thanks Niphlod 2012-07-09 21:08:57 -05:00
mdipierro
fed9258070 auto-add uploadfield 2012-07-09 17:41:31 -05:00
mdipierro
a02644c39e -K allows to specify which apps to cron, thanks Jonathan 2012-07-08 20:28:09 -05:00
mdipierro
d0463c05b2 fixed issue 701, thanks Marius van Niekerk 2012-07-08 17:39:37 -05:00
mdipierro
1068e75902 multiple exports from grid, issue 423, thanks Hong-Khoan Quach 2012-07-08 17:26:44 -05:00
mdipierro
4a93d6866a scripts/setup-web2py-fedora-ami.sh, thanks Charles Law 2012-07-08 17:11:24 -05:00
mdipierro
f7724c4f06 renamed welcome crontab crontab.example, thanks Jonathan 2012-07-08 16:40:01 -05:00
mdipierro
e33094a3d6 improver navbar behavior, thanks Anthony 2012-07-08 09:45:20 -05:00
mdipierro
98295289f0 scheduler patch, issue 878, thanks Toomim 2012-07-07 10:28:21 -05:00
Michele Comitini
2905b1b40c Merge github.com:web2py/web2py into HEAD 2012-07-06 22:59:32 +02:00
mdipierro
56eee69ebf referrer_actions, thanks Anthony 2012-07-06 11:47:25 -05:00
mdipierro
5e4283909b removed varquote, too many problems 2012-07-06 11:32:01 -05:00
Michele Comitini
aeaf0447d5 Merge github.com:web2py/web2py 2012-07-06 16:26:33 +02:00
Michele Comitini
bad7d9b960 Merge branch 'master' of github.com:michele-comitini/web2py 2012-07-06 16:25:58 +02:00
mdipierro
e15e36566c db._debug=True 2012-07-06 08:54:45 -05:00
mdipierro
901c2ebf32 fixed error in recent commit __idx, thanks Joel Carrier 2012-07-05 22:33:43 -05:00
mdipierro
fd3b52a7f8 fixed typo 2012-07-05 22:29:51 -05:00
mdipierro
60cf316e16 check if git installed for openshift 2012-07-05 22:28:54 -05:00
mdipierro
b6667e6da8 fixed language in comments, thanks Clifford 2012-07-05 22:24:34 -05:00
mdipierro
7377cef7ff openshift integration, thanks prelegalwonder 2012-07-05 22:21:18 -05:00
mdipierro
b1a4ed556f no double import contenttype, thanks Salomon Derossi 2012-07-05 22:09:13 -05:00
mdipierro
e6ab9cb597 custom qualifier, thanks david karapetyan 2012-07-05 22:06:27 -05:00
mdipierro
a0b585fc25 db.close(). thanks nick name 2012-07-05 21:32:09 -05:00
mdipierro
db1a42d5e5 catching timout in rocket sendall, thanks nickname 2012-07-05 21:17:20 -05:00
mdipierro
db9c5bd369 fixed typo in recent commit, thanks szimson 2012-07-05 10:51:03 -05:00
mdipierro
bee3c154ef error message on Crypt exception 2012-07-05 10:47:10 -05:00
mdipierro
0d8d8817f4 more varquote(s) but this is a temp solution 2012-07-05 09:31:23 -05:00
mdipierro
6169e192f7 varquote for mssql and postgresql 2012-07-05 09:21:52 -05:00
mdipierro
6864183739 fixed default algorithm with salt, requires hmac_key 2012-07-04 23:30:52 -05:00
mdipierro
2f84135dd9 fixed varquote if no-table and IDENTITY 2012-07-04 22:50:48 -05:00
mdipierro
b83f9fcfda fixed GAE contains,issue 874, thanks Howesc 2012-07-04 22:50:03 -05:00
mdipierro
de771e8117 fixed GAE contains,issue 874, thanks Howesc 2012-07-04 22:48:34 -05:00
mdipierro
cb5a993f41 fixed GAE contains,issue 874, thanks Howesc 2012-07-04 22:47:25 -05:00
mdipierro
ae83fe9ac4 Auth(...,salt=True), thanks Dave Stoll 2012-07-04 19:22:40 -05:00
mdipierro
3d6335ce7c bootstrap 2.0.4 + responsive, issue 858, thanks lightdot 2012-07-04 17:45:55 -05:00
mdipierro
31bbd7707e quotes field and tablenames in mysql, thanks Toomim 2012-07-04 17:37:49 -05:00
mdipierro
5e110aec52 component timeout defauls to oo, issue 871, thanks Simon 2012-07-04 17:05:27 -05:00
mdipierro
8a4f96e619 issue 873, thanks Howesc 2012-07-04 17:02:38 -05:00
mdipierro
4334488891 routes_in=[('/path','303->http://..')] 2012-07-01 22:44:03 -05:00
mdipierro
96893b2c26 more T's in appadmin.py, thanks Vladyslav 2012-06-30 12:11:00 -05:00
mdipierro
91bbe402bb adding 'strong' to 'permitted_tags', and 'a.target' to allowed_attributes, thanks Vladyslav 2012-06-30 12:08:53 -05:00
mdipierro
0e8111a19e for some reason shell forgets settings, this works around temporarily fixes the problem, thanks Vladyslav Kozlovskyy 2012-06-30 11:54:36 -05:00
mdipierro
95c978b705 added setup-scheduler-centos.sh, issue 867, thanks Tyrone 2012-06-29 20:55:44 -05:00
mdipierro
366c11428e issue 523, search_widget can be a dict, thanks Ato 2012-06-29 11:22:04 -05:00
mdipierro
30b67b29df updated memcache to 1.48, thanks Jonathan 2012-06-29 09:34:09 -05:00
mdipierro
17487cd40d better scheduler, thanks Niphlod 2012-06-28 22:50:03 -05:00
mdipierro
0e2b840837 better extension parsing, thanks Corne 2012-06-28 09:56:53 -05:00
mdipierro
0676afd6fd fixed import problem with external dependencies, thanks Corne Dickens 2012-06-28 09:54:22 -05:00
mdipierro
59b1f20926 added WSGIPassAuthorization On to setup scripts, thanks Larry Weinberg 2012-06-28 09:37:47 -05:00
mdipierro
dad67c761a better exception on bug, thanks Jonathan 2012-06-27 18:02:32 -05:00
mdipierro
0f8a29daeb socket timeout on ssl bug 2012-06-27 17:45:09 -05:00
mdipierro
1f7cdfc8eb chipin is back 2012-06-27 16:53:37 -05:00
mdipierro
c37ac11955 distinct in autocomplete, thanks Brent Zeiben 2012-06-25 21:40:16 -05:00
mdipierro
7a2acc2532 reverted last erroneous commit, thanks Niphlod 2012-06-25 16:49:02 -05:00
mdipierro
71fae9efce improved scheduler, thanks Niphlod 2012-06-25 16:36:20 -05:00
mdipierro
3a8a7c911e disabled login form in admin is not secure, issue 859, thanks Tim 2012-06-25 14:40:19 -05:00
mdipierro
83f1be5670 improved spreadsheet, issue 860, thanks Alan 2012-06-25 14:35:10 -05:00
mdipierro
ad55b3f1fd nested DIV in error messages, issue 861 thanks Richard 2012-06-25 14:31:52 -05:00
mdipierro
5e0dddffce fixed quote in url rewrite, thanks Michael 2012-06-25 14:21:18 -05:00
mdipierro
9bc25ea9ff ctrl+C now kills scheduler too, issue 126, thanks Niphlod 2012-06-25 14:18:20 -05:00
mdipierro
d8fd45d545 routes patch, thanks Jonathan 2012-06-25 14:14:44 -05:00
mdipierro
70b3d03235 IS_IN_DB distinct 2012-06-23 09:11:56 -05:00
mdipierro
27d0090d10 fixed imap adepater to deal with inboxes with leading _ or numbers, issue 644, thanks Alan 2012-06-22 13:18:11 -05:00
mdipierro
4830a6fbf2 improved bootswatch, thanks Paolo 2012-06-18 17:07:32 -05:00
mdipierro
71f43c0669 fixed geocode, issue 855, thanks niphllod 2012-06-17 23:36:35 -05:00
mdipierro
90883e5926 improved layout, thanks Paolo 2012-06-17 23:35:03 -05:00
mdipierro
ecdc6088f4 allow dynamical import in template, thanks Fran 2012-06-17 23:16:15 -05:00
mdipierro
f6a46cd5ff db.table.field.belongs(*value), thanks Michael Toomim 2012-06-17 23:12:49 -05:00
mdipierro
d5324315d5 cursor support in DAL for GAE, thanks Christian 2012-06-17 23:09:19 -05:00
mdipierro
5e23048a74 fixed gitingore and hgignore in welcome 2012-06-17 10:12:18 -05:00
mdipierro
8eccb87375 removed btn from buttontext, thanks szimszon 2012-06-17 08:59:35 -05:00
mdipierro
0f506fc47c removed obsolete files and upgraded to jquery 1.7.2 2012-06-16 18:57:59 -05:00
mdipierro
3143ee397b rearranged parse_id 2012-06-16 17:03:11 -05:00
mdipierro
7b6f5dff48 GAE references, thanks Christian 2012-06-16 16:49:06 -05:00
Massimo Di Pierro
2877daa369 imporved web2py.js no longer escapes flash and commands in headers 2012-06-15 13:17:09 -05:00
Massimo Di Pierro
d3c03601c9 updated changelog 2012-06-14 18:47:26 -05:00
Massimo Di Pierro
5179224e6d reverted revision 2799e09d6bb4, until better idea, because of backward compatibility 2012-06-14 15:42:18 -05:00
Massimo Di Pierro
b9aedb9bf5 DAL('postgres2:...') and arrays 2012-06-14 15:25:49 -05:00
Massimo Di Pierro
5dd56a8d94 new grid classes bootstrap compatible, thanks Bruno 2012-06-14 15:08:33 -05:00
Massimo Di Pierro
6db57e9cd2 db.table.field.filter_in, filter_out, issue 845 2012-06-14 14:45:16 -05:00
Massimo Di Pierro
de608f208f grid(groupy=...') 2012-06-14 14:35:15 -05:00
Massimo Di Pierro
9f0be17b74 grid(groupy=...') 2012-06-14 14:35:02 -05:00
Massimo Di Pierro
c8a8415ce8 keepvalue should default to True for edit forms and False for indert forms (backward compatible) 2012-06-14 14:31:30 -05:00
Massimo Di Pierro
9bcb669fda better markin, thanks villas 2012-06-14 14:28:28 -05:00
Massimo Di Pierro
c38c7e6c4e fixed timing attack again, thanks Kirill 2012-06-14 13:00:57 -05:00
Massimo Di Pierro
0209b24bcf issue 844 (SQLCustomType and unicode parsing), thanks admin 2012-06-13 20:02:13 -05:00
Massimo Di Pierro
e5e1837ce8 withprojection->projection, thanks Anthony 2012-06-13 17:14:55 -05:00
Massimo Di Pierro
9cdb9f1600 fixed issue 843, thanks hoatre2001 2012-06-13 17:02:00 -05:00
Massimo Di Pierro
344c2e85c4 make session2trash 2.5 compliant, thanks Douglas 2012-06-13 16:50:53 -05:00
Massimo Di Pierro
0c7f333ec1 ldap_auth.py fix regarding AD, thanks Gyuris 2012-06-13 16:48:58 -05:00
Massimo Di Pierro
01a2981ed4 fixed a potential timing attack, thanks Kirill Spitsin 2012-06-13 16:45:30 -05:00
Massimo Di Pierro
4a06f92c32 optinal projections, thanks Christian and Anthony 2012-06-13 11:53:18 -05:00
Massimo Di Pierro
3d71278d8a fixed bug in navbar link, thanks Anthony 2012-06-12 21:45:07 -05:00
Michele Comitini
7452551877 Merge github.com:web2py/web2py
Conflicts:
	gluon/custom_import.py
2012-06-12 18:35:31 +02:00
Massimo Di Pierro
0d95b7e6ee fixed pymongo import? 2012-06-12 08:25:22 -05:00
Massimo Di Pierro
0c672d4024 fixed newcron bug thanks niphlod 2012-06-12 08:22:29 -05:00
Massimo Di Pierro
c1dd059fa7 improved scheduler behaviour, thanks Michael 2012-06-11 14:29:08 -05:00
Massimo Di Pierro
1e7d41df2b fixed problem with migration of auth_cas, thank you Anthony 2012-06-10 21:17:47 -05:00
Massimo Di Pierro
1ef2f4f1fd store sessions in cookies, needs logic in main, thanks Nick Groenke 2012-06-10 01:18:30 -05:00
Massimo Di Pierro
816e6b3e5f GAE datastore projection support, thanks Christian 2012-06-10 00:32:14 -05:00
Massimo Di Pierro
7102bc2126 fixed makefile for make_web2py 2012-06-09 11:51:29 -05:00
Massimo Di Pierro
35ca046916 implemented cron fix, thanks Michael 2012-06-09 11:20:23 -05:00
Massimo Di Pierro
9a7587ea68 GAE projection - work in progress 2012-06-09 00:07:57 -05:00
Massimo Di Pierro
52a138ed18 newest setup_exe.py, thanks niphlod 2012-06-08 15:20:25 -05:00
Massimo Di Pierro
e2592a23b4 reverted erroneous e808fd6f684a, thanks Carlos 2012-06-07 23:25:40 -05:00
Massimo DiPierro
b94d758bf1 improved import, thanks Michele 2012-06-06 20:30:37 -05:00
Michele Comitini
aa6339bc75 Show import error in a submodule imported by custom_import 2012-06-07 02:16:20 +02:00
Massimo DiPierro
3f58332dc0 fixed welcome layout on lack of auth 2012-06-06 11:37:28 -05:00
Massimo DiPierro
9b9c046e6d merged with online branch 2012-06-06 11:19:42 -05:00
Massimo DiPierro
0d29ba9314 Merge remote-tracking branch 'origin/master' 2012-06-06 11:16:28 -05:00
Massimo DiPierro
fb7f42f4ba removed spaces 2012-06-06 11:06:41 -05:00
Massimo DiPierro
760de8ed64 fixed indentation error, thanks pbreit 2012-06-06 10:54:44 -05:00
Massimo DiPierro
e1f4c1fb67 fixed web2py.py himBH>jQuery, thanks Anthony 2012-06-06 10:51:34 -05:00
Michele Comitini
29b8979bdb White space after \ at eol removed. 2012-06-06 13:07:54 +02:00
Michele Comitini
560aef2a1d Merge branch 'master' of github.com:web2py/web2py 2012-06-06 11:10:56 +02:00
Massimo DiPierro
b45134512a another SQLCustomType improvement, Alexander is right 2012-06-05 20:02:36 -05:00
Massimo DiPierro
95d01663a7 issue 694, thanks dlypka 2012-06-05 18:18:50 -05:00
Massimo DiPierro
e6e542b14f issue 644, thanks Douglas and Alan 2012-06-05 18:08:01 -05:00
Massimo DiPierro
b930458679 Row.__str__ 2012-06-05 18:00:59 -05:00
Massimo DiPierro
87870448c6 do not show errors about already uploaded files 2012-06-05 17:53:26 -05:00
Massimo DiPierro
c562133e9f self refernces, issue 353, 'refernce .', thanks eenns 2012-06-05 17:38:16 -05:00
Massimo DiPierro
72cacb43d2 self refernces, issue 353, 'refernce .', thanks eenns 2012-06-05 17:37:40 -05:00
Massimo DiPierro
4fd95881dc fixed router bug and new test, thanks Jonathan 2012-06-05 17:15:17 -05:00
Massimo DiPierro
5766476fa1 fixed SQLCustomType represent 2012-06-05 10:57:21 -05:00
Massimo DiPierro
6675963f7b fixed typo in sqlhtml.py 2012-06-05 00:02:57 -05:00
Massimo DiPierro
efdabad37e new (better) scheduler, thanks niphlod and szimszon 2012-06-04 18:49:35 -05:00
Massimo DiPierro
dbd7c8e065 customizable breakcrumbs in smartgrid, thanks Paolo 2012-06-04 18:45:17 -05:00
Massimo DiPierro
800ea7d055 ctrl+S for admin save on Mac 2012-06-04 16:03:24 -05:00
Massimo DiPierro
ffe21ee7a6 fixed Romanian translation, thanks Ionel 2012-06-02 16:44:27 -05:00
Massimo DiPierro
4e7c1ae48a fixed issue 826, callable editable in grid, thanks Douglas 2012-06-02 14:47:43 -05:00
Massimo DiPierro
fc7c6d5697 fixed issue 828, related to rest security, thanks Clifford 2012-06-02 14:45:52 -05:00
Massimo DiPierro
f479e0dd31 romanian translation for welcome, thanks ionel 2012-06-02 14:36:17 -05:00
Massimo DiPierro
8869b0a650 romanian translation for admin, thanks ionel 2012-06-02 14:35:05 -05:00
Massimo DiPierro
c6c99eacc3 added welcome/.hgignore and .gitignore, thansk Iceberg 2012-06-02 14:02:16 -05:00
Massimo DiPierro
8436692e88 pyfilestem support for upload to S3, ftp, etc. 2012-05-31 12:48:27 -05:00
Massimo Di Pierro
e4357d2988 fixed pythonrc, thanks Vlad 2012-05-29 00:20:46 -05:00
Massimo Di Pierro
3af2c7153f fixed a problem with path detection in languages, thanks Vlad 2012-05-28 19:15:29 -05:00
Massimo Di Pierro
5c2bab1fb6 fixed problem with shell introduced in recent commit 2012-05-28 16:30:43 -05:00
Massimo Di Pierro
2d051d7ff4 issue 823, thanks mweissen 2012-05-28 16:19:29 -05:00
Massimo Di Pierro
26127e8fde fixed navbar problem with IE, thanks Paolo 2012-05-28 15:55:19 -05:00
Massimo Di Pierro
b4453c6237 reverted latest change, thanks Babak 2012-05-28 15:46:18 -05:00
Massimo Di Pierro
e61e595d21 yet another postgresql connection improvement, thanks Babak 2012-05-28 14:02:12 -05:00
Massimo Di Pierro
b607ff2318 who.html updated 2012-05-28 13:37:48 -05:00
Massimo Di Pierro
a256fe355f allow edit page resize, thanks Vlad 2012-05-28 13:34:09 -05:00
Massimo Di Pierro
f424aef3c3 language files are now searched recursively, thanks Vlad 2012-05-28 13:32:40 -05:00
Massimo Di Pierro
94e1de3cf8 language files are now searched recursively, thanks Vlad 2012-05-28 13:31:40 -05:00
Massimo Di Pierro
5001a0d16f fixed encoding in flash messages, thanks Vlad 2012-05-28 13:23:40 -05:00
Massimo Di Pierro
ac864ceaf4 internationalization in RSS serializer, thanks Vlad 2012-05-28 13:13:49 -05:00
Massimo Di Pierro
8d954bbfc3 result of PYTHONSTARTUP scripts execution (export...; def...) is inserted into global() scope of web2py interactive shell, thanks Vlad 2012-05-28 13:11:12 -05:00
Massimo Di Pierro
68b5581eb5 support for mercurial 2.6, thanks Vlad 2012-05-28 13:08:15 -05:00
Massimo Di Pierro
b48be44134 BEAUTIFY shows cookie values, thanks Vlad 2012-05-28 13:05:30 -05:00
Massimo Di Pierro
54c10e0f97 STRONG helper, thanks Vlad 2012-05-28 13:00:49 -05:00
Massimo Di Pierro
6411045b62 dal connection strigs now allo / in hostnames, thanks Babak 2012-05-28 12:29:19 -05:00
Massimo Di Pierro
de07e0dfc1 better bootswatch support in case no css, thanks Paolo 2012-05-27 17:54:20 -05:00
Massimo Di Pierro
2a4c4b86c8 Ukrainian translations, thanks Vladyslav Kozlovskyy 2012-05-27 17:39:39 -05:00
Massimo Di Pierro
8bf47a940b making ics seriliazer more flexible 2012-05-26 22:38:37 -05:00
Massimo Di Pierro
2819285076 fixed bug in serializers, thanks Louis DaPrato 2012-05-26 20:10:27 -05:00
Massimo Di Pierro
400c038555 added bootswatch.css 2012-05-26 17:53:52 -05:00
Massimo Di Pierro
07e61fc00f fixed problem with ics serializer, thanks Amber 2012-05-26 11:15:52 -05:00
Massimo DiPierro
093b3590e9 fixed bug in serializers 2012-05-25 22:29:07 -05:00
Massimo Di Pierro
3582aa2023 fixed better js for bootswatch menus 2012-05-25 15:03:40 -05:00
Massimo Di Pierro
28dffafd3d fixed js for bootswatch menus 2012-05-25 15:02:30 -05:00
Massimo Di Pierro
3a233f6cfa new welcome menu bootswatch friendly, thanks Paolo Caruccio 2012-05-25 14:52:25 -05:00
Massimo Di Pierro
543f6b9606 fixed problem with handle_charref, thanks Cedric Meyer 2012-05-25 10:38:46 -05:00
Massimo Di Pierro
837ed7fb5e new scheduler (not tested yet), thanks Niphlod 2012-05-24 22:31:51 -05:00
Michele Comitini
9ee964165b Merge branch 'master' of github.com:web2py/web2py 2012-05-23 18:12:06 +02:00
Massimo DiPierro
2fa604df3a fixed bug in mail login introduced in recent commit, issue 818, thanks Carlos 2012-05-23 09:28:00 -05:00
Massimo DiPierro
272c0a35e5 added http://web2py.sinaapp.com/, thanks web2py_lover 2012-05-23 09:25:26 -05:00
Massimo DiPierro
7447071cc4 better and centered welcome layout, thanks Chris May 2012-05-22 09:05:39 -05:00
Michele Comitini
e87f82f65c Merge branch 'master' of github.com:web2py/web2py 2012-05-22 00:03:14 +02:00
Massimo DiPierro
0ae599a94d better setup-web2py-nginx-uwsgi-ubuntu.sh, issue 816, thanks Orsomannaro 2012-05-21 16:50:03 -05:00
Massimo DiPierro
9c26839d15 fixed bug in smartdict, thanks Jonathan 2012-05-21 10:08:44 -05:00
Massimo DiPierro
0206fa024b db(db.a)._update(name=db(db.b.a==db.a.id).nested_select(db.b.id)) 2012-05-21 09:55:05 -05:00
Massimo Di Pierro
7e2fbfacac parse_as_rest returns count, thaks Joseph Piron 2012-05-20 10:09:41 -05:00
Massimo Di Pierro
ec55c1573b {{super}} equals '' if no parent 2012-05-19 22:35:12 -05:00
Massimo DiPierro
5ce35c1726 fixed 5th parameter of menu does not work on mobiles, issue 805, thanks mweissen 2012-05-19 10:11:55 -05:00
Massimo DiPierro
667396904c use applescript to force slash screen on to, thanks Marc 2012-05-19 10:09:38 -05:00
Massimo DiPierro
1f265ee370 fixed logging issue (807), thanks Marc 2012-05-19 10:07:56 -05:00
Massimo Di Pierro
ed354d8646 db.table.field.avg(), issue 803, thanks Ato 2012-05-17 18:14:19 -05:00
Massimo Di Pierro
672f093e15 fixed bug in last commit, thanks Harkirat 2012-05-17 17:52:27 -05:00
Massimo Di Pierro
16ff6cef08 get or create key now defaults to sha512 asn should have all along, thanks Harkirat 2012-05-17 15:56:19 -05:00
Massimo Di Pierro
b00eca75af mail.settings.login can be None,False,0,'' 2012-05-17 10:54:17 -05:00
Massimo Di Pierro
60c4a912cd no more class='' but class=None, thanks Jonathan 2012-05-17 09:55:50 -05:00
Massimo DiPierro
ce01842e2d disabled copied of logging.conf again, problem with python 2.5 2012-05-16 18:23:18 -05:00
Massimo DiPierro
bc929ce463 fixed issue 799, thanks hi21alt 2012-05-16 16:52:09 -05:00
Massimo DiPierro
bc8eeb25e3 Sybase Adapter 2012-05-16 16:45:10 -05:00
Michele Comitini
b10eca0dcb Merge branch 'master' of github.com:web2py/web2py 2012-05-16 22:40:38 +02:00
Massimo DiPierro
279d275c1c restored copy of logging, works today 2012-05-16 11:15:56 -05:00
Michele Comitini
14d24f496e Simplify the https check logic using request.is_https which is smarter. 2012-05-15 22:38:43 +02:00
Massimo Di Pierro
776f39922e removed copy of logging.conf because default logging.example.conf breaks web2py. 2012-05-15 09:06:31 -05:00
Massimo Di Pierro
3d86a99e55 improved csv does not require id field, issue 795, thanks Dominic Koenig 2012-05-14 14:28:35 -05:00
Massimo Di Pierro
bb946b34a8 sys.exit of error on run_system_tests 2012-05-14 14:27:27 -05:00
Massimo Di Pierro
632a8568bb sys.exit(1) of error on run_system_tests 2012-05-14 14:26:34 -05:00
Massimo DiPierro
29a2080772 added comment in Makefile 2012-05-11 21:56:17 -05:00
Massimo DiPierro
bddb8ea651 README.markdown 2012-05-11 21:52:26 -05:00
Massimo DiPierro
327ea4e019 Create default logging.conf if it doesn't exist, thanks Marc 2012-05-11 17:41:25 -05:00
Massimo Di Pierro
d788830df6 another mongodb improvement 2012-05-11 14:52:21 -05:00
Massimo Di Pierro
d73fddc481 2.00.0 release candidate 2012-05-11 08:30:51 -05:00
Massimo Di Pierro
1251313f9c fixed bug in recent widget commit, thanks Gyuris 2012-05-11 08:28:24 -05:00
Massimo Di Pierro
d2c37b1d68 Display import errors in the GUI as well as the terminal, issue 789, thanks Marc 2012-05-11 08:26:53 -05:00
Massimo Di Pierro
b60c4a3191 better teradata adapter, thanks Andrew Willimott 2012-05-11 08:23:00 -05:00
Massimo Di Pierro
d777cde5fc better teradata adapter, thanks Andrew Willimott 2012-05-11 08:14:57 -05:00
Massimo Di Pierro
3bd84e3698 make commit runs tests, let's try.... 2012-05-10 22:36:06 -05:00
Massimo Di Pierro
8ee069be65 gracefully handle if a server is already running on the selected port, thanks Marc 2012-05-10 22:30:45 -05:00
Massimo Di Pierro
d85dce1708 fixed rocket ssl issue 787 2012-05-10 22:29:12 -05:00
Massimo Di Pierro
b92c4653f1 -S a/c/f, issue 786, thanks Carlos Galindo 2012-05-10 22:24:43 -05:00
Massimo Di Pierro
f8b4e40d22 https instead of http on initial startup with certificates, issue 783, thanks shivakumar. 2012-05-10 22:22:27 -05:00
Massimo DiPierro
409ce3f51e web2py.py --run_system_tests, thanks Marc Abramowitz 2012-05-10 18:20:24 -05:00
Massimo DiPierro
827e7985d4 added contrib/imageutils, thanks Bruno and Villas 2012-05-10 18:02:12 -05:00
Massimo DiPierro
323c8ba98e better translation interface, thanks Daniel González Zaballos 2012-05-10 16:30:37 -05:00
Massimo Di Pierro
c9570aab55 anothr attempt to fix mongodb adapter 2012-05-10 15:12:29 -05:00
Massimo Di Pierro
b5bf585f99 fixed mongo select? perhaps 2012-05-10 08:19:21 -05:00
Massimo Di Pierro
9fb7bc06de fixed another typo in recent mongodb commit 2012-05-07 17:40:26 -05:00
Massimo Di Pierro
292c93658d fixed typo in previous commit 2012-05-07 17:36:10 -05:00
Massimo Di Pierro
6e583abbc2 mongodb fix? 2012-05-07 15:27:32 -05:00
Massimo Di Pierro
533719efb9 reverted change to LI(name) in MENU 2012-05-07 12:18:42 -05:00
Massimo Di Pierro
c4fc83c179 fixed bug introduced recently when non-GAE, thanks Dominic Koenig 2012-05-07 08:15:47 -05:00
Massimo Di Pierro
46387d9dd6 better scheduler docs, thanks Michael 2012-05-06 17:32:27 -05:00
Massimo Di Pierro
d79a3d8705 preserve exception in custom_import, thanks Mike Amy 2012-05-06 17:29:58 -05:00
Massimo Di Pierro
95e91329a2 added tox.ini, thanks Marc 2012-05-06 17:27:54 -05:00
Massimo Di Pierro
088bb60e17 edits in README.markdown 2012-05-06 17:21:17 -05:00
Massimo Di Pierro
55297ac68b README->README.markdown, thanks msabramo 2012-05-06 17:19:17 -05:00
Massimo Di Pierro
ec09c58519 closed github issue 5, thanks MoMaT 2012-05-06 16:05:13 -05:00
Massimo Di Pierro
30eeee1e32 fixed github issue 4, thanks ilvalle 2012-05-06 16:01:10 -05:00
Massimo Di Pierro
a836bc6ce6 better backward compatibility in bigint_id=False (default) 2012-05-05 09:01:29 -05:00
Massimo DiPierro
0a826c5239 new bigint type, DAL(...bigint_id=True) works better 2012-05-04 14:01:53 -05:00
Massimo DiPierro
4fd41a4707 portable spatialite import, issue 774, thanks TheBigBamboozle and Denes 2012-05-04 10:47:24 -05:00
Massimo DiPierro
57e586575a better -E -b -L options for scheduler, thanks niphlod 2012-05-04 10:27:05 -05:00
Massimo Di Pierro
be86c1e8ea better check for auto-upload 2012-05-03 21:00:41 -05:00
Massimo Di Pierro
712ef6499f add_permission now prevents duplicates 2012-05-03 20:51:54 -05:00
Massimo Di Pierro
838917c148 better gluon/contrib/autolinks.py, no more <embed><iframe> 2012-05-03 19:00:59 -05:00
Massimo Di Pierro
a609d93836 better gluon/contrib/autolinks.py (still not sure this is behavior I want) 2012-05-03 18:48:30 -05:00
Massimo Di Pierro
b452d0744a better autolinks 2012-05-03 17:56:06 -05:00
Massimo Di Pierro
2d2fdb5743 better gluon/contrib/autolinks.py 2012-05-03 11:54:55 -05:00
Massimo Di Pierro
3afeeeb7c5 better gluon/contrib/autolinks.py 2012-05-03 11:14:21 -05:00
Massimo Di Pierro
089d76a613 gluon/contrib/autolinks.py 2012-05-03 10:04:57 -05:00
Massimo Di Pierro
bbccff76f8 DAL(...,bigint_id=True) 2012-05-02 21:57:24 -05:00
Massimo Di Pierro
d6178047eb removed as in cache.py 2012-05-02 17:26:14 -05:00
Massimo Di Pierro
2bd0f0d90d better title in layout, bootstrap compatible, thanks Omi 2012-05-02 17:14:18 -05:00
Massimo Di Pierro
f50907f109 db._legacyid=True 2012-05-02 16:41:56 -05:00
Massimo Di Pierro
58f070949c fixed onvalidation for SQLFORM, issue 778, thanks Carlos Galindo 2012-05-02 16:08:40 -05:00
Massimo Di Pierro
eef199582a pgp patch, issue 776, thanks szimszon 2012-05-02 16:03:52 -05:00
Massimo Di Pierro
37e6826371 fixed newcron path escaping, issue 772, thanks shikasta.net 2012-05-02 16:00:20 -05:00
Massimo Di Pierro
c9df8f007d scripts/setup-web2py-fedora.sh, thanks ykessler 2012-05-02 15:58:10 -05:00
Massimo Di Pierro
92c374be8a partially accepted patch from issue 767, improved populate, thanks simonm3 2012-05-02 15:49:07 -05:00
Massimo Di Pierro
f356063e90 fixed locking issue with cache disk, thanks gypsy 2012-05-02 15:47:07 -05:00
Massimo Di Pierro
3ca82dae7f db.table.insert(uploadfield=...), ... can not be file or FieldStorage, issue 570 2012-05-02 14:28:13 -05:00
Massimo Di Pierro
0d04e5f68b translate in IS_STRONG, issue 747 partially fixed 2012-05-02 14:12:54 -05:00
Massimo Di Pierro
62dff4c955 new button in user.html 2012-04-30 15:11:39 -05:00
Massimo Di Pierro
3a2c0f8b93 form.add_button(value,link) 2012-04-30 13:45:29 -05:00
Massimo Di Pierro
139845cf60 request.args(0,default=0, cast=int, url_onerror=URL(...)), thanks Anthony 2012-04-30 11:39:37 -05:00
Massimo Di Pierro
5aaa8bde77 request.intargs(i,default,url_onerror=URL(...)) 2012-04-29 18:51:04 -05:00
Massimo Di Pierro
67b05a140e fixed + after lists, thanks Niphlod 2012-04-24 08:39:51 -05:00
Massimo Di Pierro
abb0114f94 fixed Oracle decode problem, thanks Daniel Haag 2012-04-24 08:38:13 -05:00
Massimo Di Pierro
cc8a946e78 fixed scheduler rollback typo, thanks Niphlod 2012-04-23 11:28:33 -05:00
Massimo Di Pierro
ba4565bae3 catching EOFError in admin 2012-04-22 20:27:14 -05:00
Massimo Di Pierro
fb8da0f51c multi manager support in multi user mode 2012-04-22 20:19:47 -05:00
Massimo Di Pierro
e574daa490 fixed oracle issue 764, thanks adesantoasman 2012-04-21 12:19:48 -05:00
Massimo Di Pierro
7bdb3895e2 masking password, , issue 761, thanks jlojunior 2012-04-21 12:17:42 -05:00
Massimo Di Pierro
ac44f2bd00 id and reference now defaults to BIGINT when possible but will not migrate 2012-04-21 12:10:36 -05:00
Massimo Di Pierro
897e86c3bb Issue 756, fixed status code for down for maintenance, thanks Chris 2012-04-21 11:37:35 -05:00
Massimo Di Pierro
f17d4303b5 fixed uploads in GoogleSQLAdapter, thanks Matt, issue 746 2012-04-21 11:26:15 -05:00
Massimo Di Pierro
11c0b934bf temp fix for web2py/yJtJRTUVJTg 2012-04-21 11:10:26 -05:00
Massimo Di Pierro
091a21f769 checking 2012-04-21 11:04:23 -05:00
Massimo Di Pierro
09db0843f7 shoten regex, thanks Jonathan; option to disabled latex for use with MathJax 2012-04-20 10:08:31 -05:00
Massimo Di Pierro
1991189e71 simpler @{} support 2012-04-19 22:51:08 -05:00
Massimo Di Pierro
0109ab141f simpler @{} support 2012-04-19 22:47:52 -05:00
Massimo Di Pierro
f7ecbc2dab better markmin, video, audio, embed, iframe support 2012-04-19 22:34:36 -05:00
Massimo Di Pierro
5a1cdb4e03 no twice no record found 2012-04-19 11:12:25 -05:00
Massimo Di Pierro
ea6a3b65fd separator in grid headers 2012-04-19 11:09:08 -05:00
Massimo Di Pierro
6bdc56a351 fixed mergin in grid 2012-04-19 11:04:08 -05:00
Massimo Di Pierro
da6bd89383 welcome has bootstrap, and cleaner grid 2012-04-19 10:53:04 -05:00
Massimo Di Pierro
0da6403d86 grid.create_form 2012-04-18 21:20:13 -05:00
Massimo Di Pierro
05ba91cde5 better response.files behavior 2012-04-18 17:31:10 -05:00
Massimo Di Pierro
04a82409fe fixed accessible_query 2012-04-17 21:22:11 -05:00
Massimo Di Pierro
ba64a96eba has_permission applies to everybody 2012-04-17 15:29:17 -05:00
Massimo Di Pierro
886ca03a18 auth.settings.everybody_group_id 2012-04-17 15:10:33 -05:00
Massimo Di Pierro
97d733a25f customizable personal group names 2012-04-17 12:32:38 -05:00
Massimo Di Pierro
acd9fa0951 gunicorn? 2012-04-17 10:24:57 -05:00
Massimo Di Pierro
9c46c107f3 fixed pickleablestorage import 2012-04-17 10:02:23 -05:00
Massimo Di Pierro
e389f4ef9e LENGTH fixed in MSSQL, thanks Denes 2012-04-17 09:55:50 -05:00
Massimo Di Pierro
73184a1efd gnuicorn -> gunicorn 2012-04-16 08:16:38 -05:00
Massimo Di Pierro
21a659ef85 fixed typo in gluon tools 2012-04-15 09:55:49 -05:00
Massimo Di Pierro
8e643026b2 reconnect commits first 2012-04-12 09:13:04 -05:00
Massimo Di Pierro
c172a50d38 db._adapter.reconnect() 2012-04-12 08:26:55 -05:00
Massimo Di Pierro
b973db10ca fixed some issue in grid with grid.create_form 2012-04-09 15:57:58 -05:00
Massimo Di Pierro
84b07ad923 fixed datetime-parsing 2012-04-09 09:21:43 -05:00
Massimo Di Pierro
f52268ba3c fixed IS_EMPTY_OR validator, thanks Adam Bryzak 2012-04-09 08:27:25 -05:00
Adam Bryzak
81c36b1d26 Handle empty requires list when wrapping db.table.field.requires in IS_EMPTY_OR 2012-04-09 23:22:15 +10:00
273 changed files with 20036 additions and 7611 deletions

3
.gitignore vendored
View File

@@ -52,5 +52,4 @@ applications/*/*.py[oc]
applications/examples/static/epydoc
applications/examples/static/sphinx
applications/admin/cron/cron.master
HOWTO-web2py-devel

25
.travis.yml Normal file
View File

@@ -0,0 +1,25 @@
language: python
python:
- '2.5'
- '2.6'
- '2.7'
env:
- DB=sqlite:memory
- DB=mysql://root:@localhost/test_w2p
- DB=postgres://postgres:@localhost/test_w2p
before_script:
- pip install unittest2
- if [[ $DB == postgres* ]]; then pip install --use-mirrors psycopg2; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi
- if [[ $DB == mysql* ]]; then mysql -e 'create database test_w2p;'; fi
- if [[ $DB == postgres* ]]; then psql -c 'create database test_w2p;' -U postgres; fi
#Temporal solution to travis issue #155
- sudo chmod 777 /dev/shm
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: PYTHONPATH=. unit2 -v gluon.tests
notifications:
email: false
irc:
channels: "irc.freenode.org#web2py"

6
ABOUT Normal file
View File

@@ -0,0 +1,6 @@
web2py is an open source full-stack framework for agile development
of secure database-driven web-based applications, written and programmable in
Python.
Created by Massimo Di Pierro <mdipierro@cs.depaul.edu>

View File

@@ -1,3 +1,75 @@
## 2.4.6
- better tests
- new ANY_OF and IS_IPV6 validators
- new custom save option
- many small bug fixes
## 2.4.5
- travis.ci integration (thanks Marc Abramowitz and Niphlod). Passes all tests (thanks Niplod).
- IS_DATE and IS_DATETIME can specify timezone
## 2.4.1- 2.4.3
- 2D GEO API: geoPoint, getLine, geoPolygon
- support for 'json' field type in DAL
- schema export with db.as_json/as_xml, thanks Alan
- graph representation of models
- admin based on bootstrap, thanks Paolo
- support for semantic versioning
- new bootstrap based admin, thanks Paolo
- improved scheduler (and change in scheduler field names), thanks Niphlod
- graphiz support added to adm, thanks Jose
- on_failure in grid
- db.table.field.abs()
- better wiki
- geoPoint, getLine, geoPolygon
- better reporting of 500 ajax errors
- better grid
- improved/fixed mongodb support
- improved parse_as_rest(patterns=...), thanks Denes
- improved IMAP DAL support, thanks Alan
- improved security when cookies in sessions
- Row.as_xml, as_json, as_dict, as_yaml thanks Alan
- smarted custom_import
- setup-ubuntu-12-04-redmine-unicorn-web2py-uwsgi-nginx.sh
- added support for motor and pulsar servers, thanks Niphlod
- added json-rpc2 support
- added pypyodbc.py driver
- allow auth.settings.ondelete='CASCADE'
- new syntax IS_EXPR(lambda value: ...
- using google for QR codes (although Graph API will be deprecated in 2015)
- upgraded fpdf to 1.7.1
- bug fixes (including issues with calendar.js and archive tables)
## 2.3.1 - 2.3.2
- new virtual fields syntax:
``db.define_table('person',Field('name'),Field.Virtual('namey',lambda row: row.person.name+'y'))``
- db.thing(name='Cohen',_orderby=db.thing.name), thanks Yair
- made many modules Python 3.3 friendly (compile but not tested)
- better welcome css, thanks Paolo
- jQuery 1.8.3
- Bootstrap 2.2.2
- Modernizr 2.6.2 (custom full options)
- integration with analyitics.js (0.2.0)
- better scheduler, thanks Niphlod
- page and media preview in wiki, thanks Niphlod
- create new auth.wiki page from slug model, thanks Nico
- conditional menus with auth.wiki(menugroups=['wiki_editor'])
- better security in grid/smartgrid
- allow LOADing multiple grids, thanks Niphlod
- auth.settings.login_onfail, thanks Yair
- better handling of session files for speed
- added heroku support (experimental)
- added rocket support for IPV6, thanks Chirs Winebrinner
- more customizable menus with MENU(li_first, li_last..)
- added support for paymentech (gluon/contrib/paymentech.py)
- fixed broken cron
- fixed possible xss with share.js
- many bug fixes. Closed more than 50 tickets since 2.2.1
## 2.2.1
- session.connect(cookie_key='secret', compression_level=9) stores sessions in cookies

View File

@@ -3,7 +3,7 @@
Web2py is Licensed under the LGPL license version 3
(http://www.gnu.org/licenses/lgpl.html)
Copyrighted (c) by Massimo Di Pierro (2007-2011)
Copyrighted (c) by Massimo Di Pierro (2007-2013)
### On Commercial Redistribution

View File

@@ -5,7 +5,7 @@ all:
clean:
rm -f httpserver.log
rm -f parameters*.py
rm -f -r applications/*/compiled
rm -f -r applications/*/compiled
find ./ -name '*~' -exec rm -f {} \;
find ./ -name '*.orig' -exec rm -f {} \;
find ./ -name '*.rej' -exec rm -f {} \;
@@ -29,7 +29,8 @@ update:
wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py
echo "remember that pymysql was tweaked"
src:
echo 'Version 2.2.1 ('`date +%Y-%m-%d\ %H:%M:%S`') stable' > VERSION
### Use semantic versioning
echo 'Version 2.4.6-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
### rm -f all junk files
make clean
### clean up baisc apps
@@ -42,7 +43,9 @@ src:
rm -f applications/examples/databases/*
rm -f applications/admin/uploads/*
rm -f applications/welcome/uploads/*
rm -f applications/examples/uploads/*
rm -f applications/examples/uploads/*
### make epydoc
make epydoc
### make welcome layout and appadmin the default
cp applications/welcome/views/appadmin.html applications/admin/views
cp applications/welcome/views/appadmin.html applications/examples/views
@@ -51,21 +54,19 @@ src:
### build web2py_src.zip
echo '' > NEWINSTALL
mv web2py_src.zip web2py_src_old.zip | echo 'no old'
cd ..; zip -r web2py/web2py_src.zip web2py/gluon/*.py web2py/gluon/contrib/* web2py/splashlogo.gif web2py/*.py web2py/README.markdown web2py/LICENSE web2py/CHANGELOG web2py/NEWINSTALL web2py/VERSION web2py/Makefile web2py/epydoc.css web2py/epydoc.conf web2py/app.example.yaml web2py/logging.example.conf web2py_exe.conf web2py/queue.example.yaml MANIFEST.in w2p_apps w2p_clone w2p_run startweb2py web2py/scripts/*.sh web2py/scripts/*.py web2py/applications/admin web2py/applications/examples/ web2py/applications/welcome web2py/applications/__init__.py web2py/site-packages/__init__.py web2py/gluon/tests/*.sh web2py/gluon/tests/*.py
cd ..; zip -r web2py/web2py_src.zip web2py/gluon/*.py web2py/gluon/contrib/* web2py/splashlogo.gif web2py/*.py web2py/README.markdown web2py/LICENSE web2py/CHANGELOG web2py/NEWINSTALL web2py/VERSION web2py/Makefile web2py/epydoc.css web2py/epydoc.conf web2py/app.example.yaml web2py/logging.example.conf web2py/queue.example.yaml web2py/MANIFEST.in web2py/w2p_apps web2py/w2p_clone web2py/w2p_run web2py/web2py.cio web2py/web2py.gif web2py/scripts/*.sh web2py/scripts/*.py web2py/applications/admin web2py/applications/examples/ web2py/applications/welcome web2py/applications/__init__.py web2py/site-packages/__init__.py web2py/gluon/tests/*.sh web2py/gluon/tests/*.py
mdp:
make epydoc
make src
make app
make win
app:
echo 'did you uncomment import_all in gluon/main.py?'
python2.5 -c 'import compileall; compileall.compile_dir("gluon/")'
python2.7 -c 'import compileall; compileall.compile_dir("gluon/")'
#python web2py.py -S welcome -R __exit__.py
#cd ../web2py_osx/site-packages/; unzip ../site-packages.zip
find gluon -path '*.pyc' -exec cp {} ../web2py_osx/site-packages/{} \;
cd ../web2py_osx/site-packages/; zip -r ../site-packages.zip *
mv ../web2py_osx/site-packages.zip ../web2py_osx/web2py/web2py.app/Contents/Resources/lib/python2.5
mv ../web2py_osx/site-packages.zip ../web2py_osx/web2py/web2py.app/Contents/Resources/lib/python2.7
cp README.markdown ../web2py_osx/web2py/web2py.app/Contents/Resources
cp NEWINSTALL ../web2py_osx/web2py/web2py.app/Contents/Resources
cp LICENSE ../web2py_osx/web2py/web2py.app/Contents/Resources
@@ -84,7 +85,6 @@ app:
cd ../web2py_osx; zip -r web2py_osx.zip web2py
mv ../web2py_osx/web2py_osx.zip .
win:
echo 'did you uncomment import_all in gluon/main.py?'
python2.7 -c 'import compileall; compileall.compile_dir("gluon/")'
#cd ../web2py_win/library/; unzip ../library.zip
find gluon -path '*.pyc' -exec cp {} ../web2py_win/library/{} \;
@@ -108,18 +108,16 @@ win:
cd ../web2py_win; zip -r web2py_win.zip web2py
mv ../web2py_win/web2py_win.zip .
run:
python2.5 web2py.py -a hello
python2.7 web2py.py -a hello
commit:
python web2py.py --run_system_tests
make src
echo '' > NEWINSTALL
hg commit -m "$(S)"
#bzr commit -m "$(S)"
git commit -a -m "$(S)"
push:
hg push
git push
git push mdipierro
tag:
git tag -l '$(S)'
hg tag -l '$(S)'

View File

@@ -6,6 +6,11 @@ It is written and programmable in Python. LGPLv3 License
Learn more at http://web2py.com
## Tests
[![Build Status](https://travis-ci.org/web2py/web2py.png)](https://travis-ci.org/web2py/web2py)
## Installation Instructions
To start web2py there is NO NEED to install it. Just unzip and do:
@@ -28,7 +33,7 @@ That's it!!!
contrib/ > third party libraries
tests/ > unittests
applications/ > are the apps
admin/ > web based IDE
admin/ > web based IDE
...
examples/ > examples, docs, links
...

View File

@@ -1 +1 @@
Version 2.2.1 (2012-10-21 10:54:10) stable
Version 2.4.6-stable+timestamp.2013.04.06.12.11.51

View File

@@ -17,8 +17,6 @@ import urllib
path = os.path.dirname(os.path.abspath(__file__))
os.chdir(path)
sys.path = [path] + [p for p in sys.path if not p == path]
import gluon.main
from gluon.fileutils import read_file, write_file
class Servers:
@@ -92,8 +90,6 @@ class Servers:
@staticmethod
def gevent(app, address, **options):
from gevent import monkey
monkey.patch_all()
from gevent import pywsgi
from gevent.pool import Pool
pywsgi.WSGIServer(address, app, spawn='workers' in options and Pool(
@@ -163,8 +159,30 @@ class Servers:
"tcp://127.0.0.1:9996")
mongrel2_handler(app, conn, debug=False)
@staticmethod
def motor(app, address, **options):
#https://github.com/rpedroso/motor
import motor
app = motor.WSGIContainer(app)
http_server = motor.HTTPServer(app)
http_server.listen(address=address[0], port=address[1])
#http_server.start(2)
motor.IOLoop.instance().start()
@staticmethod
def pulsar(app, address, **options):
from pulsar.apps import wsgi
sys.argv = ['anyserver.py']
s = wsgi.WSGIServer(callable=app, bind="%s:%d" % address)
s.start()
def run(servername, ip, port, softcron=True, logging=False, profiler=None):
if servername == 'gevent':
from gevent import monkey
monkey.patch_all()
import gluon.main
if logging:
application = gluon.main.appfactory(wsgiapp=gluon.main.wsgibase,
logfilename='httpserver.log',
@@ -285,7 +303,7 @@ def mongrel2_handler(application, conn, debug=False):
def main():
usage = "python anyserver.py -s tornado -i 127.0.0.1 -p 8000 -l -P"
try:
version = read_file('VERSION')
version = open('VERSION','r')
except IOError:
version = ''
parser = optparse.OptionParser(usage, None, optparse.Option, version)

View File

@@ -21,6 +21,10 @@ default_expiration: "24h" # for static files
handlers:
# Warning! Static mapping - below - isn't compatible with
# the parametric router's language logic.
# You cannot use them together.
- url: /(?P<a>.+?)/static/(?P<b>.+)
static_files: applications/\1/static/\2
upload: applications/(.+?)/static/(.+)

View File

@@ -11,6 +11,11 @@ import copy
import gluon.contenttype
import gluon.fileutils
try:
import pygraphviz as pgv
except ImportError:
pgv = None
response.subtitle = 'Database Administration (appadmin)'
# ## critical --- make a copy of the environment
@@ -49,6 +54,10 @@ response.menu = [[T('design'), False, URL('admin', 'default', 'design',
# ## auxiliary functions
# ###########################################################
if False and request.tickets_db:
from gluon.restricted import TicketStorage
ts = TicketStorage()
ts._get_table(request.tickets_db, ts.tablename, request.application)
def get_databases(request):
dbs = {}
@@ -314,6 +323,9 @@ def state():
def ccache():
cache.ram.initialize()
cache.disk.initialize()
form = FORM(
P(TAG.BUTTON(
T("Clear CACHE?"), _type="submit", _name="yes", _value="yes")),
@@ -380,7 +392,7 @@ def ccache():
return (hours, minutes, seconds)
for key, value in cache.ram.storage.items():
for key, value in cache.ram.storage.iteritems():
if isinstance(value, dict):
ram['hits'] = value['hit_total'] - value['misses']
ram['misses'] = value['misses']
@@ -396,12 +408,13 @@ def ccache():
if value[0] < ram['oldest']:
ram['oldest'] = value[0]
ram['keys'].append((key, GetInHMS(time.time() - value[0])))
locker = open(os.path.join(request.folder,
'cache/cache.lock'), 'a')
folder = os.path.join(request.folder,'cache')
if not os.path.exists(folder):
os.mkdir(folder)
locker = open(os.path.join(folder, 'cache.lock'), 'a')
portalocker.lock(locker, portalocker.LOCK_EX)
disk_storage = shelve.open(
os.path.join(request.folder, 'cache/cache.shelve'))
os.path.join(folder, 'cache.shelve'))
try:
for key, value in disk_storage.items():
if isinstance(value, dict):
@@ -459,3 +472,103 @@ def ccache():
return dict(form=form, total=total,
ram=ram, disk=disk, object_stats=hp != False)
def table_template(table):
from gluon.html import TR, TD, TABLE, TAG
def FONT(*args, **kwargs):
return TAG.font(*args, **kwargs)
def types(field):
f_type = field.type
if not isinstance(f_type,str):
return ' '
elif f_type == 'string':
return field.length
elif f_type == 'id':
return B('pk')
elif f_type.startswith('reference') or \
f_type.startswith('list:reference'):
return B('fk')
else:
return ' '
# This is horribe HTML but the only one graphiz understands
rows = []
cellpadding = 4
color = "#000000"
bgcolor = "#FFFFFF"
face = "Helvetica"
face_bold = "Helvetica Bold"
border = 0
rows.append(TR(TD(FONT(table, _face=face_bold, _color=bgcolor),
_colspan=3, _cellpadding=cellpadding,
_align="center", _bgcolor=color)))
for row in db[table]:
rows.append(TR(TD(FONT(row.name, _color=color, _face=face_bold),
_align="left", _cellpadding=cellpadding,
_border=border),
TD(FONT(row.type, _color=color, _face=face),
_align="left", _cellpadding=cellpadding,
_border=border),
TD(FONT(types(row), _color=color, _face=face),
_align="center", _cellpadding=cellpadding,
_border=border)))
return "< %s >" % TABLE(*rows, **dict(_bgcolor=bgcolor, _border=1,
_cellborder=0, _cellspacing=0)
).xml()
def bg_graph_model():
graph = pgv.AGraph(layout='dot', directed=True, strict=False, rankdir='LR')
subgraphs = dict()
for tablename in db.tables:
if hasattr(db[tablename],'_meta_graphmodel'):
meta_graphmodel = db[tablename]._meta_graphmodel
else:
meta_graphmodel = dict(group='Undefined', color='#ECECEC')
group = meta_graphmodel['group'].replace(' ', '')
if not subgraphs.has_key(group):
subgraphs[group] = dict(meta=meta_graphmodel, tables=[])
subgraphs[group]['tables'].append(tablename)
else:
subgraphs[group]['tables'].append(tablename)
graph.add_node(tablename, name=tablename, shape='plaintext',
label=table_template(tablename))
for n, key in enumerate(subgraphs.iterkeys()):
graph.subgraph(nbunch=subgraphs[key]['tables'],
name='cluster%d' % n,
style='filled',
color=subgraphs[key]['meta']['color'],
label=subgraphs[key]['meta']['group'])
for tablename in db.tables:
for field in db[tablename]:
f_type = field.type
if isinstance(f_type,str) and (
f_type.startswith('reference') or
f_type.startswith('list:reference')):
referenced_table = f_type.split()[1].split('.')[0]
n1 = graph.get_node(tablename)
n2 = graph.get_node(referenced_table)
graph.add_edge(n1, n2, color="#4C4C4C", label='')
graph.layout()
#return graph.draw(format='png', prog='dot')
if not request.args:
return graph.draw(format='png', prog='dot')
else:
response.headers['Content-Disposition']='attachment;filename=graph.%s'%request.args(0)
if request.args(0) == 'dot':
return graph.string()
else:
return graph.draw(format=request.args(0), prog='dot')
def graph_model():
return dict(databases=databases, pgv=pgv)

View File

@@ -176,6 +176,8 @@ def toggle_breakpoint():
try:
filename = os.path.join(request.env['applications_parent'],
'applications', request.vars.filename)
# normalize path name: replace slashes, references, etc...
filename = os.path.normpath(os.path.normcase(filename))
if not request.vars.data:
# ace send us the line number!
lineno = int(request.vars.sel_start) + 1
@@ -192,6 +194,8 @@ def toggle_breakpoint():
if lineno is not None:
for bp in qdb_debugger.do_list_breakpoint():
no, bp_filename, bp_lineno, temporary, enabled, hits, cond = bp
# normalize path name: replace slashes, references, etc...
bp_filename = os.path.normpath(os.path.normcase(bp_filename))
if filename == bp_filename and lineno == bp_lineno:
err = qdb_debugger.do_clear_breakpoint(filename, lineno)
response.flash = T("Removed Breakpoint on %s at line %s", (
@@ -208,3 +212,26 @@ def toggle_breakpoint():
except Exception, e:
session.flash = str(e)
return response.json({'ok': ok, 'lineno': lineno})
def list_breakpoints():
"Return a list of linenumbers for current breakpoints"
breakpoints = []
ok = None
try:
filename = os.path.join(request.env['applications_parent'],
'applications', request.vars.filename)
# normalize path name: replace slashes, references, etc...
filename = os.path.normpath(os.path.normcase(filename))
for bp in qdb_debugger.do_list_breakpoint():
no, bp_filename, bp_lineno, temporary, enabled, hits, cond = bp
# normalize path name: replace slashes, references, etc...
bp_filename = os.path.normpath(os.path.normcase(bp_filename))
if filename == bp_filename:
breakpoints.append(bp_lineno)
ok = True
except Exception, e:
session.flash = str(e)
ok = False
return response.json({'ok': ok, 'breakpoints': breakpoints})

View File

@@ -15,17 +15,19 @@ from glob import glob
import shutil
import platform
try:
from git import *
import git
if git.__version__ < '0.3.1':
raise ImportError("Your version of git is %s. Upgrade to 0.3.1 or better." % git.__version__)
have_git = True
except ImportError:
except ImportError, e:
have_git = False
GIT_MISSING = 'requires gitpython module, but not installed or incompatible version'
GIT_MISSING = 'Requires gitpython module, but not installed or incompatible version: %s' % e
from gluon.languages import (read_possible_languages, read_dict, write_dict,
read_plural_dict, write_plural_dict)
if DEMO_MODE and request.function in ['change_password', 'pack', 'pack_plugin', 'upgrade_web2py', 'uninstall', 'cleanup', 'compile_app', 'remove_compiled_app', 'delete', 'delete_plugin', 'create_file', 'upload_file', 'update_languages', 'reload_routes', 'git_push', 'git_pull']:
if DEMO_MODE and request.function in ['change_password', 'pack', 'pack_custom','pack_plugin', 'upgrade_web2py', 'uninstall', 'cleanup', 'compile_app', 'remove_compiled_app', 'delete', 'delete_plugin', 'create_file', 'upload_file', 'update_languages', 'reload_routes', 'git_push', 'git_pull']:
session.flash = T('disabled in demo mode')
redirect(URL('site'))
@@ -144,11 +146,9 @@ def check_version():
elif new_version != True:
return A(T('web2py is up to date'), _href=WEB2PY_URL)
elif platform.system().lower() in ('windows', 'win32', 'win64') and os.path.exists("web2py.exe"):
return SPAN('You should upgrade to version %s.%s.%s' % version_number[:3])
return SPAN('You should upgrade to version %s' % version_number)
else:
return sp_button(URL('upgrade_web2py'), T('upgrade now')) \
+ XML(' <strong class="upgrade_version">%s.%s.%s</strong>'
% version_number[:3])
return sp_button(URL('upgrade_web2py'), T('upgrade now to %s') % version_number.split('-')[0])
def logout():
@@ -168,7 +168,8 @@ def change_password():
form = SQLFORM.factory(Field('current_admin_password', 'password'),
Field('new_admin_password',
'password', requires=IS_STRONG()),
Field('new_admin_password_again', 'password'))
Field('new_admin_password_again', 'password'),
_class="span4 well")
if form.accepts(request.vars):
if not verify_password(request.vars.current_admin_password):
form.errors.current_admin_password = T('invalid password')
@@ -237,10 +238,10 @@ def site():
redirect(URL(r=request))
target = os.path.join(apath(r=request), form_update.vars.name)
try:
new_repo = Repo.clone_from(form_update.vars.url, target)
new_repo = git.Repo.clone_from(form_update.vars.url, target)
session.flash = T('new application "%s" imported',
form_update.vars.name)
except GitCommandError, err:
except git.GitCommandError, err:
session.flash = T('Invalid git repository specified.')
redirect(URL(r=request))
@@ -340,7 +341,6 @@ def pack():
session.flash = T('internal error: %s' % e)
redirect(URL('site'))
def pack_plugin():
app = get_app()
if len(request.args) == 2:
@@ -355,6 +355,33 @@ def pack_plugin():
session.flash = T('internal error')
redirect(URL('plugin', args=request.args))
def pack_custom():
app = get_app()
base = apath(app, r=request)
if request.post_vars.file:
files = request.post_vars.file
files = [files] if not isinstance(files,list) else files
fname = 'web2py.app.%s.w2p' % app
try:
filename = app_pack(app, request, raise_ex=True, filenames=files)
except Exception, e:
filename = None
if filename:
response.headers['Content-Type'] = 'application/w2p'
disposition = 'attachment; filename=%s' % fname
response.headers['Content-Disposition'] = disposition
return safe_read(filename, 'rb')
else:
session.flash = T('internal error: %s' % e)
redirect(URL(args=request.args))
def ignore(fs):
return [f for f in fs if not (
f[:1] in '#' or f.endswith('~') or f.endswith('.bak'))]
files = {}
for (r,d,f) in os.walk(base):
files[r] = {'folders':ignore(d),'files':ignore(f)}
return locals()
def upgrade_web2py():
dialog = FORM.confirm(T('Upgrade'),
@@ -374,6 +401,10 @@ def uninstall():
dialog = FORM.confirm(T('Uninstall'),
{T('Cancel'): URL('site')})
dialog['_id'] = 'confirm_form'
dialog['_class'] = 'well'
for component in dialog.components:
component['_class'] = 'btn'
if dialog.accepted:
if MULTI_USER_MODE:
@@ -556,6 +587,7 @@ def edit():
# Load json only if it is ajax edited...
app = get_app(request.vars.app)
filename = '/'.join(request.args)
response.title = request.args[-1]
if request.vars.app:
path = abspath(filename)
else:
@@ -636,6 +668,7 @@ def edit():
code = request.vars.data.rstrip().replace('\r\n', '\n') + '\n'
compile(code, path, "exec", _ast.PyCF_ONLY_AST)
except Exception, e:
# offset calculation is only used for textarea (start/stop)
start = sum([len(line) + 1 for l, line
in enumerate(request.vars.data.split("\n"))
if l < e.lineno - 1])
@@ -645,7 +678,7 @@ def edit():
else:
offset = 0
highlight = {'start': start, 'end': start +
offset + 1, 'lineno': e.lineno}
offset + 1, 'lineno': e.lineno, 'offset': offset}
try:
ex_name = e.__class__.__name__
except:
@@ -675,7 +708,7 @@ def edit():
cfilename = os.path.join(request.args[0], 'controllers',
request.args[2] + '.py')
if os.path.exists(apath(cfilename, r=request)):
edit_controller = URL('edit', args=[cfilename])
edit_controller = URL('edit',args=[cfilename.replace(os.sep, "/")])
view = request.args[3].replace('.html', '')
view_link = URL(request.args[0], request.args[2], view)
elif filetype == 'python' and request.args[1] == 'controllers':
@@ -791,7 +824,8 @@ def resolve():
diff = TABLE(*[TR(TD(gen_data(i, item)),
TD(item[0]),
TD(leading(item[2:]),
TT(item[2:].rstrip())), _class=getclass(item))
TT(item[2:].rstrip())),
_class=getclass(item))
for (i, item) in enumerate(d) if item[0] != '?'])
return dict(diff=diff, filename=filename)
@@ -801,6 +835,7 @@ def edit_language():
""" Edit language file """
app = get_app()
filename = '/'.join(request.args)
response.title = request.args[-1]
strings = read_dict(apath(filename, r=request))
if '__corrupted__' in strings:
@@ -834,10 +869,14 @@ def edit_language():
# Making the short circuit compatible with <= python2.4
k = (s != k) and k or B(k)
rows.append(P(prefix, k, BR(), elem, TAG.BUTTON(T('delete'),
_onclick='return delkey("%s")' % name), _id=name))
new_row = DIV(LABEL(prefix, k, _style="font-weight:normal;"),
CAT(elem, '\n', TAG.BUTTON(
T('delete'),
_onclick='return delkey("%s")' % name,
_class='btn')), _id=name, _class='span6 well well-small')
rows.append(INPUT(_type='submit', _value=T('update')))
rows.append(DIV(new_row,_class="row-fluid"))
rows.append(DIV(INPUT(_type='submit', _value=T('update'), _class="btn btn-primary"), _class='controls'))
form = FORM(*rows)
if form.accepts(request.vars, keepvalues=True):
strs = dict()
@@ -868,29 +907,27 @@ def edit_plurals():
keys = sorted(plurals.keys(), lambda x, y: cmp(
unicode(x, 'utf-8').lower(), unicode(y, 'utf-8').lower()))
rows = []
row = [T("Singular Form")]
row.extend([T("Plural Form #%s", n + 1) for n in xnplurals])
table = TABLE(THEAD(TR(row)))
tab_rows = []
for key in keys:
name = md5_hash(key)
forms = plurals[key]
if len(forms) < nplurals:
forms.extend(None for i in xrange(nplurals - len(forms)))
tab_col1 = DIV(CAT(LABEL(T("Singular Form")), B(key,
_class='fake-input')))
tab_inputs = [SPAN(LABEL(T("Plural Form #%s", n + 1)), INPUT(_type='text', _name=name + '_' + str(n), value=forms[n], _size=20), _class='span6') for n in xnplurals]
tab_col2 = DIV(CAT(*tab_inputs))
tab_col3 = DIV(CAT(LABEL(XML('&nbsp;')), TAG.BUTTON(T('delete'), _onclick='return delkey("%s")' % name, _class='btn'), _class='span6'))
tab_row = DIV(DIV(tab_col1, '\n', tab_col2, '\n', tab_col3, _class='well well-small'), _id=name, _class='row-fluid tab_row')
tab_rows.append(tab_row)
row = [B(key)]
row.extend([INPUT(_type='text', _name=name + '_' + str(n),
value=forms[n], _size=20) for n in xnplurals])
row.append(TD(
TAG.BUTTON(T('delete'), _onclick='return delkey("%s")' % name)))
rows.append(TR(row, _id=name))
if rows:
table.append(TBODY(rows))
rows = [table, INPUT(_type='submit', _value=T('update'))]
form = FORM(*rows)
tab_rows.append(DIV(TAG['button'](T('update'), _type='submit',
_class='btn btn-primary'),
_class='controls'))
tab_container = DIV(*tab_rows, **dict(_class="row-fluid"))
form = FORM(tab_container)
if form.accepts(request.vars, keepvalues=True):
new_plurals = dict()
for key in keys:
@@ -998,11 +1035,11 @@ def design():
statics.sort()
# Get all languages
langpath = os.path.join(apath(app, r=request),'languages')
languages = dict([(lang, info) for lang, info
in read_possible_languages(
apath(app, r=request)).iteritems()
in read_possible_languages(langpath).iteritems()
if info[2] != 0]) # info[2] is langfile_mtime:
# get only existed files
# get only existed files
#Get crontab
cronfolder = apath('%s/cron' % app, r=request)
@@ -1415,7 +1452,7 @@ def errors():
hash2error[hash]['count'] += 1
except KeyError:
error_lines = error['traceback'].split("\n")
last_line = error_lines[-2]
last_line = error_lines[-2] if len(error_lines)>1 else 'unknown'
error_causer = os.path.split(error['layer'])[1]
hash2error[hash] = dict(count=1, pickel=error,
causer=error_causer,
@@ -1483,7 +1520,9 @@ def errors():
else:
for item in request.vars:
if item[:7] == 'delete_':
# delete_all} rows doesn't contain any ticket
# Remove anything else as requested
if item[:7] == 'delete_' and (not item == "delete_all}"):
os.unlink(apath('%s/errors/%s' % (app, item[7:]), r=request))
func = lambda p: os.stat(apath('%s/errors/%s' %
(app, p), r=request)).st_mtime
@@ -1650,7 +1689,7 @@ def twitter():
d = dict()
for e in data:
d[e["id"]] = e
r = reversed(sorted(d))
r = reversed(sorted(d))
return dict(tweets=[d[k] for k in r])
else:
return 'disabled'
@@ -1714,29 +1753,26 @@ def git_pull():
{T('Cancel'): URL('site')})
if dialog.accepted:
try:
repo = Repo(os.path.join(apath(r=request), app))
repo = git.Repo(os.path.join(apath(r=request), app))
origin = repo.remotes.origin
origin.fetch()
origin.pull()
session.flash = T("Application updated via git pull")
redirect(URL('site'))
except CheckoutError, message:
except git.CheckoutError:
session.flash = T("Pull failed, certain files could not be checked out. Check logs for details.")
redirect(URL('site'))
except UnmergedEntriesError:
except git.UnmergedEntriesError:
session.flash = T("Pull is not possible because you have unmerged files. Fix them up in the work tree, and then try again.")
redirect(URL('site'))
except git.GitCommandError:
session.flash = T(
"Pull failed, git exited abnormally. See logs for details.")
redirect(URL('site'))
except AssertionError:
session.flash = T("Pull is not possible because you have unmerged files. Fix them up in the work tree, and then try again.")
redirect(URL('site'))
except GitCommandError, status:
session.flash = T(
"Pull failed, git exited abnormally. See logs for details.")
redirect(URL('site'))
except Exception, e:
session.flash = T(
"Pull failed, git exited abnormally. See logs for details.")
redirect(URL('site'))
elif 'cancel' in request.vars:
redirect(URL('site'))
return dict(app=app, dialog=dialog)
@@ -1754,7 +1790,7 @@ def git_push():
form.process()
if form.accepted:
try:
repo = Repo(os.path.join(apath(r=request), app))
repo = git.Repo(os.path.join(apath(r=request), app))
index = repo.index
index.add([apath(r=request) + app + '/*'])
new_commit = index.commit(form.vars.changelog)
@@ -1763,11 +1799,8 @@ def git_push():
session.flash = T(
"Git repo updated with latest application changes.")
redirect(URL('site'))
except UnmergedEntriesError:
except git.UnmergedEntriesError:
session.flash = T("Push failed, there are unmerged entries in the cache. Resolve merge issues manually and try again.")
redirect(URL('site'))
except Exception, e:
session.flash = T(
"Push failed, git exited abnormally. See logs for details.")
redirect(URL('site'))
return dict(app=app, form=form)

View File

@@ -35,7 +35,7 @@ def callback():
except ValueError:
return ''
session['commands:' + app].append(command)
environ = env(app, True)
environ = env(app, True, extra_request=dict(is_https=request.is_https))
output = gluon.contrib.shell.run(history, command, environ)
k = len(session['commands:' + app]) - 1
#output = PRE(output)

View File

@@ -55,7 +55,7 @@ def index():
reset(session)
apps = os.listdir(os.path.join(request.folder, '..'))
form = SQLFORM.factory(Field('name', requires=[IS_NOT_EMPTY(),
IS_ALPHANUMERIC()]))
IS_ALPHANUMERIC()]), _class='span5 well well-small')
if form.accepts(request.vars):
app = form.vars.name
session.app['name'] = app
@@ -125,19 +125,20 @@ def step1():
default=params.get('login_method', 'local')),
Field(
'login_config', default=params.get('login_config', None)),
Field('plugins', 'list:string', requires=IS_IN_SET(plugins, multiple=True)))
Field('plugins', 'list:string', requires=IS_IN_SET(plugins, multiple=True)),
_class='span7 well well-small')
if form.accepts(request.vars):
session.app['params'] = [(key, form.vars.get(key, None))
for key, value in session.app['params']]
redirect(URL('step2'))
redirect(URL('step2') + '/#xwizard_form')
return dict(step='1: Setting Parameters', form=form)
def step2():
response.view = 'wizard/step.html'
form = SQLFORM.factory(Field('table_names', 'list:string',
default=session.app['tables']))
default=session.app['tables']), _class="span7 well well-small")
if form.accepts(request.vars):
table_names = [clean(t) for t in listify(form.vars.table_names)
if t.strip()]
@@ -157,21 +158,21 @@ def step2():
session.app['page_' + name] = \
'## Manage %s\n\n{{=form}}' % (table)
if session.app['tables']:
redirect(URL('step3', args=0))
redirect(URL('step3', args=0) + '/#xwizard_form')
else:
redirect(URL('step4'))
redirect(URL('step4') + '/#xwizard_form')
return dict(step='2: Tables', form=form)
def step3():
response.view = 'wizard/step.html'
n = int(request.args(0) or 0)
n = int(request.args(-1) or 0)
m = len(session.app['tables'])
if n >= m:
redirect(URL('step2'))
table = session.app['tables'][n]
form = SQLFORM.factory(Field('field_names', 'list:string',
default=session.app.get('table_' + table, [])))
default=session.app.get('table_' + table, [])), _class="span7 well well-small")
if form.accepts(request.vars) and form.vars.field_names:
fields = listify(form.vars.field_names)
if table == 'auth_user':
@@ -187,9 +188,9 @@ def step3():
response.flash = T('invalid circular reference')
else:
if n < m - 1:
redirect(URL('step3', args=n + 1))
redirect(URL('step3', args=n + 1) + '/#xwizard_form')
else:
redirect(URL('step4'))
redirect(URL('step4') + '/#xwizard_form')
return dict(step='3: Fields for table "%s" (%s of %s)'
% (table, n + 1, m), table=table, form=form)
@@ -197,21 +198,21 @@ def step3():
def step4():
response.view = 'wizard/step.html'
form = SQLFORM.factory(Field('pages', 'list:string',
default=session.app['pages']))
default=session.app['pages']), _class="span7 well well-small")
if form.accepts(request.vars):
session.app['pages'] = [clean(t)
for t in listify(form.vars.pages)
if t.strip()]
if session.app['pages']:
redirect(URL('step5', args=0))
redirect(URL('step5', args=0) + '/#xwizard_form')
else:
redirect(URL('step6'))
redirect(URL('step6') + '/#xwizard_form')
return dict(step='4: Pages', form=form)
def step5():
response.view = 'wizard/step.html'
n = int(request.args(0) or 0)
n = int(request.args(-1) or 0)
m = len(session.app['pages'])
if n >= m:
redirect(URL('step4'))
@@ -221,13 +222,13 @@ def step5():
default=session.app.get('page_' + page, []),
comment=A('use markmin',
_href=markmin_url, _target='_blank')),
formstyle='table2cols')
formstyle='table2cols', _class="span7 well well-small")
if form.accepts(request.vars):
session.app['page_' + page] = form.vars.content
if n < m - 1:
redirect(URL('step5', args=n + 1))
redirect(URL('step5', args=n + 1) + '/#xwizard_form')
else:
redirect(URL('step6'))
redirect(URL('step6') + '/#xwizard_form')
return dict(step='5: View for page "%s" (%s of %s)' % (page, n + 1, m), form=form)
@@ -242,7 +243,8 @@ def step6():
Field('generate_menu', 'boolean', default=True),
Field('apply_layout', 'boolean', default=True),
Field('erase_database', 'boolean', default=True),
Field('populate_database', 'boolean', default=True))
Field('populate_database', 'boolean', default=True),
_id="generate_form", _class="form-horizontal span7 well well-small")
if form.accepts(request.vars):
if DEMO_MODE:
session.flash = T('Application cannot be generated in demo mode')

View File

@@ -1,10 +1,10 @@
EXPIRATION_MINUTES=60
DIGITS=('0','1','2','3','4','5','6','7','8','9')
import os, time, stat, cPickle, logging
path=os.path.join(request.folder,'sessions')
path = os.path.join(request.folder,'sessions')
if not os.path.exists(path):
os.mkdir(path)
now=time.time()
now = time.time()
for filename in os.listdir(path):
fullpath=os.path.join(path,filename)
if os.path.isfile(fullpath) and filename.startswith(DIGITS):
@@ -18,4 +18,4 @@ for filename in os.listdir(path):
if (now - filetime) > expiration:
os.unlink(fullpath)
except:
logging.exception('failure to check %s'%fullpath)
logging.exception('failure to check %s' % fullpath)

View File

@@ -0,0 +1,480 @@
# coding: utf8
{
'!langcode!': 'cs-cz',
'!langname!': 'čeština',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': 'Kolonka "Upravit" je nepovinný výraz, například "pole1=\'nováhodnota\'". Výsledky databázového JOINu nemůžete mazat ani upravovat.',
'"User Exception" debug mode. An error ticket could be issued!': '"User Exception" debug mode. An error ticket could be issued!',
'%%{Row} in Table': '%%{řádek} v tabulce',
'%%{Row} selected': 'označených %%{řádek}',
'%s %%{row} deleted': '%s smazaných %%{záznam}',
'%s %%{row} updated': '%s upravených %%{záznam}',
'%s selected': '%s označených',
'%Y-%m-%d': '%d.%m.%Y',
'%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M:%S',
'(requires internet access)': '(vyžaduje připojení k internetu)',
'(requires internet access, experimental)': '(requires internet access, experimental)',
'(something like "it-it")': '(například "cs-cs")',
'@markmin\x01(file **gluon/contrib/plural_rules/%s.py** is not found)': '(soubor **gluon/contrib/plural_rules/%s.py** nenalezen)',
'@markmin\x01Searching: **%s** %%{file}': 'Hledání: **%s** %%{soubor}',
'About': 'O programu',
'About application': 'O aplikaci',
'Access Control': 'Řízení přístupu',
'Add breakpoint': 'Přidat bod přerušení',
'Additional code for your application': 'Další kód pro Vaši aplikaci',
'Admin design page': 'Admin design page',
'Admin language': 'jazyk rozhraní',
'Administrative interface': 'pro administrátorské rozhraní klikněte sem',
'Administrative Interface': 'Administrátorské rozhraní',
'administrative interface': 'rozhraní pro správu',
'Administrator Password:': 'Administrátorské heslo:',
'Ajax Recipes': 'Recepty s ajaxem',
'An error occured, please %s the page': 'An error occured, please %s the page',
'and rename it:': 'a přejmenovat na:',
'appadmin': 'appadmin',
'appadmin is disabled because insecure channel': 'appadmin je zakázaná bez zabezpečeného spojení',
'Application': 'Application',
'application "%s" uninstalled': 'application "%s" odinstalována',
'application compiled': 'aplikace zkompilována',
'Application name:': 'Název aplikace:',
'are not used': 'nepoužita',
'are not used yet': 'ještě nepoužita',
'Are you sure you want to delete this object?': 'Opravdu chcete odstranit tento objekt?',
'Are you sure you want to uninstall application "%s"?': 'Opravdu chcete odinstalovat aplikaci "%s"?',
'arguments': 'arguments',
'at char %s': 'at char %s',
'at line %s': 'at line %s',
'ATTENTION:': 'ATTENTION:',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.',
'Available Databases and Tables': 'Dostupné databáze a tabulky',
'back': 'zpět',
'Back to wizard': 'Back to wizard',
'Basics': 'Basics',
'Begin': 'Začít',
'breakpoint': 'bod přerušení',
'Breakpoints': 'Body přerušení',
'breakpoints': 'body přerušení',
'Buy this book': 'Koupit web2py knihu',
'Cache': 'Cache',
'cache': 'cache',
'Cache Keys': 'Klíče cache',
'cache, errors and sessions cleaned': 'cache, chyby a relace byly pročištěny',
'can be a git repo': 'může to být git repo',
'Cancel': 'Storno',
'Cannot be empty': 'Nemůže být prázdné',
'Change Admin Password': 'Změnit heslo pro správu',
'Change admin password': 'Změnit heslo pro správu aplikací',
'Change password': 'Změna hesla',
'check all': 'vše označit',
'Check for upgrades': 'Zkusit aktualizovat',
'Check to delete': 'Označit ke smazání',
'Check to delete:': 'Označit ke smazání:',
'Checking for upgrades...': 'Zjišťuji, zda jsou k dispozici aktualizace...',
'Clean': 'Pročistit',
'Clear CACHE?': 'Vymazat CACHE?',
'Clear DISK': 'Vymazat DISK',
'Clear RAM': 'Vymazat RAM',
'Click row to expand traceback': 'Pro rozbalení stopy, klikněte na řádek',
'Click row to view a ticket': 'Pro zobrazení chyby (ticketu), klikněte na řádku...',
'Client IP': 'IP adresa klienta',
'code': 'code',
'Code listing': 'Code listing',
'collapse/expand all': 'vše sbalit/rozbalit',
'Community': 'Komunita',
'Compile': 'Zkompilovat',
'compiled application removed': 'zkompilovaná aplikace smazána',
'Components and Plugins': 'Komponenty a zásuvné moduly',
'Condition': 'Podmínka',
'continue': 'continue',
'Controller': 'Kontrolér (Controller)',
'Controllers': 'Kontroléry',
'controllers': 'kontroléry',
'Copyright': 'Copyright',
'Count': 'Počet',
'Create': 'Vytvořit',
'create file with filename:': 'vytvořit soubor s názvem:',
'created by': 'vytvořil',
'Created By': 'Vytvořeno - kým',
'Created On': 'Vytvořeno - kdy',
'crontab': 'crontab',
'Current request': 'Aktuální požadavek',
'Current response': 'Aktuální odpověď',
'Current session': 'Aktuální relace',
'currently running': 'právě běží',
'currently saved or': 'uloženo nebo',
'customize me!': 'upravte mě!',
'data uploaded': 'data nahrána',
'Database': 'Rozhraní databáze',
'Database %s select': 'databáze %s výběr',
'Database administration': 'Database administration',
'database administration': 'správa databáze',
'Date and Time': 'Datum a čas',
'day': 'den',
'db': 'db',
'DB Model': 'Databázový model',
'Debug': 'Ladění',
'defines tables': 'defines tables',
'Delete': 'Smazat',
'delete': 'smazat',
'delete all checked': 'smazat vše označené',
'delete plugin': 'delete plugin',
'Delete this file (you will be asked to confirm deletion)': 'Smazat tento soubor (budete požádán o potvrzení mazání)',
'Delete:': 'Smazat:',
'deleted after first hit': 'smazat po prvním dosažení',
'Demo': 'Demo',
'Deploy': 'Nahrát',
'Deploy on Google App Engine': 'Nahrát na Google App Engine',
'Deploy to OpenShift': 'Nahrát na OpenShift',
'Deployment Recipes': 'Postupy pro deployment',
'Description': 'Popis',
'design': 'návrh',
'Detailed traceback description': 'Podrobný výpis prostředí',
'details': 'podrobnosti',
'direction: ltr': 'směr: ltr',
'Disable': 'Zablokovat',
'DISK': 'DISK',
'Disk Cache Keys': 'Klíče diskové cache',
'Disk Cleared': 'Disk smazán',
'docs': 'dokumentace',
'Documentation': 'Dokumentace',
"Don't know what to do?": 'Nevíte kudy kam?',
'done!': 'hotovo!',
'Download': 'Stáhnout',
'download layouts': 'stáhnout moduly rozvržení stránky',
'download plugins': 'stáhnout zásuvné moduly',
'E-mail': 'E-mail',
'Edit': 'Upravit',
'edit all': 'edit all',
'Edit application': 'Správa aplikace',
'edit controller': 'edit controller',
'Edit current record': 'Upravit aktuální záznam',
'Edit Profile': 'Upravit profil',
'edit views:': 'upravit pohled:',
'Editing file "%s"': 'Úprava souboru "%s"',
'Editing Language file': 'Úprava jazykového souboru',
'Editing Plural Forms File': 'Editing Plural Forms File',
'Email and SMS': 'Email a SMS',
'Enable': 'Odblokovat',
'enter a number between %(min)g and %(max)g': 'zadejte číslo mezi %(min)g a %(max)g',
'enter an integer between %(min)g and %(max)g': 'zadejte celé číslo mezi %(min)g a %(max)g',
'Error': 'Chyba',
'Error logs for "%(app)s"': 'Seznam výskytu chyb pro aplikaci "%(app)s"',
'Error snapshot': 'Snapshot chyby',
'Error ticket': 'Ticket chyby',
'Errors': 'Chyby',
'Exception %(extype)s: %(exvalue)s': 'Exception %(extype)s: %(exvalue)s',
'Exception %s': 'Exception %s',
'Exception instance attributes': 'Prvky instance výjimky',
'Expand Abbreviation': 'Expand Abbreviation',
'export as csv file': 'exportovat do .csv souboru',
'exposes': 'vystavuje',
'exposes:': 'vystavuje funkce:',
'extends': 'rozšiřuje',
'failed to compile file because:': 'soubor se nepodařilo zkompilovat, protože:',
'FAQ': 'Často kladené dotazy',
'File': 'Soubor',
'file': 'soubor',
'file "%(filename)s" created': 'file "%(filename)s" created',
'file saved on %(time)s': 'soubor uložen %(time)s',
'file saved on %s': 'soubor uložen %s',
'Filename': 'Název souboru',
'filter': 'filtr',
'Find Next': 'Najít další',
'Find Previous': 'Najít předchozí',
'First name': 'Křestní jméno',
'Forgot username?': 'Zapomněl jste svoje přihlašovací jméno?',
'forgot username?': 'zapomněl jste svoje přihlašovací jméno?',
'Forms and Validators': 'Formuláře a validátory',
'Frames': 'Frames',
'Free Applications': 'Aplikace zdarma',
'Functions with no doctests will result in [passed] tests.': 'Functions with no doctests will result in [passed] tests.',
'Generate': 'Vytvořit',
'Get from URL:': 'Stáhnout z internetu:',
'Git Pull': 'Git Pull',
'Git Push': 'Git Push',
'Globals##debug': 'Globální proměnné',
'go!': 'OK!',
'Goto': 'Goto',
'graph model': 'graph model',
'Group %(group_id)s created': 'Skupina %(group_id)s vytvořena',
'Group ID': 'ID skupiny',
'Groups': 'Skupiny',
'Hello World': 'Ahoj světe',
'Help': 'Nápověda',
'Hide/Show Translated strings': 'Skrýt/Zobrazit přeložené texty',
'Hits': 'Kolikrát dosaženo',
'Home': 'Domovská stránka',
'honored only if the expression evaluates to true': 'brát v potaz jen když se tato podmínka vyhodnotí kladně',
'How did you get here?': 'Jak jste se sem vlastně dostal?',
'If start the upgrade, be patient, it may take a while to download': 'If start the upgrade, be patient, it may take a while to download',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.',
'import': 'import',
'Import/Export': 'Import/Export',
'includes': 'zahrnuje',
'Index': 'Index',
'insert new': 'vložit nový záznam ',
'insert new %s': 'vložit nový záznam %s',
'inspect attributes': 'inspect attributes',
'Install': 'Instalovat',
'Installed applications': 'Nainstalované aplikace',
'Interaction at %s line %s': 'Interakce v %s, na řádce %s',
'Interactive console': 'Interaktivní příkazová řádka',
'Internal State': 'Vnitřní stav',
'Introduction': 'Úvod',
'Invalid email': 'Neplatný email',
'Invalid password': 'Nesprávné heslo',
'invalid password.': 'neplatné heslo',
'Invalid Query': 'Neplatný dotaz',
'invalid request': 'Neplatný požadavek',
'Is Active': 'Je aktivní',
'It is %s %%{day} today.': 'Dnes je to %s %%{den}.',
'Key': 'Klíč',
'Key bindings': 'Vazby klíčů',
'Key bindings for ZenCoding Plugin': 'Key bindings for ZenCoding Plugin',
'languages': 'jazyky',
'Languages': 'Jazyky',
'Last name': 'Příjmení',
'Last saved on:': 'Naposledy uloženo:',
'Layout': 'Rozvržení stránky (layout)',
'Layout Plugins': 'Moduly rozvržení stránky (Layout Plugins)',
'Layouts': 'Rozvržení stránek',
'License for': 'Licence pro',
'Line number': 'Číslo řádku',
'LineNo': 'Č.řádku',
'Live Chat': 'Online pokec',
'loading...': 'nahrávám...',
'locals': 'locals',
'Locals##debug': 'Lokální proměnné',
'Logged in': 'Přihlášení proběhlo úspěšně',
'Logged out': 'Odhlášení proběhlo úspěšně',
'Login': 'Přihlásit se',
'login': 'přihlásit se',
'Login to the Administrative Interface': 'Přihlásit se do Správce aplikací',
'logout': 'odhlásit se',
'Logout': 'Odhlásit se',
'Lost Password': 'Zapomněl jste heslo',
'Lost password?': 'Zapomněl jste heslo?',
'lost password?': 'zapomněl jste heslo?',
'Manage': 'Manage',
'Manage Cache': 'Manage Cache',
'Menu Model': 'Model rozbalovací nabídky',
'Models': 'Modely',
'models': 'modely',
'Modified By': 'Změněno - kým',
'Modified On': 'Změněno - kdy',
'Modules': 'Moduly',
'modules': 'moduly',
'My Sites': 'Správa aplikací',
'Name': 'Jméno',
'new application "%s" created': 'nová aplikace "%s" vytvořena',
'New Application Wizard': 'Nový průvodce aplikací',
'New application wizard': 'Nový průvodce aplikací',
'New password': 'Nové heslo',
'New Record': 'Nový záznam',
'new record inserted': 'nový záznam byl založen',
'New simple application': 'Vytvořit primitivní aplikaci',
'next': 'next',
'next 100 rows': 'dalších 100 řádků',
'No databases in this application': 'V této aplikaci nejsou žádné databáze',
'No Interaction yet': 'Ještě žádná interakce nenastala',
'No ticket_storage.txt found under /private folder': 'Soubor ticket_storage.txt v adresáři /private nenalezen',
'Object or table name': 'Objekt či tabulka',
'Old password': 'Původní heslo',
'online designer': 'online návrhář',
'Online examples': 'Příklady online',
'Open new app in new window': 'Open new app in new window',
'or alternatively': 'or alternatively',
'Or Get from URL:': 'Or Get from URL:',
'or import from csv file': 'nebo importovat z .csv souboru',
'Origin': 'Původ',
'Original/Translation': 'Originál/Překlad',
'Other Plugins': 'Ostatní moduly',
'Other Recipes': 'Ostatní zásuvné moduly',
'Overview': 'Přehled',
'Overwrite installed app': 'Přepsat instalovanou aplikaci',
'Pack all': 'Zabalit',
'Pack compiled': 'Zabalit zkompilované',
'pack plugin': 'pack plugin',
'password': 'heslo',
'Password': 'Heslo',
"Password fields don't match": 'Hesla se neshodují',
'Peeking at file': 'Peeking at file',
'Please': 'Prosím',
'Plugin "%s" in application': 'Plugin "%s" in application',
'plugins': 'zásuvné moduly',
'Plugins': 'Zásuvné moduly',
'Plural Form #%s': 'Plural Form #%s',
'Plural-Forms:': 'Množná čísla:',
'Powered by': 'Poháněno',
'Preface': 'Předmluva',
'previous 100 rows': 'předchozích 100 řádků',
'Private files': 'Soukromé soubory',
'private files': 'soukromé soubory',
'profile': 'profil',
'Project Progress': 'Vývoj projektu',
'Python': 'Python',
'Query:': 'Dotaz:',
'Quick Examples': 'Krátké příklady',
'RAM': 'RAM',
'RAM Cache Keys': 'Klíče RAM Cache',
'Ram Cleared': 'RAM smazána',
'Readme': 'Nápověda',
'Recipes': 'Postupy jak na to',
'Record': 'Záznam',
'record does not exist': 'záznam neexistuje',
'Record ID': 'ID záznamu',
'Record id': 'id záznamu',
'refresh': 'obnovte',
'register': 'registrovat',
'Register': 'Zaregistrovat se',
'Registration identifier': 'Registrační identifikátor',
'Registration key': 'Registrační klíč',
'reload': 'reload',
'Reload routes': 'Znovu nahrát cesty',
'Remember me (for 30 days)': 'Zapamatovat na 30 dní',
'Remove compiled': 'Odstranit zkompilované',
'Removed Breakpoint on %s at line %s': 'Bod přerušení smazán - soubor %s na řádce %s',
'Replace': 'Zaměnit',
'Replace All': 'Zaměnit vše',
'request': 'request',
'Reset Password key': 'Reset registračního klíče',
'response': 'response',
'restart': 'restart',
'restore': 'obnovit',
'Retrieve username': 'Získat přihlašovací jméno',
'return': 'return',
'revert': 'vrátit se k původnímu',
'Role': 'Role',
'Rows in Table': 'Záznamy v tabulce',
'Rows selected': 'Záznamů zobrazeno',
'rules are not defined': 'pravidla nejsou definována',
"Run tests in this file (to run all files, you may also use the button labelled 'test')": "Spustí testy v tomto souboru (ke spuštění všech testů, použijte tlačítko 'test')",
'Running on %s': 'Běží na %s',
'Save': 'Uložit',
'Save file:': 'Save file:',
'Save via Ajax': 'Uložit pomocí Ajaxu',
'Saved file hash:': 'hash uloženého souboru:',
'Semantic': 'Modul semantic',
'Services': 'Služby',
'session': 'session',
'session expired': 'session expired',
'Set Breakpoint on %s at line %s: %s': 'Bod přerušení nastaven v souboru %s na řádce %s: %s',
'shell': 'příkazová řádka',
'Singular Form': 'Singular Form',
'Site': 'Správa aplikací',
'Size of cache:': 'Velikost cache:',
'skip to generate': 'skip to generate',
'Sorry, could not find mercurial installed': 'Bohužel mercurial není nainstalován.',
'Start a new app': 'Vytvořit novou aplikaci',
'Start searching': 'Začít hledání',
'Start wizard': 'Spustit průvodce',
'state': 'stav',
'Static': 'Static',
'static': 'statické soubory',
'Static files': 'Statické soubory',
'Statistics': 'Statistika',
'Step': 'Step',
'step': 'step',
'stop': 'stop',
'Stylesheet': 'CSS styly',
'submit': 'odeslat',
'Submit': 'Odeslat',
'successful': 'úspěšně',
'Support': 'Podpora',
'Sure you want to delete this object?': 'Opravdu chcete smazat tento objekt?',
'Table': 'tabulka',
'Table name': 'Název tabulky',
'Temporary': 'Dočasný',
'test': 'test',
'Testing application': 'Testing application',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': '"Dotaz" je podmínka, například "db.tabulka1.pole1==\'hodnota\'". Podmínka "db.tabulka1.pole1==db.tabulka2.pole2" pak vytvoří SQL JOIN.',
'The application logic, each URL path is mapped in one exposed function in the controller': 'Logika aplikace: každá URL je mapována na funkci vystavovanou kontrolérem.',
'The Core': 'Jádro (The Core)',
'The data representation, define database tables and sets': 'Reprezentace dat: definovat tabulky databáze a záznamy',
'The output of the file is a dictionary that was rendered by the view %s': 'Výstup ze souboru je slovník, který se zobrazil v pohledu %s.',
'The presentations layer, views are also known as templates': 'Prezentační vrstva: pohledy či templaty (šablony)',
'The Views': 'Pohledy (The Views)',
'There are no controllers': 'There are no controllers',
'There are no modules': 'There are no modules',
'There are no plugins': 'Žádné moduly nejsou instalovány.',
'There are no private files': 'Žádné soukromé soubory neexistují.',
'There are no static files': 'There are no static files',
'There are no translators, only default language is supported': 'There are no translators, only default language is supported',
'There are no views': 'There are no views',
'These files are not served, they are only available from within your app': 'Tyto soubory jsou klientům nepřístupné. K dispozici jsou pouze v rámci aplikace.',
'These files are served without processing, your images go here': 'Tyto soubory jsou servírovány bez přídavné logiky, sem patří např. obrázky.',
'This App': 'Tato aplikace',
'This is a copy of the scaffolding application': 'Toto je kopie aplikace skelet.',
'This is an experimental feature and it needs more testing. If you decide to upgrade you do it at your own risk': 'This is an experimental feature and it needs more testing. If you decide to upgrade you do it at your own risk',
'This is the %(filename)s template': 'This is the %(filename)s template',
'this page to see if a breakpoint was hit and debug interaction is required.': 'tuto stránku, abyste uviděli, zda se dosáhlo bodu přerušení.',
'Ticket': 'Ticket',
'Ticket ID': 'Ticket ID',
'Time in Cache (h:m:s)': 'Čas v Cache (h:m:s)',
'Timestamp': 'Časové razítko',
'to previous version.': 'k předchozí verzi.',
'To create a plugin, name a file/folder plugin_[name]': 'Zásuvný modul vytvoříte tak, že pojmenujete soubor/adresář plugin_[jméno modulu]',
'To emulate a breakpoint programatically, write:': 'K nastavení bodu přerušení v kódu programu, napište:',
'to use the debugger!': ', abyste mohli ladící program používat!',
'toggle breakpoint': 'vyp./zap. bod přerušení',
'Toggle Fullscreen': 'Na celou obrazovku a zpět',
'too short': 'Příliš krátké',
'Traceback': 'Traceback',
'Translation strings for the application': 'Překlad textů pro aplikaci',
'try something like': 'try something like',
'Try the mobile interface': 'Zkuste rozhraní pro mobilní zařízení',
'try view': 'try view',
'Twitter': 'Twitter',
'Type python statement in here and hit Return (Enter) to execute it.': 'Type python statement in here and hit Return (Enter) to execute it.',
'Type some Python code in here and hit Return (Enter) to execute it.': 'Type some Python code in here and hit Return (Enter) to execute it.',
'Unable to check for upgrades': 'Unable to check for upgrades',
'unable to parse csv file': 'csv soubor nedá sa zpracovat',
'uncheck all': 'vše odznačit',
'Uninstall': 'Odinstalovat',
'update': 'aktualizovat',
'update all languages': 'aktualizovat všechny jazyky',
'Update:': 'Upravit:',
'Upgrade': 'Upgrade',
'upgrade now': 'upgrade now',
'upgrade now to %s': 'upgrade now to %s',
'upload': 'nahrát',
'Upload': 'Upload',
'Upload a package:': 'Nahrát balík:',
'Upload and install packed application': 'Nahrát a instalovat zabalenou aplikaci',
'upload file:': 'nahrát soubor:',
'upload plugin file:': 'nahrát soubor modulu:',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Použijte (...)&(...) pro AND, (...)|(...) pro OR a ~(...) pro NOT pro sestavení složitějších dotazů.',
'User %(id)s Logged-in': 'Uživatel %(id)s přihlášen',
'User %(id)s Logged-out': 'Uživatel %(id)s odhlášen',
'User %(id)s Password changed': 'Uživatel %(id)s změnil heslo',
'User %(id)s Profile updated': 'Uživatel %(id)s upravil profil',
'User %(id)s Registered': 'Uživatel %(id)s se zaregistroval',
'User %(id)s Username retrieved': 'Uživatel %(id)s si nachal zaslat přihlašovací jméno',
'User ID': 'ID uživatele',
'Username': 'Přihlašovací jméno',
'variables': 'variables',
'Verify Password': 'Zopakujte heslo',
'Version': 'Verze',
'Version %s.%s.%s (%s) %s': 'Verze %s.%s.%s (%s) %s',
'Versioning': 'Verzování',
'Videos': 'Videa',
'View': 'Pohled (View)',
'Views': 'Pohledy',
'views': 'pohledy',
'Web Framework': 'Web Framework',
'web2py is up to date': 'Máte aktuální verzi web2py.',
'web2py online debugger': 'Ladící online web2py program',
'web2py Recent Tweets': 'Štěbetání na Twitteru o web2py',
'web2py upgrade': 'web2py upgrade',
'web2py upgraded; please restart it': 'web2py upgraded; please restart it',
'Welcome': 'Vítejte',
'Welcome to web2py': 'Vitejte ve web2py',
'Welcome to web2py!': 'Vítejte ve web2py!',
'Which called the function %s located in the file %s': 'která zavolala funkci %s v souboru (kontroléru) %s.',
'You are successfully running web2py': 'Úspěšně jste spustili web2py.',
'You can also set and remove breakpoint in the edit window, using the Toggle Breakpoint button': 'Nastavovat a mazat body přerušení je též možno v rámci editování zdrojového souboru přes tlačítko Vyp./Zap. bod přerušení',
'You can modify this application and adapt it to your needs': 'Tuto aplikaci si můžete upravit a přizpůsobit ji svým potřebám.',
'You need to set up and reach a': 'Je třeba nejprve nastavit a dojít až na',
'You visited the url %s': 'Navštívili jste stránku %s,',
'Your application will be blocked until you click an action button (next, step, continue, etc.)': 'Aplikace bude blokována než se klikne na jedno z tlačítek (další, krok, pokračovat, atd.)',
'Your can inspect variables using the console bellow': 'Níže pomocí příkazové řádky si můžete prohlédnout proměnné',
}

View File

@@ -3,154 +3,28 @@
'!langcode!': 'es',
'!langname!': 'Español',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"actualice" es una expresión opcional como "campo1=\'nuevo_valor\'". No se puede actualizar o eliminar resultados de un JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s %%{row} deleted': '%s filas eliminadas',
'%s %%{row} updated': '%s filas actualizadas',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'(something like "it-it")': '(algo como "it-it")',
'@markmin\x01(file **gluon/contrib/plural_rules/%s.py** is not found)': '(file **gluon/contrib/plural_rules/%s.py** is not found)',
'@markmin\x01Searching: **%s** %%{file}': 'Searching: **%s** files',
'A new version of web2py is available': 'Hay una nueva versión de web2py disponible',
'A new version of web2py is available: %s': 'Hay una nueva versión de web2py disponible: %s',
'ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.': 'ATENCION: Inicio de sesión requiere una conexión segura (HTTPS) o localhost.',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATENCION: NO EJECUTE VARIAS PRUEBAS SIMULTANEAMENTE, NO SON THREAD SAFE.',
'ATTENTION: you cannot edit the running application!': 'ATENCION: no puede modificar la aplicación que se ejecuta!',
'About': 'acerca de',
'About application': 'Acerca de la aplicación',
'Admin is disabled because insecure channel': 'Admin deshabilitado, el canal no es seguro',
'Admin is disabled because unsecure channel': 'Admin deshabilitado, el canal no es seguro',
'Administrator Password:': 'Contraseña del Administrador:',
'Are you sure you want to delete file "%s"?': '¿Está seguro que desea eliminar el archivo "%s"?',
'Are you sure you want to delete plugin "%s"?': '¿Está seguro que quiere eliminar el plugin "%s"?',
'Are you sure you want to uninstall application "%s"': '¿Está seguro que desea desinstalar la aplicación "%s"',
'Are you sure you want to uninstall application "%s"?': '¿Está seguro que desea desinstalar la aplicación "%s"?',
'Are you sure you want to upgrade web2py now?': '¿Está seguro que desea actualizar web2py ahora?',
'Available databases and tables': 'Bases de datos y tablas disponibles',
'Cannot be empty': 'No puede estar vacío',
'Cannot compile: there are errors in your app. Debug it, correct errors and try again.': 'No se puede compilar: hay errores en su aplicación. Depure, corrija errores y vuelva a intentarlo.',
'Cannot compile: there are errors in your app:': 'No se puede compilar: hay errores en su aplicación:',
'Change Password': 'Cambie Contraseña',
'Change admin password': 'cambie contraseña admin',
'Check to delete': 'Marque para eliminar',
'Checking for upgrades...': 'Buscando actulizaciones...',
'Clean': 'limpiar',
'Click row to expand traceback': 'Click row to expand traceback',
'Client IP': 'IP del Cliente',
'Compile': 'compilar',
'Controllers': 'Controladores',
'Count': 'Count',
'Create': 'crear',
'Create new application using the Wizard': 'Create new application using the Wizard',
'Create new simple application': 'Cree una nueva aplicación',
'Current request': 'Solicitud en curso',
'Current response': 'Respuesta en curso',
'Current session': 'Sesión en curso',
'DESIGN': 'DISEÑO',
'Date and Time': 'Fecha y Hora',
'Delete': 'Elimine',
'Delete:': 'Elimine:',
'Deploy on Google App Engine': 'Instale en Google App Engine',
'Description': 'Descripción',
'Design for': 'Diseño para',
'E-mail': 'Correo electrónico',
'EDIT': 'EDITAR',
'Edit': 'editar',
'Edit Profile': 'Editar Perfil',
'Edit application': 'Editar aplicación',
'Edit current record': 'Edite el registro actual',
'Editing Language file': 'Editando archivo de lenguaje',
'Editing file': 'Editando archivo',
'Editing file "%s"': 'Editando archivo "%s"',
'Enterprise Web Framework': 'Armazón Empresarial para Internet',
'Error': 'Error',
'Error logs for "%(app)s"': 'Bitácora de errores en "%(app)s"',
'Errors': 'errores',
'Exception instance attributes': 'Atributos de la instancia de Excepción',
'File': 'File',
'First name': 'Nombre',
'Functions with no doctests will result in [passed] tests.': 'Funciones sin doctests equivalen a pruebas [aceptadas].',
'Group ID': 'ID de Grupo',
'Hello World': 'Hola Mundo',
'Help': 'ayuda',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'Si el reporte anterior contiene un número de tiquete este indica un falla en la ejecución del controlador, antes de cualquier intento de ejecutat doctests. Esto generalmente se debe a un error en la indentación o un error por fuera del código de la función.\r\nUn titulo verde indica que todas las pruebas pasaron (si existen). En dicho caso los resultados no se muestran.',
'Import/Export': 'Importar/Exportar',
'Install': 'instalar',
'Installed applications': 'Aplicaciones instaladas',
'Internal State': 'Estado Interno',
'Invalid Query': 'Consulta inválida',
'Invalid action': 'Acción inválida',
'Invalid email': 'Correo inválido',
'Language files (static strings) updated': 'Archivos de lenguaje (cadenas estáticas) actualizados',
'Languages': 'Lenguajes',
'Last name': 'Apellido',
'Last saved on:': 'Guardado en:',
'License for': 'Licencia para',
'Login': 'Inicio de sesión',
'Login to the Administrative Interface': 'Inicio de sesión para la Interfaz Administrativa',
'Logout': 'fin de sesión',
'Lost Password': 'Contraseña perdida',
'Models': 'Modelos',
'Modules': 'Módulos',
'NO': 'NO',
'Name': 'Nombre',
'New Record': 'Registro nuevo',
'No databases in this application': 'No hay bases de datos en esta aplicación',
'Origin': 'Origen',
'Original/Translation': 'Original/Traducción',
'Overwrite installed app': 'sobreescriba aplicación instalada',
'PAM authenticated user, cannot change password here': 'usuario autenticado por PAM, no puede cambiar la contraseña aquí',
'Pack all': 'empaquetar todo',
'Pack compiled': 'empaquete compiladas',
'Password': 'Contraseña',
'Peeking at file': 'Visualizando archivo',
'Plugin "%s" in application': 'Plugin "%s" en aplicación',
'Plugins': 'Plugins',
'Powered by': 'Este sitio usa',
'Query:': 'Consulta:',
'Record ID': 'ID de Registro',
'Register': 'Registrese',
'Registration key': 'Contraseña de Registro',
'Remove compiled': 'eliminar compiladas',
'Resolve Conflict file': 'archivo Resolución de Conflicto',
'Role': 'Rol',
'Rows in table': 'Filas en la tabla',
'Rows selected': 'Filas seleccionadas',
'Saved file hash:': 'Hash del archivo guardado:',
'Site': 'sitio',
'Static files': 'Archivos estáticos',
'Sure you want to delete this object?': '¿Está seguro que desea eliminar este objeto?',
'TM': 'MR',
'Table name': 'Nombre de la tabla',
'Testing application': 'Probando aplicación',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': 'La "consulta" es una condición como "db.tabla1.campo1==\'valor\'". Algo como "db.tabla1.campo1==db.tabla2.campo2" resulta en un JOIN SQL.',
'There are no controllers': 'No hay controladores',
'There are no models': 'No hay modelos',
'There are no modules': 'No hay módulos',
'There are no static files': 'No hay archivos estáticos',
'There are no translators, only default language is supported': 'No hay traductores, sólo el lenguaje por defecto es soportado',
'There are no views': 'No hay vistas',
'This is the %(filename)s template': 'Esta es la plantilla %(filename)s',
'Ticket': 'Tiquete',
'Timestamp': 'Timestamp',
'To create a plugin, name a file/folder plugin_[name]': 'Para crear un plugin, nombre un archivo/carpeta plugin_[nombre]',
'Unable to check for upgrades': 'No es posible verificar la existencia de actualizaciones',
'Unable to download': 'No es posible la descarga',
'Unable to download app': 'No es posible descargar la aplicación',
'Unable to download app because:': 'No es posible descargar la aplicación porque:',
'Unable to download because': 'No es posible descargar porque',
'Uninstall': 'desinstalar',
'Update:': 'Actualice:',
'Upload & install packed application': 'Suba e instale aplicación empaquetada',
'Upload existing application': 'Suba esta aplicación',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Use (...)&(...) para AND, (...)|(...) para OR, y ~(...) para NOT, para crear consultas más complejas.',
'User ID': 'ID de Usuario',
'Version': 'Versión',
'Views': 'Vistas',
'Welcome to web2py': 'Bienvenido a web2py',
'YES': 'SI',
'additional code for your application': 'código adicional para su aplicación',
'Additional code for your application': 'Additional code for your application',
'admin disabled because no admin password': ' por falta de contraseña',
'admin disabled because not supported on google app engine': 'admin deshabilitado, no es soportado en GAE',
'admin disabled because unable to access password file': 'admin deshabilitado, imposible acceder al archivo con la contraseña',
'Admin is disabled because insecure channel': 'Admin deshabilitado, el canal no es seguro',
'Admin is disabled because unsecure channel': 'Admin deshabilitado, el canal no es seguro',
'Admin language': 'Admin language',
'administrative interface': 'administrative interface',
'Administrator Password:': 'Contraseña del Administrador:',
'An error occured, please %s the page': 'An error occured, please %s the page',
'and rename it (required):': 'y renombrela (requerido):',
'and rename it:': ' y renombrelo:',
'appadmin': 'appadmin',
@@ -158,47 +32,115 @@
'application "%s" uninstalled': 'aplicación "%s" desinstalada',
'application compiled': 'aplicación compilada',
'application is compiled and cannot be designed': 'la aplicación está compilada y no puede ser modificada',
'are not used': 'are not used',
'are not used yet': 'are not used yet',
'Are you sure you want to delete file "%s"?': '¿Está seguro que desea eliminar el archivo "%s"?',
'Are you sure you want to delete plugin "%s"?': '¿Está seguro que quiere eliminar el plugin "%s"?',
'Are you sure you want to delete this object?': 'Are you sure you want to delete this object?',
'Are you sure you want to uninstall application "%s"': '¿Está seguro que desea desinstalar la aplicación "%s"',
'Are you sure you want to uninstall application "%s"?': '¿Está seguro que desea desinstalar la aplicación "%s"?',
'Are you sure you want to upgrade web2py now?': '¿Está seguro que desea actualizar web2py ahora?',
'arguments': 'argumentos',
'at char %s': 'at char %s',
'at line %s': 'at line %s',
'ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.': 'ATENCION: Inicio de sesión requiere una conexión segura (HTTPS) o localhost.',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATENCION: NO EJECUTE VARIAS PRUEBAS SIMULTANEAMENTE, NO SON THREAD SAFE.',
'ATTENTION: you cannot edit the running application!': 'ATENCION: no puede modificar la aplicación que se ejecuta!',
'Autocomplete': 'Autocomplete',
'Available databases and tables': 'Bases de datos y tablas disponibles',
'back': 'atrás',
'breakpoint': 'breakpoint',
'breakpoints': 'breakpoints',
'browse': 'buscar',
'cache': 'cache',
'cache, errors and sessions cleaned': 'cache, errores y sesiones eliminados',
'Cannot be empty': 'No puede estar vacío',
'Cannot compile: there are errors in your app. Debug it, correct errors and try again.': 'No se puede compilar: hay errores en su aplicación. Depure, corrija errores y vuelva a intentarlo.',
'Cannot compile: there are errors in your app:': 'No se puede compilar: hay errores en su aplicación:',
'cannot create file': 'no es posible crear archivo',
'cannot upload file "%(filename)s"': 'no es posible subir archivo "%(filename)s"',
'Change admin password': 'cambie contraseña admin',
'Change Password': 'Cambie Contraseña',
'check all': 'marcar todos',
'Check to delete': 'Marque para eliminar',
'Checking for upgrades...': 'Buscando actulizaciones...',
'Clean': 'limpiar',
'click here for online examples': 'haga clic aquí para ver ejemplos en línea',
'click here for the administrative interface': 'haga clic aquí para usar la interfaz administrativa',
'Click row to expand traceback': 'Click row to expand traceback',
'click to check for upgrades': 'haga clic para buscar actualizaciones',
'click to open': 'click to open',
'Client IP': 'IP del Cliente',
'code': 'código',
'Code listing': 'Code listing',
'collapse/expand all': 'collapse/expand all',
'commit (mercurial)': 'commit (mercurial)',
'Compile': 'compilar',
'compiled application removed': 'aplicación compilada removida',
'continue': 'continue',
'Controllers': 'Controladores',
'controllers': 'controladores',
'Count': 'Count',
'Create': 'crear',
'create file with filename:': 'cree archivo con nombre:',
'Create new application using the Wizard': 'Create new application using the Wizard',
'create new application:': 'nombre de la nueva aplicación:',
'Create new simple application': 'Cree una nueva aplicación',
'created by': 'creado por',
'crontab': 'crontab',
'Current request': 'Solicitud en curso',
'Current response': 'Respuesta en curso',
'Current session': 'Sesión en curso',
'currently saved or': 'actualmente guardado o',
'customize me!': 'Adaptame!',
'data uploaded': 'datos subidos',
'database': 'base de datos',
'database %s select': 'selección en base de datos %s',
'database administration': 'administración base de datos',
'Date and Time': 'Fecha y Hora',
'db': 'db',
'Debug': 'Debug',
'defines tables': 'define tablas',
'Delete': 'Elimine',
'delete': 'eliminar',
'delete all checked': 'eliminar marcados',
'delete plugin': 'eliminar plugin',
'Delete this file (you will be asked to confirm deletion)': 'Delete this file (you will be asked to confirm deletion)',
'Delete:': 'Elimine:',
'Deploy on Google App Engine': 'Instale en Google App Engine',
'Description': 'Descripción',
'design': 'modificar',
'DESIGN': 'DISEÑO',
'Design for': 'Diseño para',
'direction: ltr': 'direction: ltr',
'docs': 'docs',
'done!': 'listo!',
'download layouts': 'download layouts',
'download plugins': 'download plugins',
'E-mail': 'Correo electrónico',
'EDIT': 'EDITAR',
'Edit': 'editar',
'Edit application': 'Editar aplicación',
'edit controller': 'editar controlador',
'Edit current record': 'Edite el registro actual',
'Edit Profile': 'Editar Perfil',
'edit views:': 'editar vistas:',
'Editing file': 'Editando archivo',
'Editing file "%s"': 'Editando archivo "%s"',
'Editing Language file': 'Editando archivo de lenguaje',
'Enterprise Web Framework': 'Armazón Empresarial para Internet',
'Error': 'Error',
'Error logs for "%(app)s"': 'Bitácora de errores en "%(app)s"',
'Errors': 'errores',
'Exception instance attributes': 'Atributos de la instancia de Excepción',
'export as csv file': 'exportar como archivo CSV',
'exposes': 'expone',
'exposes:': 'exposes:',
'extends': 'extiende',
'failed to compile file because:': 'failed to compile file because:',
'failed to reload module': 'recarga del módulo ha fallado',
'failed to reload module because:': 'no es posible recargar el módulo por:',
'File': 'File',
'file "%(filename)s" created': 'archivo "%(filename)s" creado',
'file "%(filename)s" deleted': 'archivo "%(filename)s" eliminado',
'file "%(filename)s" uploaded': 'archivo "%(filename)s" subido',
@@ -208,76 +150,211 @@
'file does not exist': 'archivo no existe',
'file saved on %(time)s': 'archivo guardado %(time)s',
'file saved on %s': 'archivo guardado %s',
'filter': 'filter',
'Find Next': 'Find Next',
'Find Previous': 'Find Previous',
'First name': 'Nombre',
'Functions with no doctests will result in [passed] tests.': 'Funciones sin doctests equivalen a pruebas [aceptadas].',
'Globals##debug': 'Globals',
'graph model': 'graph model',
'Group ID': 'ID de Grupo',
'Hello World': 'Hola Mundo',
'Help': 'ayuda',
'htmledit': 'htmledit',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'Si el reporte anterior contiene un número de tiquete este indica un falla en la ejecución del controlador, antes de cualquier intento de ejecutat doctests. Esto generalmente se debe a un error en la indentación o un error por fuera del código de la función.\r\nUn titulo verde indica que todas las pruebas pasaron (si existen). En dicho caso los resultados no se muestran.',
'Import/Export': 'Importar/Exportar',
'includes': 'incluye',
'insert new': 'inserte nuevo',
'insert new %s': 'inserte nuevo %s',
'Install': 'instalar',
'Installed applications': 'Aplicaciones instaladas',
'Interaction at %s line %s': 'Interaction at %s line %s',
'Interactive console': 'Interactive console',
'internal error': 'error interno',
'Internal State': 'Estado Interno',
'Invalid action': 'Acción inválida',
'Invalid email': 'Correo inválido',
'invalid password': 'contraseña inválida',
'Invalid Query': 'Consulta inválida',
'invalid request': 'solicitud inválida',
'invalid ticket': 'tiquete inválido',
'Key bindings': 'Key bindings',
'language file "%(filename)s" created/updated': 'archivo de lenguaje "%(filename)s" creado/actualizado',
'Language files (static strings) updated': 'Archivos de lenguaje (cadenas estáticas) actualizados',
'languages': 'lenguajes',
'Languages': 'Lenguajes',
'languages updated': 'lenguajes actualizados',
'Last name': 'Apellido',
'Last saved on:': 'Guardado en:',
'License for': 'Licencia para',
'loading...': 'cargando...',
'Locals##debug': 'Locals',
'Login': 'Inicio de sesión',
'login': 'inicio de sesión',
'Login to the Administrative Interface': 'Inicio de sesión para la Interfaz Administrativa',
'Logout': 'fin de sesión',
'Lost Password': 'Contraseña perdida',
'manage': 'manage',
'merge': 'combinar',
'Models': 'Modelos',
'models': 'modelos',
'Modules': 'Módulos',
'modules': 'módulos',
'Name': 'Nombre',
'new application "%s" created': 'nueva aplicación "%s" creada',
'new plugin installed': 'nuevo plugin instalado',
'New Record': 'Registro nuevo',
'new record inserted': 'nuevo registro insertado',
'next': 'next',
'next 100 rows': '100 filas siguientes',
'NO': 'NO',
'No databases in this application': 'No hay bases de datos en esta aplicación',
'No Interaction yet': 'No Interaction yet',
'no match': 'no encontrado',
'or alternatively': 'or alternatively',
'or import from csv file': 'o importar desde archivo CSV',
'or provide app url:': 'o provea URL de la aplicación:',
'or provide application url:': 'o provea URL de la aplicación:',
'Origin': 'Origen',
'Original/Translation': 'Original/Traducción',
'Overwrite installed app': 'sobreescriba aplicación instalada',
'Pack all': 'empaquetar todo',
'Pack compiled': 'empaquete compiladas',
'pack plugin': 'empaquetar plugin',
'PAM authenticated user, cannot change password here': 'usuario autenticado por PAM, no puede cambiar la contraseña aquí',
'Password': 'Contraseña',
'password changed': 'contraseña cambiada',
'Peeking at file': 'Visualizando archivo',
'Please': 'Please',
'plugin "%(plugin)s" deleted': 'plugin "%(plugin)s" eliminado',
'Plugin "%s" in application': 'Plugin "%s" en aplicación',
'plugins': 'plugins',
'Plugins': 'Plugins',
'Plural-Forms:': 'Plural-Forms:',
'Powered by': 'Este sitio usa',
'previous 100 rows': '100 filas anteriores',
'Private files': 'Private files',
'private files': 'private files',
'Query:': 'Consulta:',
'record': 'registro',
'record does not exist': 'el registro no existe',
'record id': 'id de registro',
'Record ID': 'ID de Registro',
'refresh': 'refresh',
'Register': 'Registrese',
'Registration key': 'Contraseña de Registro',
'reload': 'reload',
'Remove compiled': 'eliminar compiladas',
'Removed Breakpoint on %s at line %s': 'Removed Breakpoint on %s at line %s',
'Replace': 'Replace',
'Replace All': 'Replace All',
'Resolve Conflict file': 'archivo Resolución de Conflicto',
'restore': 'restaurar',
'return': 'return',
'revert': 'revertir',
'Role': 'Rol',
'Rows in table': 'Filas en la tabla',
'Rows selected': 'Filas seleccionadas',
'rules are not defined': 'rules are not defined',
"Run tests in this file (to run all files, you may also use the button labelled 'test')": "Run tests in this file (to run all files, you may also use the button labelled 'test')",
'Save': 'Save',
'save': 'guardar',
'Save file:': 'Save file:',
'Save via Ajax': 'Save via Ajax',
'Saved file hash:': 'Hash del archivo guardado:',
'selected': 'seleccionado(s)',
'session expired': 'sesión expirada',
'Set Breakpoint on %s at line %s: %s': 'Set Breakpoint on %s at line %s: %s',
'shell': 'shell',
'Site': 'sitio',
'some files could not be removed': 'algunos archivos no pudieron ser removidos',
'Start searching': 'Start searching',
'state': 'estado',
'static': 'estáticos',
'Static': 'Static',
'Static files': 'Archivos estáticos',
'step': 'step',
'stop': 'stop',
'submit': 'enviar',
'successful': 'successful',
'Sure you want to delete this object?': '¿Está seguro que desea eliminar este objeto?',
'table': 'tabla',
'Table name': 'Nombre de la tabla',
'test': 'probar',
'Testing application': 'Probando aplicación',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': 'La "consulta" es una condición como "db.tabla1.campo1==\'valor\'". Algo como "db.tabla1.campo1==db.tabla2.campo2" resulta en un JOIN SQL.',
'the application logic, each URL path is mapped in one exposed function in the controller': 'la lógica de la aplicación, cada ruta URL se mapea en una función expuesta en el controlador',
'The application logic, each URL path is mapped in one exposed function in the controller': 'The application logic, each URL path is mapped in one exposed function in the controller',
'the data representation, define database tables and sets': 'la representación de datos, define tablas y conjuntos de base de datos',
'The data representation, define database tables and sets': 'The data representation, define database tables and sets',
'The presentations layer, views are also known as templates': 'The presentations layer, views are also known as templates',
'the presentations layer, views are also known as templates': 'la capa de presentación, las vistas también son llamadas plantillas',
'There are no controllers': 'No hay controladores',
'There are no models': 'No hay modelos',
'There are no modules': 'No hay módulos',
'There are no plugins': 'There are no plugins',
'There are no private files': 'There are no private files',
'There are no static files': 'No hay archivos estáticos',
'There are no translators, only default language is supported': 'No hay traductores, sólo el lenguaje por defecto es soportado',
'There are no views': 'No hay vistas',
'These files are not served, they are only available from within your app': 'These files are not served, they are only available from within your app',
'These files are served without processing, your images go here': 'These files are served without processing, your images go here',
'these files are served without processing, your images go here': 'estos archivos son servidos sin procesar, sus imágenes van aquí',
'This is the %(filename)s template': 'Esta es la plantilla %(filename)s',
'this page to see if a breakpoint was hit and debug interaction is required.': 'this page to see if a breakpoint was hit and debug interaction is required.',
'Ticket': 'Tiquete',
'Timestamp': 'Timestamp',
'TM': 'MR',
'to previous version.': 'a la versión previa.',
'To create a plugin, name a file/folder plugin_[name]': 'Para crear un plugin, nombre un archivo/carpeta plugin_[nombre]',
'To emulate a breakpoint programatically, write:': 'To emulate a breakpoint programatically, write:',
'to use the debugger!': 'to use the debugger!',
'toggle breakpoint': 'toggle breakpoint',
'Toggle Fullscreen': 'Toggle Fullscreen',
'translation strings for the application': 'cadenas de caracteres de traducción para la aplicación',
'Translation strings for the application': 'Translation strings for the application',
'try': 'intente',
'try something like': 'intente algo como',
'Type some Python code in here and hit Return (Enter) to execute it.': 'Type some Python code in here and hit Return (Enter) to execute it.',
'Unable to check for upgrades': 'No es posible verificar la existencia de actualizaciones',
'unable to create application "%s"': 'no es posible crear la aplicación "%s"',
'unable to delete file "%(filename)s"': 'no es posible eliminar el archivo "%(filename)s"',
'unable to delete file plugin "%(plugin)s"': 'no es posible eliminar plugin "%(plugin)s"',
'Unable to download': 'No es posible la descarga',
'Unable to download app': 'No es posible descargar la aplicación',
'Unable to download app because:': 'No es posible descargar la aplicación porque:',
'Unable to download because': 'No es posible descargar porque',
'unable to parse csv file': 'no es posible analizar el archivo CSV',
'unable to uninstall "%s"': 'no es posible instalar "%s"',
'unable to upgrade because "%s"': 'no es posible actualizar porque "%s"',
'uncheck all': 'desmarcar todos',
'Uninstall': 'desinstalar',
'update': 'actualizar',
'update all languages': 'actualizar todos los lenguajes',
'Update:': 'Actualice:',
'upgrade web2py now': 'actualize web2py ahora',
'Upload': 'Upload',
'Upload & install packed application': 'Suba e instale aplicación empaquetada',
'upload application:': 'subir aplicación:',
'Upload existing application': 'Suba esta aplicación',
'upload file:': 'suba archivo:',
'upload plugin file:': 'suba archivo de plugin:',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Use (...)&(...) para AND, (...)|(...) para OR, y ~(...) para NOT, para crear consultas más complejas.',
'User ID': 'ID de Usuario',
'variables': 'variables',
'Version': 'Versión',
'versioning': 'versiones',
'Versioning': 'Versioning',
'view': 'vista',
'Views': 'Vistas',
'views': 'vistas',
'web2py Recent Tweets': 'Tweets Recientes de web2py',
'web2py is up to date': 'web2py está actualizado',
'web2py online debugger': 'web2py online debugger',
'web2py Recent Tweets': 'Tweets Recientes de web2py',
'web2py upgraded; please restart it': 'web2py actualizado; favor reiniciar',
'Welcome to web2py': 'Bienvenido a web2py',
'YES': 'SI',
'You need to set up and reach a': 'You need to set up and reach a',
'Your application will be blocked until you click an action button (next, step, continue, etc.)': 'Your application will be blocked until you click an action button (next, step, continue, etc.)',
'Your can inspect variables using the console below': 'Your can inspect variables using the console below',
}

View File

@@ -23,6 +23,7 @@
'Admin language': 'Admin language',
'administrative interface': 'administrative interface',
'Administrator Password:': 'Password Amministratore:',
'An error occured, please %s the page': 'An error occured, please %s the page',
'and rename it (required):': 'e rinominala (obbligatorio):',
'and rename it:': 'e rinominala:',
'appadmin': 'appadmin ',
@@ -144,8 +145,10 @@
'Get from URL:': 'Get from URL:',
'Git Pull': 'Git Pull',
'Git Push': 'Git Push',
'graph model': 'graph model',
'Hello World': 'Salve Mondo',
'Help': 'aiuto',
'Hide/Show Translated strings': 'Hide/Show Translated strings',
'htmledit': 'modifica come html',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.',
'Import/Export': 'Importa/Esporta',
@@ -195,6 +198,8 @@
'NO': 'NO',
'No databases in this application': 'Nessun database presente in questa applicazione',
'no match': 'nessuna corrispondenza',
'or alternatively': 'or alternatively',
'Or Get from URL:': 'Or Get from URL:',
'or import from csv file': 'oppure importa da file CSV',
'or provide app url:': "oppure fornisci url dell'applicazione:",
'Original/Translation': 'Originale/Traduzione',
@@ -219,6 +224,7 @@
'record does not exist': 'il record non esiste',
'record id': 'ID del record',
'register': 'registrazione',
'reload': 'reload',
'Remove compiled': 'rimozione codice compilato',
'request': 'request',
'Resolve Conflict file': 'File di risoluzione conflitto',
@@ -242,6 +248,7 @@
'Start wizard': 'start wizard',
'state': 'stato',
'static': 'statico',
'Static': 'Static',
'Static files': 'Files statici',
'Stylesheet': 'Foglio di stile (stylesheet)',
'submit': 'invia',
@@ -261,6 +268,7 @@
'There are no models': 'Non ci sono modelli',
'There are no modules': 'Non ci sono moduli',
'There are no plugins': 'There are no plugins',
'There are no private files': 'There are no private files',
'There are no static files': 'Non ci sono file statici',
'There are no translators, only default language is supported': 'Non ci sono traduzioni, viene solo supportato il linguaggio di base',
'There are no views': 'Non ci sono viste ("view")',
@@ -280,6 +288,7 @@
'Translation strings for the application': 'Translation strings for the application',
'try': 'prova',
'try something like': 'prova qualcosa come',
'Try the mobile interface': 'Try the mobile interface',
'try view': 'try view',
'Unable to check for upgrades': 'Impossibile controllare presenza di aggiornamenti',
'unable to create application "%s"': 'impossibile creare applicazione "%s"',
@@ -298,6 +307,7 @@
'Update:': 'Aggiorna:',
'upgrade web2py now': 'upgrade web2py now',
'upload': 'upload',
'Upload': 'Upload',
'Upload & install packed application': 'Carica ed installa pacchetto con applicazione',
'Upload a package:': 'Upload a package:',
'Upload and install packed application': 'Upload and install packed application',
@@ -308,6 +318,7 @@
'Use an url:': 'Use an url:',
'variables': 'variables',
'Version': 'Versione',
'Version %s.%s.%s %s (%s)': 'Version %s.%s.%s %s (%s)',
'Version %s.%s.%s (%s) %s': 'Version %s.%s.%s (%s) %s',
'versioning': 'sistema di versioni',
'Versioning': 'Versioning',

View File

@@ -92,7 +92,7 @@
'Database': 'База данных',
'database': 'база данных',
'database %s select': 'Выбор базы данных %s ',
'database administration': 'администраторирование базы данных',
'database administration': 'администрирование базы данных',
'Date and Time': 'Дата и время',
'db': 'бд',
'DB Model': 'Модель БД',
@@ -134,7 +134,7 @@
'Editing Language file': 'Правка языкового файла',
'Editing Plural Forms File': 'Editing Plural Forms File',
'Enterprise Web Framework': 'Enterprise Web Framework',
'Error logs for "%(app)s"': 'Журнал ошибок для "%(app)"',
'Error logs for "%(app)s"': 'Журнал ошибок для "%(app)s"',
'Error snapshot': 'Error snapshot',
'Error ticket': 'Error ticket',
'Errors': 'Ошибка',

View File

@@ -0,0 +1,212 @@
# coding: utf8
{
'!langcode!': 'sr-cr',
'!langname!': 'Српски (Ћирилица)',
'%Y-%m-%d': '%d-%m-%Y',
'%Y-%m-%d %H:%M:%S': '%d-%m-%Y %H:%M:%S',
'(requires internet access)': '(захтијева приступ интернету)',
'(something like "it-it")': '(нешто као "it-it")',
'@markmin\x01(file **gluon/contrib/plural_rules/%s.py** is not found)': '(датотека **gluon/contrib/plural_rules/%s.py** није пронађена)',
'About': 'Информације',
'About application': 'О апликацији',
'Additional code for your application': 'Додатни код за апликацију',
'admin disabled because unable to access password file': 'администрација онемогућена јер не могу приступити датотеци са лозинком',
'Admin language': 'Језик администратора',
'administrative interface': 'административни интерфејс',
'Administrator Password:': 'Лозинка администратора:',
'and rename it:': 'и преименуј у:',
'Application name:': 'Назив апликације:',
'are not used': 'није кориштено',
'are not used yet': 'није још кориштено',
'Are you sure you want to delete this object?': 'Да ли сте сигурни да желите обрисати?',
'arguments': 'arguments',
'at char %s': 'код слова %s',
'at line %s': 'на линији %s',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.',
'back': 'назад',
'Basics': 'Основе',
'Begin': 'Почетак',
'cache, errors and sessions cleaned': 'кеш, грешке и сесије су обрисани',
'can be a git repo': 'може бити git repo',
'cannot upload file "%(filename)s"': 'не мофу отпремити датотеку "%(filename)s"',
'Change admin password': 'Промијени лзинку администратора',
'check all': 'check all',
'Check for upgrades': 'Провјери могућност надоградње',
'Checking for upgrades...': 'Провјеравам могућност надоградње...',
'Clean': 'Прочисти',
'Click row to expand traceback': 'Click row to expand traceback',
'code': 'код',
'collapse/expand all': 'сакрити/приказати све',
'Compile': 'Компајлирај',
'Controllers': 'Контролери',
'controllers': 'контролери',
'Count': 'Count',
'Create': 'Креирај',
'create file with filename:': 'Креирај датотеку под називом:',
'Create rules': 'Креирај правила',
'created by': 'израдио',
'crontab': 'crontab',
'currently running': 'тренутно покренут',
'currently saved or': 'тренутно сачувано или',
'database administration': 'администрација базе података',
'Debug': 'Debug',
'defines tables': 'дефинише табеле',
'delete': 'обриши',
'Delete': 'Обриши',
'delete all checked': 'delete all checked',
'Delete this file (you will be asked to confirm deletion)': 'Обриши ову даатотеку (бићете упитани за потврду брисања)',
'Deploy': 'Постави',
'Deploy on Google App Engine': 'Постави на Google App Engine',
'Deploy to OpenShift': 'Постави на OpenShift',
'Detailed traceback description': 'Detailed traceback description',
'direction: ltr': 'direction: ltr',
'Disable': 'Искључи',
'docs': 'документација',
'download layouts': 'преузми layouts',
'download plugins': 'преузми plugins',
'Edit': 'Уређивање',
'edit all': 'уреди све',
'Edit application': 'Уреди апликацију',
'edit controller': 'уреди контролер',
'edit views:': 'уреди views:',
'Editing file "%s"': 'Уређивање датотеке "%s"',
'Editing Language file': 'Уређивање језичке датотеке',
'Error': 'Грешка',
'Error logs for "%(app)s"': 'Преглед грешака за "%(app)s"',
'Error snapshot': 'Error snapshot',
'Error ticket': 'Error ticket',
'Errors': 'Грешке',
'Exception instance attributes': 'Exception instance attributes',
'Expand Abbreviation': 'Expand Abbreviation',
'exposes': 'exposes',
'exposes:': 'exposes:',
'extends': 'проширује',
'failed to compile file because:': 'нисам могао да компајлирам због:',
'File': 'Датотека',
'file does not exist': 'датотека не постоји',
'file saved on %s': 'датотека сачувана на %s',
'filter': 'филтер',
'Find Next': 'Пронађи сљедећи',
'Find Previous': 'Пронађи претходни',
'Frames': 'Frames',
'Functions with no doctests will result in [passed] tests.': 'Functions with no doctests will result in [passed] tests.',
'Generate': 'Generate',
'Get from URL:': 'Преузми са странице:',
'Git Pull': 'Git Pull',
'Git Push': 'Git Push',
'Go to Matching Pair': 'Go to Matching Pair',
'go!': 'крени!',
'Help': 'Помоћ',
'Hide/Show Translated strings': 'Сакрити/Приказати преведене ријечи',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.',
'includes': 'укључује',
'inspect attributes': 'inspect attributes',
'Install': 'Инсталирај',
'Installed applications': 'Инсталиране апликације',
'invalid password.': 'погрешна лозинка.',
'Key bindings': 'Пречице',
'Key bindings for ZenCoding Plugin': 'Пречице за ZenCoding Plugin',
'Language files (static strings) updated': 'Језичке датотеке су ажуриране',
'languages': 'језици',
'Languages': 'Језици',
'Last saved on:': 'Посљедња измјена:',
'License for': 'Лиценца за',
'loading...': 'преузимам...',
'locals': 'locals',
'Login': 'Пријава',
'Login to the Administrative Interface': 'Пријава за административни интерфејс',
'Logout': 'Излаз',
'Match Pair': 'Match Pair',
'Merge Lines': 'Споји линије',
'models': 'models',
'Models': 'Models',
'Modules': 'Modules',
'modules': 'modules',
'New Application Wizard': 'Чаробњак за нове апликације',
'New application wizard': 'Чаробњак за нове апликације',
'New simple application': 'Нова једноставна апликација',
'Next Edit Point': 'Next Edit Point',
'No ticket_storage.txt found under /private folder': 'No ticket_storage.txt found under /private folder',
'online designer': 'онлајн дизајнер',
'Original/Translation': 'Оргинал/Превод',
'Overwrite installed app': 'Пребриши постојећу апликацију',
'Pack all': 'Запакуј све',
'Peeking at file': 'Peeking at file',
'Plugins': 'Plugins',
'plugins': 'plugins',
'Plural-Forms:': 'Plural-Forms:',
'Powered by': 'Омогућио',
'Previous Edit Point': 'Previous Edit Point',
'Private files': 'Private files',
'private files': 'private files',
'Project Progress': 'Напредак пројекта',
'Reload routes': 'Обнови преусмјерења',
'Removed Breakpoint on %s at line %s': 'Removed Breakpoint on %s at line %s',
'Replace': 'Замијени',
'Replace All': 'Замијени све',
'request': 'request',
'response': 'response',
'restart': 'restart',
'restore': 'restore',
'revert': 'revert',
'rules are not defined': 'правила нису дефинисана',
'rules:': 'правила:',
"Run tests in this file (to run all files, you may also use the button labelled 'test')": "Run tests in this file (to run all files, you may also use the button labelled 'test')",
'Running on %s': 'Покренути на %s',
'Save': 'Сачувај',
'Save via Ajax': 'сачувај via Ajax',
'Saved file hash:': 'Сачувано као хаш:',
'session': 'сесија',
'session expired': 'сесија истекла',
'Set Breakpoint on %s at line %s: %s': 'Set Breakpoint on %s at line %s: %s',
'shell': 'shell',
'Site': 'Сајт',
'skip to generate': 'skip to generate',
'Start a new app': 'Покрени нову апликацију',
'Start searching': 'Покрени претрагу',
'Start wizard': 'Покрени чаробњака',
'static': 'static',
'Static files': 'Static files',
'Step': 'Корак',
'Submit': 'Прихвати',
'successful': 'успјешан',
'test': 'тест',
'Testing application': 'Тестирање апликације',
'The application logic, each URL path is mapped in one exposed function in the controller': 'The application logic, each URL path is mapped in one exposed function in the controller',
'The data representation, define database tables and sets': 'The data representation, define database tables and sets',
'The presentations layer, views are also known as templates': 'The presentations layer, views are also known as templates',
'There are no models': 'There are no models',
'There are no plugins': 'There are no plugins',
'There are no private files': 'There are no private files',
'These files are not served, they are only available from within your app': 'These files are not served, they are only available from within your app',
'These files are served without processing, your images go here': 'These files are served without processing, your images go here',
'Ticket ID': 'Ticket ID',
'Ticket Missing': 'Ticket nedostaje',
'to previous version.': 'на претходну верзију.',
'To create a plugin, name a file/folder plugin_[name]': 'To create a plugin, name a file/folder plugin_[name]',
'toggle breakpoint': 'toggle breakpoint',
'Toggle Fullscreen': 'Toggle Fullscreen',
'Traceback': 'Traceback',
'Translation strings for the application': 'Ријечи у апликацији које треба превести',
'Try the mobile interface': 'Пробај мобилни интерфејс',
'try view': 'try view',
'uncheck all': 'uncheck all',
'Uninstall': 'Деинсталирај',
'update': 'ажурирај',
'update all languages': 'ажурирај све језике',
'upload': 'Отпреми',
'Upload a package:': 'Преузми пакет:',
'Upload and install packed application': 'Преузми и инсталирај запаковану апликацију',
'upload file:': 'преузми датотеку:',
'upload plugin file:': 'преузми плагин датотеку:',
'variables': 'variables',
'Version': 'Верзија',
'Version %s.%s.%s (%s) %s': 'Верзија %s.%s.%s (%s) %s',
'Versioning': 'Versioning',
'views': 'views',
'Views': 'Views',
'Web Framework': 'Web Framework',
'web2py is up to date': 'web2py је ажуран',
'web2py Recent Tweets': 'web2py Recent Tweets',
'Wrap with Abbreviation': 'Wrap with Abbreviation',
}

View File

@@ -0,0 +1,212 @@
# coding: utf8
{
'!langcode!': 'sr-lt',
'!langname!': 'Srpski (Latinica)',
'%Y-%m-%d': '%d-%m-%Y',
'%Y-%m-%d %H:%M:%S': '%d-%m-%Y %H:%M:%S',
'(requires internet access)': '(zahtijeva pristup internetu)',
'(something like "it-it")': '(nešto kao "it-it")',
'@markmin\x01(file **gluon/contrib/plural_rules/%s.py** is not found)': '(datoteka **gluon/contrib/plural_rules/%s.py** nije pronađena)',
'About': 'Informacije',
'About application': 'O aplikaciji',
'Additional code for your application': 'Dodatni kod za aplikaciju',
'admin disabled because unable to access password file': 'administracija onemogućena jer ne mogu pristupiti datoteci sa lozinkom',
'Admin language': 'Jezik administratora',
'administrative interface': 'administrativni interfejs',
'Administrator Password:': 'Lozinka administratora:',
'and rename it:': 'i preimenuj u:',
'Application name:': 'Naziv aplikacije:',
'are not used': 'nije korišteno',
'are not used yet': 'nije još korišteno',
'Are you sure you want to delete this object?': 'Da li ste sigurni da želite obrisati?',
'arguments': 'arguments',
'at char %s': 'kod slova %s',
'at line %s': 'na liniji %s',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.',
'back': 'nazad',
'Basics': 'Osnove',
'Begin': 'Početak',
'cache, errors and sessions cleaned': 'keš, greške i sesije su obrisani',
'can be a git repo': 'može biti git repo',
'cannot upload file "%(filename)s"': 'ne mogu otpremiti datoteku "%(filename)s"',
'Change admin password': 'Promijeni lozinku administratora',
'check all': 'check all',
'Check for upgrades': 'Provjeri mogućnost nadogradnje',
'Checking for upgrades...': 'Provjeravam mogućnost nadogradnje...',
'Clean': 'Pročisti',
'Click row to expand traceback': 'Click row to expand traceback',
'code': 'kod',
'collapse/expand all': 'sakriti/prikazati sve',
'Compile': 'Kompajliraj',
'Controllers': 'Kontroleri',
'controllers': 'kontroleri',
'Count': 'Count',
'Create': 'Kreiraj',
'create file with filename:': 'Kreiraj datoteku pod nazivom:',
'Create rules': 'Kreiraj pravila',
'created by': 'izradio',
'crontab': 'crontab',
'currently running': 'trenutno pokrenut',
'currently saved or': 'trenutno sačuvano ili',
'database administration': 'administracija baze podataka',
'Debug': 'Debug',
'defines tables': 'definiše tabele',
'delete': 'obriši',
'Delete': 'Obriši',
'delete all checked': 'delete all checked',
'Delete this file (you will be asked to confirm deletion)': 'Obriši ovu datoteku (bićete upitani za potvrdu brisanja)',
'Deploy': 'Postavi',
'Deploy on Google App Engine': 'Postavi na Google App Engine',
'Deploy to OpenShift': 'Postavi na OpenShift',
'Detailed traceback description': 'Detailed traceback description',
'direction: ltr': 'direction: ltr',
'Disable': 'Isključi',
'docs': 'dokumentacija',
'download layouts': 'preuzmi layouts',
'download plugins': 'preuzmi plugins',
'Edit': 'Uređivanje',
'edit all': 'uredi sve',
'Edit application': 'Uredi aplikaciju',
'edit controller': 'uredi controller',
'edit views:': 'uredi views:',
'Editing file "%s"': 'Uređivanje datoteke "%s"',
'Editing Language file': 'Uređivanje jezičke datoteke',
'Error': 'Greška',
'Error logs for "%(app)s"': 'Pregled grešaka za "%(app)s"',
'Error snapshot': 'Error snapshot',
'Error ticket': 'Error ticket',
'Errors': 'Greške',
'Exception instance attributes': 'Exception instance attributes',
'Expand Abbreviation': 'Expand Abbreviation',
'exposes': 'exposes',
'exposes:': 'exposes:',
'extends': 'proširuje',
'failed to compile file because:': 'nisam mogao da kompajliram zbog:',
'File': 'Datoteka',
'file does not exist': 'datoteka ne postoji',
'file saved on %s': 'datoteka sačuvana na %s',
'filter': 'filter',
'Find Next': 'Pronađi sljedeći',
'Find Previous': 'Pronađi prethodni',
'Frames': 'Frames',
'Functions with no doctests will result in [passed] tests.': 'Functions with no doctests will result in [passed] tests.',
'Generate': 'Generate',
'Get from URL:': 'Preuzmi sa stranice:',
'Git Pull': 'Git Pull',
'Git Push': 'Git Push',
'Go to Matching Pair': 'Go to Matching Pair',
'go!': 'kreni!',
'Help': 'Pomoć',
'Hide/Show Translated strings': 'Sakriti/Prikazati prevedene riječi',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': 'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.',
'includes': 'uključuje',
'inspect attributes': 'inspect attributes',
'Install': 'Instaliraj',
'Installed applications': 'Instalirane aplikacije',
'invalid password.': 'pogrešna lozinka.',
'Key bindings': 'Prečice',
'Key bindings for ZenCoding Plugin': 'Prečice za for ZenCoding Plugin',
'Language files (static strings) updated': 'Jezičke datoteke su ažurirane',
'languages': 'jezici',
'Languages': 'Jezici',
'Last saved on:': 'Posljednja izmjena:',
'License for': 'Licenca za',
'loading...': 'preuzimam...',
'locals': 'locals',
'Login': 'Prijava',
'Login to the Administrative Interface': 'Prijava za administrativni interfejs',
'Logout': 'Izlaz',
'Match Pair': 'Match Pair',
'Merge Lines': 'Spoji linije',
'models': 'models',
'Models': 'Models',
'Modules': 'Modules',
'modules': 'modules',
'New Application Wizard': 'Čarobnjak za nove aplikacije',
'New application wizard': 'Čarobnjak za nove aplikacije',
'New simple application': 'Nova jednostavna aplikacija',
'Next Edit Point': 'Next Edit Point',
'No ticket_storage.txt found under /private folder': 'No ticket_storage.txt found under /private folder',
'online designer': 'onlajn dizajner',
'Original/Translation': 'Original/Prevod',
'Overwrite installed app': 'Prebriši postojeću aplikaciju',
'Pack all': 'Zapakuj sve',
'Peeking at file': 'Peeking at file',
'Plugins': 'Plugins',
'plugins': 'plugins',
'Plural-Forms:': 'Plural-Forms:',
'Powered by': 'Omogućio',
'Previous Edit Point': 'Previous Edit Point',
'Private files': 'Private files',
'private files': 'private files',
'Project Progress': 'Napredak projekta',
'Reload routes': 'Obnovi preusmjerenja',
'Removed Breakpoint on %s at line %s': 'Removed Breakpoint on %s at line %s',
'Replace': 'Zamijeni',
'Replace All': 'Zamijeni sve',
'request': 'request',
'response': 'response',
'restart': 'restart',
'restore': 'restore',
'revert': 'revert',
'rules are not defined': 'pravila nisu definisana',
'rules:': 'pravila:',
"Run tests in this file (to run all files, you may also use the button labelled 'test')": "Run tests in this file (to run all files, you may also use the button labelled 'test')",
'Running on %s': 'Pokrenuto na %s',
'Save': 'Sačuvaj',
'Save via Ajax': 'Sačuvaj via Ajax',
'Saved file hash:': 'Sačuvano kao haš:',
'session': 'sesija',
'session expired': 'sesija istekla',
'Set Breakpoint on %s at line %s: %s': 'Set Breakpoint on %s at line %s: %s',
'shell': 'shell',
'Site': 'Sajt',
'skip to generate': 'skip to generate',
'Start a new app': 'Pokreni novu aplikaciju',
'Start searching': 'Pokreni pretragu',
'Start wizard': 'Pokreni čarobnjaka',
'static': 'static',
'Static files': 'Static files',
'Step': 'Korak',
'Submit': 'Prihvati',
'successful': 'uspješan',
'test': 'test',
'Testing application': 'Testing application',
'The application logic, each URL path is mapped in one exposed function in the controller': 'The application logic, each URL path is mapped in one exposed function in the controller',
'The data representation, define database tables and sets': 'The data representation, define database tables and sets',
'The presentations layer, views are also known as templates': 'The presentations layer, views are also known as templates',
'There are no models': 'There are no models',
'There are no plugins': 'There are no plugins',
'There are no private files': 'There are no private files',
'These files are not served, they are only available from within your app': 'These files are not served, they are only available from within your app',
'These files are served without processing, your images go here': 'These files are served without processing, your images go here',
'Ticket ID': 'Ticket ID',
'Ticket Missing': 'Ticket nedostaje',
'to previous version.': 'na prethodnu verziju.',
'To create a plugin, name a file/folder plugin_[name]': 'To create a plugin, name a file/folder plugin_[name]',
'toggle breakpoint': 'toggle breakpoint',
'Toggle Fullscreen': 'Toggle Fullscreen',
'Traceback': 'Traceback',
'Translation strings for the application': 'Riječi u aplikaciji koje treba prevesti',
'Try the mobile interface': 'Probaj mobilni interfejs',
'try view': 'try view',
'uncheck all': 'uncheck all',
'Uninstall': 'Deinstaliraj',
'update': 'ažuriraj',
'update all languages': 'ažuriraj sve jezike',
'upload': 'Otpremi',
'Upload a package:': 'Preuzmi paket:',
'Upload and install packed application': 'Preuzmi i instaliraj zapakovanu aplikaciju',
'upload file:': 'preuzmi datoteku:',
'upload plugin file:': 'preuzmi plugin datoteku:',
'variables': 'variables',
'Version': 'Verzija',
'Version %s.%s.%s (%s) %s': 'Verzija %s.%s.%s (%s) %s',
'Versioning': 'Versioning',
'views': 'views',
'Views': 'Views',
'Web Framework': 'Web Framework',
'web2py is up to date': 'web2py je ažuran',
'web2py Recent Tweets': 'web2py Recent Tweets',
'Wrap with Abbreviation': 'Wrap with Abbreviation',
}

View File

@@ -8,35 +8,33 @@ def A_button(*a, **b):
b['_data-inline'] = 'true'
return A(*a, **b)
def button(href, label):
if is_mobile:
ret = A_button(SPAN(label), _href=href)
else:
ret = A(SPAN(label), _class='button', _href=href)
ret = A(SPAN(label), _class='button btn', _href=href)
return ret
def button_enable(href, app):
if os.path.exists(os.path.join(apath(app, r=request), 'DISABLED')):
label = SPAN(T('Enable'), _style='color:red')
else:
label = SPAN(T('Disable'), _style='color:green')
id = 'enable_' + app
return A(label, _class='button', _id=id, callback=href, target=id)
return A(label, _class='button btn', _id=id, callback=href, target=id)
def sp_button(href, label):
if request.user_agent().is_mobile:
ret = A_button(SPAN(label), _href=href)
else:
ret = A(SPAN(label), _class='button special', _href=href)
ret = A(SPAN(label), _class='button special btn btn-inverse', _href=href)
return ret
def helpicon():
return IMG(_src=URL('static', 'images/help.png'), _alt='help')
def searchbox(elementid):
return TAG[''](LABEL(IMG(_id="search_start", _src=URL('static', 'images/search.png'), _alt=T('filter')), _class='icon', _for=elementid), ' ', INPUT(_id=elementid, _type='text', _size=12))
return SPAN(LABEL(IMG(_id="search_start", _src=URL('static', 'images/search.png'), _alt=T('filter')),
_class='icon', _for=elementid), ' ',
INPUT(_id=elementid, _type='text', _size=12, _class="input-medium"),
_class="searchbox")

View File

@@ -21,6 +21,12 @@ if request.vars.app or request.args:
_c == 'mercurial' and _f == 'commit',
URL(_a, 'mercurial', 'commit', args=_t)))
if os.path.exists('applications/examples'):
response.menu.append(
(T('Help'), False, URL('examples', 'default', 'documentation')))
else:
response.menu.append((T('Help'), False, 'http://web2py.com/examples/default/documentation'))
if not session.authorized:
response.menu = [(T('Login'), True, URL('site'))]
else:
@@ -29,8 +35,3 @@ else:
response.menu.append((T('Debug'), False,
URL(_a, 'debug', 'interact')))
if os.path.exists('applications/examples'):
response.menu.append(
(T('Help'), False, URL('examples', 'default', 'index')))
else:
response.menu.append((T('Help'), False, 'http://web2py.com/examples'))

View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,579 @@
/*=============================================================
GENERAL
==============================================================*/
html,body{height:auto;background:transparent;}
/*=============================================================
CONTROLS
==============================================================*/
label,
input,
button,
select,
textarea,
button.btn
{
font-size:13px;
font-weight:normal;
line-height:18px;
}
textarea,
select
{
margin-bottom:9px;
}
select,
/*textarea,*/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
a.btn-lnk
{
height:18px;
padding:4px;
font-size:13px;
line-height:18px;
}
.design h3,
.plugin h3
{
background-position:0 2px;
}
select,
input[type="file"]
{
height:28px;
line-height:28px;
}
input[type="submit"],
input[type="button"]
{
font-size:13px;
height:28px;
line-height:18px;
padding:4px 10px;
}
input[type="radio"],
input[type="checkbox"]
{
margin-top:2px;
}
.button.btn
{
line-height:1.25em;
font-size:inherit;
border:none;
text-shadow:none;
margin-bottom:0px;
-webkit-border-radius:0px;
-moz-border-radius:0px;
border-radius:0px;
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none);
}
.button.btn:hover
{
background-color:transparent;
-webkit-transition: background-position 0s linear;
-moz-transition: background-position 0s linear;
-o-transition: background-position 0s linear;
transition: background-position 0s linear;
}
form label
{
font-weight:bold;
}
.help
{
border-color:transparent;
}
/* tree menu */
.folder
{
border:none;
}
.folder>i
{
display:none;
}
.celled
{
padding-top: 2px;
}
.celled-one
{
padding-top: 1px;
}
.test h3
{
border:0;
padding-left:18px;
}
/*=============================================================
FLASH MESSAGEBOX
==============================================================*/
.flash
{
position:fixed;
width:50%;
top:49px;
left:25%;
right:25%;
cursor:default;
text-align:center;
padding:8px 35px 8px 14px;
z-index:5620;
}
.flash>.close
{
color:inherit;
opacity:0.7;
}
.flash>.close:hover
{
opacity:0.9;
}
/*=============================================================
NAVBAR
==============================================================*/
.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner
{
/* in place of shadow image */
-webkit-box-shadow:0px 10px 20px rgba(195,195,195,1.0);
-moz-box-shadow: 0px 10px 20px rgba(195,195,195,1.0);
box-shadow: 0px 10px 20px rgba(195,195,195,1.0);
//zoom:1; /* IE6-9 */
filter:progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=10, Color=#000000); /* IE6-9 */
padding:0;
}
.navbar-inverse .navbar-inner
{
min-height:33px; /* required - override */
height:33px;
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
background:#292929 url(../images/header_bg.png) repeat-x;
border:none;
}
#header
{
background:transparent;
}
#header.navbar
{
overflow:visible;
}
.navbar-inverse .nav > li > a
{
padding:0;
line-height:1.25;
text-shadow:none;
}
.navbar .btn-navbar
{
padding:4px;
margin:5px 5px 0 5px;
}
#menu{margin-right:-7px;}
/*=============================================================
FOOTER
==============================================================*/
#footer
{
padding-bottom:0;
}
/*=============================================================
MAIN
==============================================================*/
#main
{
position:static;
padding-top:0;
padding-bottom:0;
}
/*=============================================================
SIDEBAR
==============================================================*/
.sidebar_inner
{
background:transparent;
padding:0;
min-width:auto;
}
.sidebar .box {
border-top:1px solid #EEE;
}
/*=============================================================
WIZARD
==============================================================*/
.step div.help li
{
line-height:inherit;
}
.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selected
{
font-size:13px;
}
.input-append a.btn
{
padding:4px;
height:18px;
font-size:13px;
line-height:18px;
}
/*=============================================================
ERRORS TABLE
==============================================================*/
.errors .table th
{
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
}
.tablebar span.help
{
font-weight:normal;
line-height:1.25em;
text-shadow:none;
width:auto;
}
/*=============================================================
TOOLTIP
==============================================================*/
.tooltip.in
{
opacity:1;
filter:alpha(opacity=100);
}
.tooltip-inner
{
opacity:1;
text-align:left;
background:#9fb364;
color:#eef1d9;
border:1px solid #eef1d9;
font-style:italic;
padding:0.3em;
-moz-border-radius:0.5em;
border-radius:0.5em;
font-size:13px;
text-transform:none;
}
.tooltip.right .tooltip-arrow,
.tooltip.left .tooltip-arrow
{
border-color:transparent;
}
/*=============================================================
THE GRID
==============================================================*/
.w2p_grid_bottom_bar .w2p_export_menu
{
line-height:18px;
margin-left:0;
}
.w2p_export_menu .dropdown-toggle
{
cursor:pointer;
margin:0;
padding:0;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
background-image: -webkit-linear-gradient(top, white, #E6E6E6);
background-image: -o-linear-gradient(top, white, #E6E6E6);
background-image: linear-gradient(to bottom, white, #E6E6E6);
background-image: -moz-linear-gradient(top, white, #E6E6E6);
}
.w2p_export_menu ul
{
margin-top:2px;
display:none;
}
.w2p_export_menu li
{
display:list-item;
margin:0;
}
div.web2py_grid
{
font-size:13px;
line-height:18px;
}
.web2py_grid a.btn
{
font-size:13px;
line-height:18px;
padding:4px 10px;
margin-left:0;
margin-right:4px;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
}
.web2py_grid .input-append .btn
{
padding:4px 10px;
margin-right:0;
font-family:inherit;
color:#333;
text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);
border:1px solid #c5c5c5;
}
.web2py_grid select:focus
{
border-color:rgba(232,149,60,0.8);
outline:0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(232, 149, 60, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(232,149,60,0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(232, 149, 60, 0.6);
}
.web2py_console input[type="button"],
.web2py_grid .row_buttons a.btn
{
color:#333;
line-height:18px;
padding:4px 10px;
text-shadow:rgba(255, 255, 255, 0.74902) 0px 1px 1px;
border-color:rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.web2py_console input[type="button"]:hover,
.web2py_grid .row_buttons a.btn:hover
{
color:#333;
border-color:rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
background:#E6E6E6;
background-position: 0 -15px !important;
-webkit-transition: background-position .1s linear;
-moz-transition: background-position .1s linear;
-o-transition: background-position .1s linear;
transition: background-position .1s linear;
}
.web2py_table
{
border:none;
}
.web2py_table table
{
/*table-layout:fixed;*/
margin-bottom:4px;
}
.web2py_table table td
{
/*word-wrap:break-word;*/ /*uncomment when "table-layout:fixed" is applied */
}
.web2py_grid thead th
{
background-color:transparent;
padding:4px 5px;
line-height:18px;
vertical-align:bottom;
border-right:0;
border-bottom:0;
word-wrap:break-word;
}
.web2py_grid .btn-group > .dropdown-menu
{
font-size:13px;
}
.web2py_grid .dropdown-menu li > a:hover,
.web2py_grid .dropdown-menu li > a:focus
{
filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
background-image:none;
background-color:#E8953C;
}
.pagination
{
margin:0;
height:30px;
}
.pagination ul > li > a
{
line-height:28px;
}
#w2p_grid_addbtn:focus,
#w2p_search-form :focus,
.btn:focus
{
outline:none;
}
.web2py_console input[type="button"]:focus,
.web2py_grid .row_buttons a.btn:focus
{
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}
div.web2py_counter.span6
{
min-height:20px;
}
.web2py_paginator
{
border:0;
margin:0;
padding:0;
background-color:transparent;
}
.web2py_paginator ul li a
{
margin-right:0;
padding:0 14px;
border:1px solid #DDD;
border-left-width:0;
color:#E8953C;
}
.web2py_paginator ul li a:hover
{
background: whiteSmoke;
border: 1px solid #DDD;
border-left-width:0;
color:#e2821b;
}
.web2py_paginator ul li:first-child a,
.web2py_paginator ul li:first-child a:hover
{
border-left-width:1px;
}
.web2py_paginator .current
{
font-weight:normal;
}
.web2py_paginator ul li.current a:hover
{
color:#999;
}
.editor-bar-column a[name="save"]
{
background-color: whiteSmoke;
background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6));
background-image: -webkit-linear-gradient(top,white,#E6E6E6);
background-image: -o-linear-gradient(top,white,#E6E6E6);
background-image: linear-gradient(to bottom,white,#E6E6E6);
background-image: -moz-linear-gradient(top,white,#E6E6E6);
background-repeat: repeat-x;
padding:2px 6px;
font-size:11px;
line-height:17px;
margin:0;
}
.editor-bar-column a[name="save"]:hover
{
background-color: #E6E6E6;
background-position: 0 -15px;
-webkit-transition: background-position .1s linear;
-moz-transition: background-position .1s linear;
-o-transition: background-position .1s linear;
transition: background-position .1s linear;
}
.keybindings
{
padding:0 18px 10px;
}
.keybindings li
{
margin-bottom:0;
}
/*----- translate page ---*/
.languageform input
{
margin-bottom:0;
}
.languageform div
{
margin-bottom:9px;
}
.languageform input.untranslated
{
background-color:#FC0;
}
.step #wizard_nav .first-box
{
padding-top:0;
}
/*=============================================================
MEDIA QUERIES
==============================================================*/
@media (max-width: 979px)
{
/*-----------------------------------
Navbar
-------------------------------------*/
#header .navbar-inner
{
padding:0;
}
/*collapsed menu*/
.navbar .nav-collapse .nav
{
background:#222;
padding:8px 2px 8px 8px;
-webkit-border-bottom-right-radius:8px;
-webkit-border-bottom-left-radius:8px;
-moz-border-radius-bottomright:8px;
-moz-border-radius-bottomleft:8px;
border-bottom-right-radius:8px;
border-bottom-left-radius:8px;
}
#menu
{
margin-right:0;
}
#menu li
{
float:none;
}
#menu a.button,
#menu a.button span
{
background-image:url(../images/menu_responsive.png);
}
#menu a.button
{
padding:0 1em 0 0;
}
}
@media(max-width:632px)
{
/*-----------------------------------
footer
-------------------------------------*/
#footer
{
height:auto;
}
#footer select
{
margin-top:8px;
}
}

View File

@@ -0,0 +1,351 @@
/*=============================================================
GENERAL
==============================================================*/
body { /*remember to account for the hidden area underneath
fixed navbar by adding at least 40px padding to the <body>.
Be sure to add this after the core Bootstrap CSS
and before the optional responsive CSS.
An alternative solution is to set top-margin to div#main padding-top:60px; comment this for alternative solution*/ height:auto; /*uncomment this for alternative solution*/ }
/*=============================================================
BOOTSTRAP ICONS FOLDER FIX
==============================================================*/
[class^="icon-"], [class*=" icon-"] { /* right folder for bootstrap black images/icons*/ background-image:url("../images/glyphicons-halflings.png") }
.icon-white, .nav-tabs>.active >a>[class^="icon-"], .nav-tabs>.active>a>[class*=" icon-"], .nav-pills>.active>a>[class^="icon-"], .nav-pills>.active>a>[class*=" icon-"], .nav-list>.active>a>[class^="icon-"], .nav-list>.active>a>[class*=" icon-"], .navbar-inverse .nav>.active>a>[class^="icon-"], .navbar-inverse .nav>.active>a>[class*=" icon-"], .dropdown-menu>li>a:hover>[class^="icon-"], .dropdown-menu>li>a:hover>[class*=" icon-"], .dropdown-menu>.active>a>[class^="icon-"], .dropdown-menu>.active>a>[class*=" icon-"] { /* right folder for bootstrap white images/icons*/ background-image:url("../images/glyphicons-halflings-white.png"); }
/*=============================================================
INPUT BORDER HIGHLIGHT WHEN INPUT IS FOCUSED
==============================================================*/
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, input[type="file"]:focus, select:focus, .uneditable-input:focus { /* outline color*/ border-color:rgba(232, 149, 60, 0.8); outline:0; /*outline:thin dotted \9;*/ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); }
.web2py_grid .dropdown-menu li > a:hover, .web2py_grid .dropdown-menu li > a:focus { filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9*/ background-image:none; background-color:#E8953C; }
/*=============================================================
COLOR OF LINKS
==============================================================*/
a, a:hover { color:#E8953C; text-decoration:none; }
a:hover { color:#e2821b; }
/*=============================================================
CONTROLS and CONTAINERS
==============================================================*/
.row-buttons .btn { margin-bottom:7px; }
.sidebar .box { clear:right; margin-top:2em; border-top:1px solid #d1d1d1; padding:0 1em; }
.pwdchange>.button { margin-bottom:10px; }
input[type="file"] { margin-bottom:9px; }
.form-inline input[type="file"] { margin-bottom:0px; }
input + .help-block { margin-top:-5px; margin-bottom:4px; }
#confirm_form input.btn, .generatedbyw2p input { margin-right:4px; }
a[rel='tooltip'] span, div[rel='tooltip'] span { display:none; margin-left:-9999px; }
/*in-page browsing*/
[rel="pagebookmark"] { position:relative; }
[rel="pagebookmark"]>.component { cursor:pointer; }
[rel="pagebookmark"]>.hashstick { position:absolute; top:-54px; left:-9999px; visibility:visible; }
/* following 2 rules set the style of a small button for going to top of page*/
.tophashlink.btn { padding:2px 3px; visibility:hidden; }
.hashstick:target+.tophashlink.btn { visibility:visible; }
ul.act_edit { margin-top:4px; margin-left:20px; }
ul.act_edit .btn { margin-top:4px; margin-bottom:4px; }
ul.act_edit .file>a { white-space:pre; }
.right-full { text-align:right; }
.searchbox, .searchbox label, .searchbox input { display:inline-block; }
.buttons-row .btn { margin-bottom:9px; }
.li-controls { display:inline-block; width:180px; vertical-align:middle; }
.celled { display:inline-block; padding: 0 0 0 4px; vertical-align:top; margin-top:4px; width:700px; }
.folder { list-style-type:none; #border-left: 1px dotted #AAA; }
.folder li { list-style-type:none; }
.folder>i { display:inline-block; width:5px; height:5px; border:1px solid; background-color:#FAA732; margin-left:-4px; margin-top:-2px; border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border-radius:1px; }
.folder>i+a { padding-left:0.5em; }
.folder ul { margin-top:0.5em; margin-bottom:0.5em; }
.controls-inline .btn { margin-right:5px; }
div.web2py_counter.span6 { min-height:24px; text-align:right; }
.pagination { margin:0; }
.table { margin-bottom:10px; }
.row_buttons .btn { margin-right:4px; }
.editor-bar-column { display:inline-block; vertical-align:top; margin-right:4px; }
.editor-bar-column .input-long { width:270px; }
.editor-bar-column .input-normal { width:206px; }
.keybindings li { margin-bottom:0.5em; }
.keybindings span { padding:0.3em; border:1px solid transparent; vertical-align:middle; }
.teletype-text { font-family:monospace; font-weight:bold; font-style:normal; border-color:#999; background:#333; color:#DDD; -moz-border-radius:0.3em; border-radius:0.3em; }
.edit_language .tab_row div { display:inline-block; vertical-align:top; margin-right:4px; }
.edit_language .fake-input { height:18px; padding:4px; font-size:13px; line-height:18px; overflow:hidden; white-space:nowrap; display:inline-block; margin-bottom:9px; }
.test h3 { padding-left:9px; margin:0; font-size:16px; line-height:1; border-left:9px solid transparent; }
.test h3.passed { border-color:#009900; }
.test h3.failed { border-color:#CC0000; }
.test h3.nodoctests { border-color:#CCCC99; }
.test .test_report { width:100%; overflow:auto; }
.test_report pre { white-space:pre; }
.test div[id^="output_"]>h2 { font-size:18px; line-height:1; color:grey; }
div.center { text-align:center; }
.delete h2 { word-wrap:break-word; }
/*=============================================================
SHELL
==============================================================*/
.shell .output-wrapper { width:100%; height:30em; border:1px solid #333; }
.shell .prompt-wrapper { float:left; width:100%; overflow:hidden; height:auto; border:1px solid #333; }
.shell .prompt-container { margin-left:2.5em; }
.shell #caret { width:2.5em; float:left; margin-left:-100%; }
.shell #shellwrapper { background:white; color:#E8953C; width:100%; margin:1em 0; border:0; }
.shell #output, .shell .prompt { color:#E8953C; background:white; resize:none; border:none; width:100%; height:100%; cursor:default; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.shell #output:focus, .shell .prompt:focus { border-color:transparent; outline:0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.shell #output pre { color: #E8953C; }
.shell #autoscroll { cursor:pointer; float:right; }
.shell .prompt, .shell #output, .shell #caret { font-size: 11pt; padding: 6px; padding-right: 0em; }
.shell #caret { padding-top:9px; }
.shell .prompt, .shell #output, .shell pre, .shell #caret { font-family: monospace; }
.shell a[rel="tooltip"] { margin-left:8px; }
/*=============================================================
PEEK
==============================================================*/
.peek .code-wrapper { width:100%; overflow:auto; white-space:pre; }
.peek table td pre { word-break:normal; white-space:pre; }
/*=============================================================
FOOTER
==============================================================*/
#footer { border-top:1px solid; text-align:center; padding:1em 0; }
#footer span, #footer select { display:inline-block; margin-bottom:0; vertical-align:middle; }
#footer select { width:auto; }
/*=============================================================
MAIN
==============================================================*/
#main { margin-top:60px; /*uncomment this for alternative solution to hidden area underneath fixed navbar issue*/ margin-bottom:60px; }
/*=============================================================
WIZARD
==============================================================*/
#wizard_nav .box { border-bottom:1px dotted; }
#wizard_nav li { margin-left:1em; margin-top:0.5em; }
.step textarea { width:auto; }
select[name='layout_theme'] { vertical-align:top; }
img#preview { margin-bottom:9px; }
/* multiselect customization*/
.ms-container { margin-bottom:5px; }
.ms-selectable, .step .ms-selection { text-align:center; }
.ms-list { text-align:left; background:white; }
.ms-container li.ms-elem-selectable:not(.disabled).ms-hover, .ms-container .ms-selection li:not(.disabled).ms-hover { background-color:#E8953C; }
.ms-container .ms-selectable { margin-right:25px; }
.ms-container .ms-selectable, .ms-container .ms-selection { background:transparent; }
.ms-container .ms-list.ms-focus { border-color:rgba(232, 149, 60, 0.8); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(232, 149, 60, 0.6); }
/* grow_input*/
ul[id$="_grow_input"] { margin-left:0; }
/* generate_form*/
#generate_form .control-group { margin-bottom:0; }
#generate_form .control-label { text-align:left; }
#generate_form .controls { padding-left:18px; margin-left:0; }
#generate_form .control-label.empty { width:142px; }
.step [rel="pagebookmark"]>.hashstick { display:none; }
/*generated page*/
.generated iframe { border:1px inset #e3e3e3; }
/*=============================================================
ERRORS TABLE / TICKET PAGE
==============================================================*/
.tablebar { margin:7px 0 7px 0; }
.tablebar input { margin-right:27px; }
.tablebar span { vertical-align:bottom; }
.table th { background: #e9e9e9; background: -moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FAFAFA), color-stop(100%, #E9E9E9)); background: -webkit-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); background: -o-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); background: -ms-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); background: linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9'); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')"; /*font-size:10px; color:#444; text-transform:uppercase;*/ }
td.cbcentered, th.cbcentered { text-align:center; }
td.cbcentered>input, th.cbcentered>input { margin-top:-1px; }
.traceback div { }
.ticket_code>table td:first-child { border-left:0; }
#trck_errors table td pre { word-break:normal; white-space:pre; }
.inspect pre, .errorsource pre { word-break:normal; white-space:pre; }
.ticket_code { background-color:lightyellow; }
.ticket_code table, .ticket_code td { border-width:0px; border-collapse:collapse; width:100%; }
.ticket_code tbody tr:hover td { background-color:transparent; }
/*=============================================================
FLOT GRAPHS
==============================================================*/
.about #placeholder { width:auto; max-width:600px; height:300px; position:relative; margin:0 auto; /* for centering*/ }
/*=============================================================
THE GRID
==============================================================*/
#w2p_query_panel { min-width:20px; min-height:20px; padding:10px; margin-top:1em; background-color:#f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); }
#w2p_query_panel select, #w2p_query_panel input { margin-bottom:0; margin-right:4px; }
.web2py_grid .hidden { visibility:visible; }
.qry_pnl_btns { display:inline-block; }
#w2p_grid_addbtn, #w2p_search-form { margin-top:9px; margin-bottom:9px; }
#w2p_search-form { margin-bottom:0; }
#w2p_search-form form { margin-bottom:0; }
/*----- translate page ---*/
.languageform input { margin-bottom:0; }
.languageform input.untranslated { background-color:#FC0; }
/*=============================================================
MEDIA QUERIES
==============================================================*/
@media (max-width: 800px) { .step [rel="pagebookmark"]>.hashstick { /*top:-54px;*/ display:block; }
}
@media (max-width: 767px) { [rel="pagebookmark"]>.hashstick { top:0; }
/*-----------------------------------
main
-------------------------------------*/
#main { margin-top:0; }
/*-----------------------------------
footer
-------------------------------------*/
#footer { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
/*-----------------------------------
errors page
-------------------------------------*/
#trck_errors { table-layout:fixed; }
#trck_errors .column1 { width:20px; }
#trck_errors .column2 { width:45px; }
#trck_errors .column3 { width:150px; }
#trck_errors .columnN { width:55px; }
#trck_errors .columnN1 { width:138px; }
.ticket_code, .inspect.resp1, .inspect.controls pre, .errorsource { width:100%; overflow:auto; }
.ticket_code>table { width:100%; }
.celled { width:320px; }
}
@media (max-width: 480px) { .qry_pnl_btns { display:block; margin-top:4px; }
/*-----------------------------------
wizard
-------------------------------------*/
#generate_form .control-label { float:left; width:160px; padding-top:5px; }
.inspect>code { display:block; white-space:normal; }
.li-controls { }
.celled { width:165px; }
}
h4.editableapp, h4.currentapp { padding: 5px 0 5px 54px; display: inline; }
h4.editableapp { background: #fff url(../images/folder.png) no-repeat; }
h4.currentapp { background: #fff url(../images/folder_locked.png) no-repeat; }
.flash { position:fixed; width:50%; top:49px; left:25%; right:25%; cursor:default; text-align:center; z-index:5620; }
table.twitter{ background-color: transparent; }
table.twitter tr td {vertical-align: top; padding: 5px; }
table.twitter tr { border-bottom: 1px solid #a0a0a0; }

View File

@@ -1166,7 +1166,7 @@ ul#snapshot > li {
font-size: 1em;
color: #3C3C3D;
text-shadow: 1px 1px 0 #FFFFFF;
background:#ECECEC;
//background:#ECECEC;
white-space: nowrap; overflow: visible;
cursor: pointer; text-decoration: none;
border: 1px solid #CACACA;
@@ -1244,8 +1244,64 @@ color: #222;
border-radius:2px;
}
.ie9 #query_panel {padding-bottom:2px;}
.error, .error a {color:red}
.pluralsform thead td {font-weight:bold; font-size:1.2em; padding-bottom:5px}
.pluralsform td {padding-left:5px}
.tm_ftag {color:blue}
/*-----------------------------------*/
/* due to bootstrap layout
/*-----------------------------------*/
.navbar .btn-navbar{display:none;}
label{display:block;}
input{margin-bottom:5px;}
.login input{width:210px;}
.change_password input{width:210px;}
div.flash .close{color:inherit;float:right;}
label.checkbox{margin-bottom:5px;}
.control-group{margin-bottom:5px;}
.step #menu li{margin-left:0;margin-top:0;}
.step #wizard_nav{padding-top:0.5em;}
.hashstick{visibility:hidden;}
#generate_form .control-label{float:left;width:160px;padding-top:5px;text-align:left;}
#generate_form .controls > .checkbox:first-child{padding-top:7px;}
/* from default/errors.html */
table.sortable{border-spacing:0px;}
table.sortable td, table.sortable th{padding:2px 5px 2px 5px;}
table.sortable thead{background-color:#eee;color:#666666;font-weight:bold;cursor:default;}
tr.error_ticket:hover{background-color:#eee;}
.controls a.button.unavailable{color:#ff0000;}
/* end from default/errors.html */
/* new errors table */
.tablebar{margin:7px 0 7px 0;}
.cbcentered{text-align:center;}
/* new tooltip */
a[rel='tooltip']:hover{background:transparent;text-decoration:none;}
a[rel='tooltip'] span{display:none;padding:5px;margin-left:10px;width:150px;}
a[rel='tooltip']:hover span{cursor:default;display:inline;position:absolute;}
a[rel='tooltip'] span{background:#9fb364;color:#eef1d9;border:1px solid #eef1d9;font-style:italic;width:20%;padding:0.3em;-moz-border-radius:0.5em;border-radius:0.5em;font-size:13px;text-transform:none;}
/* flot graph */
.about #placeholder{width:600px;height:300px;margin:0 auto;}
.tophashlink.btn{visibility:hidden;}
.help-block{display:block;}
.w2p_grid_bottom_bar .w2p_export_menu{float:left;line-height:39px;margin-left:10px;}
.w2p_export_menu .dropdown-toggle{cursor:default;color:#333;margin:0;padding:0;background-image:none;}
.w2p_export_menu ul{display:inline-block;margin:0;vertical-align:middle;}
.w2p_export_menu li{list-style:none;display:inline-block;margin-right:4px;margin-left:2px;}
.edit_language .tab_row div{display:inline-block;vertical-align:top;margin-right:4px;}
.edit_language .tab_row>div{border:1px solid #e3e3e3;margin-bottom:20px;background-color:#f5f5f5;}
/* shell*/
.shell .output-wrapper{width:75%;height:30em;border:1px solid #333;}
.shell .prompt-wrapper{float:left;width:100%;overflow:hidden;height:auto;border:1px solid #333;}
.shell .prompt-container{margin-left:2.5em;}
.shell #caret{width:2.5em;float:left;margin-left:-100%;}
.shell #shellwrapper{background:white;color:#E8953C;width:75%;margin:1em 0;border:0;}
.shell #output,.shell .prompt{color:#E8953C;background:white;resize:none;border:none;width:100%;height:100%;cursor:default;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
.shell #output:focus,.shell .prompt:focus{border-color:transparent;outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
.shell #output pre{color:#E8953C;}
.shell #autoscroll{cursor:pointer;float:right;}
.shell .prompt,.shell #output,.shell #caret{font-size:11pt;padding:6px;padding-right:0em;}
.shell .prompt,.shell #output,.shell pre,.shell #caret{font-family:monospace;}
.shell a[rel="tooltip"]{margin-left:8px;}
.shell .clearfix{clear:both;}
.shell #caret{padding-top:9px;}

View File

@@ -61,7 +61,7 @@ input[type=text],input[type=password],select{width:300px; margin-right:5px}
border-top:1px #DEDEDE solid;
}
.header {
// background:<fill here for header image>;
/* background:<fill here for header image>; */
}
@@ -115,6 +115,10 @@ div.flash {
z-index:2000;
}
div.flash #closeflash{color:inherit; float:right; margin-left:15px;}
.ie-lte7 div.flash #closeflash
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
div.flash:hover { opacity:0.25; }
div.error_wrapper {display:block}
@@ -182,7 +186,7 @@ div.error {
* will look better with the declarations below
* if needed to remove base.css consider keeping these following lines in some css file.
*/
// .web2py_table {border:1px solid #ccc}
/* .web2py_table {border:1px solid #ccc} */
.web2py_paginator {}
.web2py_grid {width:100%}
.web2py_grid table {width:100%}

View File

@@ -0,0 +1,232 @@
/*=============================================================
CUSTOM RULES
==============================================================*/
body{height:auto;} /* to avoid vertical scroll bar */
div.flash.flash-center{left:25%;right:25%;}
div.flash.flash-top,div.flash.flash-top:hover{
position:relative;
display:block;
margin:0;
padding:1em;
top:0;
left:0;
width:100%;
text-align:center;
text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);
color:#865100;
background:#feea9a;
border:1px solid;
border-top:0px;
border-left:0px;
border-right:0px;
border-radius:0;
opacity:1;
}
#header{margin-top:60px;}
.mastheader h1 {
margin-bottom:9px;
font-size:81px;
font-weight:bold;
letter-spacing:-1px;
line-height:1;
font-size:54px;
}
.mastheader small {
font-size:20px;
font-weight:300;
}
/* auth navbar - primitive style */
.auth_navbar,.auth_navbar a{color:inherit;}
.ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't support inherit */}
.auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more lines */
.auth_navbar a:hover{color:white;text-decoration:none;}
ul#navbar>.auth_navbar{
display:inline-block;
padding:5px;
}
/* form errors message box customization */
div.error_wrapper{margin-bottom:9px;}
div.error_wrapper .error{
border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
/* below rules are only for formstyle = bootstrap
trying to make errors look like bootstrap ones */
div.controls .error_wrapper{
display:inline-block;
margin-bottom:0;
vertical-align:middle;
}
div.controls .error{
min-width:5px;
background:inherit;
color:#B94A48;
border:none;
padding:0;
margin:0;
/*display:inline;*/ /* uncommenting this, the animation effect is lost */
}
div.controls .help-inline{color:#3A87AD;}
div.controls .error_wrapper +.help-inline {margin-left:-99999px;}
div.controls select +.error_wrapper {margin-left:5px;}
.ie-lte7 div.error{color:#fff;}
/* beautify brand */
.navbar-inverse .brand{color:#c6cecc;}
.navbar-inverse .brand b{display:inline-block;margin-top:-1px;}
.navbar-inverse .brand b>span{font-size:22px;color:white}
.navbar-inverse .brand:hover b>span{color:white}
/* beautify web2py link in navbar */
span.highlighted{color:#d8d800;}
.open span.highlighted{color:#ffff00;}
/*=============================================================
OVERRIDING WEB2PY.CSS RULES
==============================================================*/
/* reset to default */
a{white-space:normal;}
li{margin-bottom:0;}
textarea,button{display:block;}
/*reset ul padding */
ul#navbar{padding:0;}
/* label aligned to related input */
td.w2p_fl,td.w2p_fc {padding:0;}
#web2py_user_form td{vertical-align:middle;}
/*=============================================================
OVERRIDING BOOTSTRAP.CSS RULES
==============================================================*/
/* because web2py handles this via js */
textarea { width:90%}
.hidden{visibility:visible;}
/* right folder for bootstrap black images/icons */
[class^="icon-"],[class*=" icon-"]{
background-image:url("../images/glyphicons-halflings.png")
}
/* right folder for bootstrap white images/icons */
.icon-white,
.nav-tabs > .active > a > [class^="icon-"],
.nav-tabs > .active > a > [class*=" icon-"],
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"] {
background-image:url("../images/glyphicons-halflings-white.png");
}
/* bootstrap has a label as input's wrapper while web2py has a div */
div>input[type="radio"],div>input[type="checkbox"]{margin:0;}
/* bootstrap has button instead of input */
input[type="button"], input[type="submit"]{margin-right:8px;}
/*=============================================================
RULES FOR SOLVING CONFLICTS BETWEEN WEB2PY.CSS AND BOOTSTRAP.CSS
==============================================================*/
/*when formstyle=table3cols*/
tr#auth_user_remember__row>td.w2p_fw>div{padding-bottom:8px;}
td.w2p_fw div>label{vertical-align:middle;}
td.w2p_fc {padding-bottom:5px;}
/*when formstyle=divs*/
div#auth_user_remember__row{margin-top:4px;}
div#auth_user_remember__row>.w2p_fl{display:none;}
div#auth_user_remember__row>.w2p_fw{min-height:39px;}
div.w2p_fw,div.w2p_fc{
display:inline-block;
vertical-align:middle;
margin-bottom:0;
}
div.w2p_fc{
padding-left:5px;
margin-top:-8px;
}
/*when formstyle=ul*/
form>ul{
list-style:none;
margin:0;
}
li#auth_user_remember__row{margin-top:4px;}
li#auth_user_remember__row>.w2p_fl{display:none;}
li#auth_user_remember__row>.w2p_fw{min-height:39px;}
/*when formstyle=bootstrap*/
#auth_user_remember__row label.checkbox{display:block;}
span.inline-help{display:inline-block;}
input[type="text"].input-xlarge,input[type="password"].input-xlarge{width:270px;}
/*when recaptcha is used*/
#recaptcha{min-height:30px;display:inline-block;margin-bottom:0;line-height:30px;vertical-align:middle;}
td>#recaptcha{margin-bottom:6px;}
div>#recaptcha{margin-bottom:9px;}
div.control-group.error{
width:auto;
background:transparent;
border:0;
color:inherit;
padding:0;
background-repeat:repeat;
}
/*=============================================================
OTHER RULES
==============================================================*/
/* Massimo Di Pierro fixed alignment in forms with list:string */
form table tr{margin-bottom:9px;}
td.w2p_fw ul{margin-left:0px;}
/* web2py_console in grid and smartgrid */
.hidden{visibility:visible;}
.web2py_console input{
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
.web2py_console input[type="submit"],
.web2py_console input[type="button"],
.web2py_console button{
padding-top:4px;
padding-bottom:4px;
margin:3px 0 0 2px;
}
.web2py_console a,
.web2py_console select,
.web2py_console input
{
margin:3px 0 0 2px;
}
.web2py_grid form table{width:auto;}
/* auth_user_remember checkbox extrapadding in IE fix */
.ie-lte9 input#auth_user_remember.checkbox {padding-left:0;}
/*=============================================================
MEDIA QUERIES
==============================================================*/
@media only screen and (max-width:979px){
body{padding-top:0px;}
#navbar{top:5px;}
div.flash{right:5px;}
.dropdown-menu ul{visibility:visible;}
}
@media only screen and (max-width:479px){
body{
padding-left:10px;
padding-right:10px;
}
.navbar-fixed-top,.navbar-fixed-bottom {
margin-left:-10px;
margin-right:-10px;
}
input[type="text"],input[type="password"],select{
width:95%;
}
}

View File

@@ -0,0 +1,122 @@
/*=============================================================
BOOTSTRAP DROPDOWN MENU
==============================================================*/
.dropdown-menu ul{
left:100%;
position:absolute;
top:0;
visibility:hidden;
margin-top:-1px;
}
.dropdown-menu li:hover ul{visibility:visible;}
.navbar .dropdown-menu ul:before{
border-bottom:7px solid transparent;
border-left:none;
border-right:7px solid rgba(0, 0, 0, 0.2);
border-top:7px solid transparent;
left:-7px;
top:5px;
}
.nav > li.dropdown > a:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #000000;
content: "";
display: inline-block;
height: 0;
opacity: 0.7;
vertical-align: top;
width: 0;
margin-left: 2px;
margin-top: 8px;
border-bottom-color: #FFFFFF;
border-top-color: #FFFFFF;
}
.dropdown-menu span{display:inline-block;}
ul.dropdown-menu li.dropdown > a:after {
border-left: 4px solid #000;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
content: "";
display: inline-block;
height: 0;
opacity: 0.7;
vertical-align: top;
width: 0;
margin-left: 8px;
margin-top: 6px;
}
ul.nav li.dropdown:hover ul.dropdown-menu {
display: block;
}
.open >.dropdown-menu ul{display:block;} /* fix menu issue when BS2.0.4 is applied */
/*=============================================================
BOOTSTRAP SUBMIT BUTTON
==============================================================*/
input[type='submit']:not(.btn) {
display: inline-block;
padding: 4px 14px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
color: #333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: whiteSmoke;
background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6));
background-image: -webkit-linear-gradient(top,white,#E6E6E6);
background-image: -o-linear-gradient(top,white,#E6E6E6);
background-image: linear-gradient(to bottom,white,#E6E6E6);
background-image: -moz-linear-gradient(top,white,#E6E6E6);
background-repeat: repeat-x;
border: 1px solid #BBB;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #A2A2A2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
}
input[type='submit']:not(.btn):hover {
color: #333;
text-decoration: none;
background-color: #E6E6E6;
background-position: 0 -15px;
-webkit-transition: background-position .1s linear;
-moz-transition: background-position .1s linear;
-o-transition: background-position .1s linear;
transition: background-position .1s linear;
}
input[type='submit']:not(.btn).active, input[type='submit']:not(.btn):active {
background-color: #E6E6E6;
background-color: #D9D9D9 9;
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
}
/*=============================================================
OTHER
==============================================================*/
.ie-lte8 .navbar-fixed-top {position:static;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -11,7 +11,7 @@ function prepareMultiPartPOST(data) {
var reqdata = '--' + boundary + '\r\n';
//console.log(data.length);
for (var i=0;i < data.length;i++) {
reqdata += 'content-disposition: form-data; name="';
reqdata += 'content-disposition: form-data; name="';
reqdata += data[i].Name + '"';
reqdata += "\r\n\r\n" ;
reqdata += data[i].Data;
@@ -43,8 +43,9 @@ function doHighlight(highlight) {
if (window.ace_editor) {
window.ace_editor.gotoLine(highlight.lineno);
} else if (window.mirror) {
window.mirror.setSelection({line:highlight.lineno,ch:0},
{line:highlight.end,ch:0});
// Put the cursor at the offending line:
window.mirror.setCursor({line:highlight.lineno-1,
ch:highlight.offset+1});
} else if (window.eamy) {
// not implemented
} else if (window.textarea) {
@@ -56,11 +57,11 @@ function doClickSave() {
var data = getData();
var dataForPost = prepareMultiPartPOST(new Array(
prepareDataForSave('data', data),
prepareDataForSave('file_hash',
prepareDataForSave('file_hash',
jQuery("input[name='file_hash']").val()),
prepareDataForSave('saved_on',
prepareDataForSave('saved_on',
jQuery("input[name='saved_on']").val()),
prepareDataForSave('saved_on',
prepareDataForSave('saved_on',
jQuery("input[name='saved_on']").val()),
prepareDataForSave('from_ajax','true')));
// console.info(area.textarea.value);
@@ -69,7 +70,7 @@ function doClickSave() {
jQuery("input[name='saved_on']").val('saving now...')
jQuery.ajax({
type: "POST",
contentType: 'multipart/form-data;boundary="'
contentType: 'multipart/form-data;boundary="'
+ dataForPost[1] + '"',
url: self.location.href,
dataType: "json",
@@ -105,7 +106,7 @@ function doClickSave() {
doHighlight(json.highlight);
} else {
jQuery("input[name='saved_on']").attr('style','background-color:#99FF99');
jQuery(".flash").delay(1000).fadeOut('slow');
//jQuery(".flash").delay(1000).fadeOut('slow');
}
// console.info(jQuery("input[name='file_hash']").val());
var output = '<b>exposes:</b> ';
@@ -148,8 +149,12 @@ function getSelectionRange() {
return sel;
}
function doToggleBreakpoint(filename, url) {
var sel = getSelectionRange();
function doToggleBreakpoint(filename, url, sel) {
if (sel==null) {
// use cursor position to determine the breakpoint line
// (gutter already tell us the selected line)
sel = getSelectionRange();
}
var dataForPost = prepareMultiPartPOST(new Array(
prepareDataForSave('filename', filename),
prepareDataForSave('sel_start', sel["start"]),
@@ -170,15 +175,26 @@ function doToggleBreakpoint(filename, url) {
success: function(json,text,xhr){
// show flash message (if any)
var flash=xhr.getResponseHeader('web2py-component-flash');
if (flash) jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
if (flash) {
jQuery('.flash').html(decodeURIComponent(flash))
.append('<a href="#" class="close">&times;</a>')
.slideDown();
}
else jQuery('.flash').hide();
try {
if (json.error) {
window.location.href=json.redirect;
} else {
// mark the breakpoint if ok=True
// remove mark if ok=False
// do nothing if ok = null
if (json.ok==true && window.mirror) {
// mark the breakpoint if ok=True
editor.setMarker(json.lineno-1,
"<span style='color: red'>●</span> %N%")
} else if (json.ok==false && window.mirror) {
// remove mark if ok=False
editor.setMarker(json.lineno-1, "%N%")
} else {
// do nothing if ok = null
}
// alert(json.ok + json.lineno);
}
} catch(e) { on_error(); }
@@ -188,6 +204,43 @@ function doToggleBreakpoint(filename, url) {
return false;
}
// on load, update all breakpoints markers:
function doListBreakpoints(filename, url) {
var dataForPost = prepareMultiPartPOST(new Array(
prepareDataForSave('filename', filename)
));
jQuery.ajax({
type: "POST",
contentType: 'multipart/form-data;boundary="'+dataForPost[1]+'"',
url: url,
dataType: "json",
data: dataForPost[0],
timeout: 5000,
beforeSend: function(xhr) {
xhr.setRequestHeader('web2py-component-location',
document.location);
xhr.setRequestHeader('web2py-component-element',
'doListBreakpoints');},
success: function(json,text,xhr){
try {
if (json.error) {
window.location.href=json.redirect;
} else {
if (window.mirror) {
for (i in json.breakpoints) {
lineno = json.breakpoints[i];
// mark the breakpoint if ok=True
editor.setMarker(lineno-1,
"<span style='color: red'>●</span> %N%");
}
}
}
} catch(e) { on_error(); }
},
error: function(json) { on_error(); }
});
return false;
}
function keepalive(url) {
jQuery.ajax({
@@ -197,4 +250,3 @@ function keepalive(url) {
success: function(){},
error: function(x) { on_error(); } });
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,60 @@
/*
Flot plugin for automatically redrawing plots when the placeholder
size changes, e.g. on window resizes.
It works by listening for changes on the placeholder div (through the
jQuery resize event plugin) - if the size changes, it will redraw the
plot.
There are no options. If you need to disable the plugin for some
plots, you can just fix the size of their placeholders.
*/
/* Inline dependency:
* jQuery resize event - v1.1 - 3/14/2010
* http://benalman.com/projects/jquery-resize-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($,h,c){var a=$([]),e=$.resize=$.extend($.resize,{}),i,k="setTimeout",j="resize",d=j+"-special-event",b="delay",f="throttleWindow";e[b]=250;e[f]=true;$.event.special[j]={setup:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.add(l);$.data(this,d,{w:l.width(),h:l.height()});if(a.length===1){g()}},teardown:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.not(l);l.removeData(d);if(!a.length){clearTimeout(i)}},add:function(l){if(!e[f]&&this[k]){return false}var n;function m(s,o,p){var q=$(this),r=$.data(this,d);r.w=o!==c?o:q.width();r.h=p!==c?p:q.height();n.apply(this,arguments)}if($.isFunction(l)){n=l;return m}else{n=l.handler;l.handler=m}}};function g(){i=h[k](function(){a.each(function(){var n=$(this),m=n.width(),l=n.height(),o=$.data(this,d);if(m!==o.w||l!==o.h){n.trigger(j,[o.w=m,o.h=l])}});g()},e[b])}})(jQuery,this);
(function ($) {
var options = { }; // no options
function init(plot) {
function onResize() {
var placeholder = plot.getPlaceholder();
// somebody might have hidden us and we can't plot
// when we don't have the dimensions
if (placeholder.width() == 0 || placeholder.height() == 0)
return;
plot.resize();
plot.setupGrid();
plot.draw();
}
function bindEvents(plot, eventHolder) {
plot.getPlaceholder().resize(onResize);
}
function shutdown(plot, eventHolder) {
plot.getPlaceholder().unbind("resize", onResize);
}
plot.hooks.bindEvents.push(bindEvents);
plot.hooks.shutdown.push(shutdown);
}
$.plot.plugins.push({
init: init,
options: options,
name: 'resize',
version: '1.0'
});
})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,44 @@
/**
Created and copyrighted by Massimo Di Pierro <massimo.dipierro@gmail.com>
(MIT license)
Example:
<script src="share.js"></script>
**/
jQuery(function(){
var script_source = jQuery('script[src*="share.js"]').attr('src');
var params = function(name,default_value) {
var match = RegExp('[?&]' + name + '=([^&]*)').exec(script_source);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '))||default_value;
}
var path = params('static','social');
var url = encodeURIComponent(window.location.href);
var host = window.location.hostname;
var title = escape(jQuery('title').text());
var twit = 'http://twitter.com/home?status='+title+'%20'+url;
var facebook = 'http://www.facebook.com/sharer.php?u='+url;
var gplus = 'https://plus.google.com/share?url='+url;
var tbar = '<div id="socialdrawer"><span>Share<br/></span><div id="sicons"><a href="'+twit+'" id="twit" title="Share on twitter"><img src="'+path+'/twitter.png" alt="Share on Twitter" width="32" height="32" /></a><a href="'+facebook+'" id="facebook" title="Share on Facebook"><img src="'+path+'/facebook.png" alt="Share on facebook" width="32" height="32" /></a><a href="'+gplus+'" id="gplus" title="Share on Google Plus"><img src="'+path+'/gplus-32.png" alt="Share on Google Plus" width="32" height="32" /></a></div></div>';
// Add the share tool bar.
jQuery('body').append(tbar);
var st = jQuery('#socialdrawer');
st.css({'opacity':'.7','z-index':'3000','background':'#FFF','border':'solid 1px #666','border-width':' 1px 0 0 1px','height':'20px','width':'40px','position':'fixed','bottom':'0','right':'0','padding':'2px 5px','overflow':'hidden','-webkit-border-top-left-radius':' 12px','-moz-border-radius-topleft':' 12px','border-top-left-radius':' 12px','-moz-box-shadow':' -3px -3px 3px rgba(0,0,0,0.5)','-webkit-box-shadow':' -3px -3px 3px rgba(0,0,0,0.5)','box-shadow':' -3px -3px 3px rgba(0,0,0,0.5)'});
jQuery('#socialdrawer a').css({'float':'left','width':'32px','margin':'3px 2px 2px 2px','padding':'0','cursor':'pointer'});
jQuery('#socialdrawer span').css({'float':'left','margin':'2px 3px','text-shadow':' 1px 1px 1px #FFF','color':'#444','font-size':'12px','line-height':'1em'});
jQuery('#socialdrawer img').hide();
// hover
st.click(function(){
jQuery(this).animate({height:'40px', width:'160px', opacity: 0.95}, 300);
jQuery('#socialdrawer img').show();
});
//leave
st.mouseleave(function(){
st.animate({height:'20px', width: '40px', opacity: .7}, 300);
jQuery('#socialdrawer img').hide();
return false;
} );
});

View File

@@ -44,18 +44,38 @@ function web2py_event_handlers() {
doc.on('keyup', 'input.double, input.decimal', function(){this.value=this.value.reverse().replace(/[^0-9\-\.,]|[\-](?=.)|[\.,](?=[0-9]*[\.,])/g,'').reverse();});
var confirm_message = (typeof w2p_ajax_confirm_message != 'undefined') ? w2p_ajax_confirm_message : "Are you sure you want to delete this object?";
doc.on('click', "input[type='checkbox'].delete", function(){if(this.checked) if(!confirm(confirm_message)) this.checked=false;});
doc.ajaxSuccess(function(e, xhr) {
var redirect=xhr.getResponseHeader('web2py-redirect-location');
if (redirect != null) {
var command=xhr.getResponseHeader('web2py-component-command');
var flash=xhr.getResponseHeader('web2py-component-flash');
if (redirect !== null) {
window.location = redirect;
};
if(command !== null){
eval(decodeURIComponent(command));
}
if(flash) {
jQuery('.flash')
.html(decodeURIComponent(flash))
.append('<span id="closeflash">&times;</span>')
.slideDown();
}
});
doc.ajaxError(function(e, xhr, settings, exception) {
doc.off('click', '.flash')
switch(xhr.status){
case 500:
$('.flash').html(ajax_error_500).slideDown();
}
});
};
jQuery(function() {
var flash = jQuery('.flash');
flash.hide();
if(flash.html()) flash.append('<span style="float:right;">&times;</span>').slideDown();
if(flash.html()) flash.append('<span id="closeflash">&times;</span>').slideDown();
web2py_ajax_init(document);
web2py_event_handlers();
});
@@ -91,8 +111,6 @@ function web2py_ajax_page(method, action, data, target) {
'complete':function(xhr,text){
var html=xhr.responseText;
var content=xhr.getResponseHeader('web2py-component-content');
var command=xhr.getResponseHeader('web2py-component-command');
var flash=xhr.getResponseHeader('web2py-component-flash');
var t = jQuery('#'+target);
if(content=='prepend') t.prepend(html);
else if(content=='append') t.append(html);
@@ -100,17 +118,14 @@ function web2py_ajax_page(method, action, data, target) {
web2py_trap_form(action,target);
web2py_trap_link(target);
web2py_ajax_init('#'+target);
if(command)
eval(decodeURIComponent(command));
if(flash)
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
}
});
}
function web2py_component(action, target, timeout, times){
jQuery(function(){
var element = jQuery("#" + target).get(0);
var jelement = jQuery("#" + target);
var element = jelement.get(0);
var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){
// Continue if times is Infinity or
@@ -119,6 +134,7 @@ function web2py_component(action, target, timeout, times){
web2py_ajax_page('get', action, null, target);} }; // reload
// Method to check timing limit
element.reload_check = function (){
if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;}
if (this.reload_counter == Infinity){return true;}
else {
if (!isNaN(this.reload_counter)){

View File

@@ -0,0 +1,28 @@
// this code improves bootstrap menus and adds dropdown support
jQuery(function(){
jQuery('.nav>li>a').each(function(){
if(jQuery(this).parent().find('ul').length)
jQuery(this).attr({'class':'dropdown-toggle','data-toggle':'dropdown'}).append('<b class="caret"></b>');
});
jQuery('.nav li li').each(function(){
if(jQuery(this).find('ul').length)
jQuery(this).addClass('dropdown-submenu');
});
function hoverMenu(){
var wid = document.documentElement.clientWidth; //faster than $(window).width() and cross browser
if (wid>=980){
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
mi = jQuery(this).addClass('open');
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
}, function(){
mi = jQuery(this);
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
});
};
}
hoverMenu(); // first page load
jQuery(window).resize(hoverMenu); // on resize event
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
// make all buttons bootstrap buttons
jQuery('button, form input[type="submit"], form input[type="button"]').addClass('btn');
});

View File

@@ -2,7 +2,7 @@
<script><!--
jQuery(document).ready(function(){
jQuery("table.sortable tbody tr").mouseover( function() {
jQuery(this).addClass("highlight"); }).mouseout( function() {
jQuery(this).addClass("highlight"); }).mouseout( function() {
jQuery(this).removeClass("highlight"); });
jQuery('table.sortable tbody tr:odd').addClass('odd');
jQuery('table.sortable tbody tr:even').addClass('even');
@@ -63,11 +63,11 @@
<br/><br/>
<h4>{{=T("%s selected", nrows)}}</h4>
{{if start>0:}}{{=A(T('previous 100 rows'),_href=URL('select',args=request.args[0],vars=dict(start=start-100)),_class="btn")}}{{pass}}
{{if stop<nrows:}}{{=A(T('next 100 rows'),_href=URL('select',args=request.args[0],vars=dict(start=start+100)),_class="btn")}}{{pass}}
{{if stop<nrows:}}{{=A(T('next 100 rows'),_href=URL('select',args=request.args[0],vars=dict(start=start+100)),_class="btn")}}{{pass}}
{{if rows:}}
<div style="overflow: auto;" width="80%">
{{linkto=URL('update',args=request.args[0])}}
{{upload=URL('download',args=request.args[0])}}
{{upload=URL('download',args=request.args[0])}}
{{=SQLTABLE(rows,linkto,upload,orderby=True,_class='sortable')}}
</div>
{{pass}}
@@ -75,7 +75,7 @@
<a href="{{=URL('csv',args=request.args[0],vars=dict(query=query))}}" class="btn">{{=T("export as csv file")}}</a>
{{=formcsv or ''}}
{{elif request.function=='insert':}}
{{elif request.function=='insert':}}
<h2>{{=T("Database")}} {{=A(request.args[0],_href=URL('index'))}}
{{if hasattr(table,'_primarykey'):}}
{{fieldname=table._primarykey[0]}}
@@ -83,7 +83,7 @@
{{tablename=request.args[1]}}
{{cond = table[fieldname].type in ['string','text'] and '!=""' or '>0'}}
{{=T("Table")}} {{=A(tablename,_href=URL('select',args=dbname,vars=dict(query='%s.%s.%s%s'%(dbname,tablename,fieldname,cond))))}}
{{else:}}
{{else:}}
{{=T("Table")}} {{=A(request.args[1],_href=URL('select',args=request.args[0],vars=dict(query='%s.%s.id>0'%tuple(request.args[:2]))))}}
{{pass}}
</h2>
@@ -95,7 +95,7 @@
{{fieldname=request.vars.keys()[0]}}
{{dbname=request.args[0]}}
{{tablename=request.args[1]}}
{{cond = table[fieldname].type in ['string','text'] and '!=""' or '>0'}}
{{cond = table[fieldname].type in ['string','text'] and '!=""' or '>0'}}
{{=T("Table")}} {{=A(tablename,_href=URL('select',args=dbname,vars=dict(query='%s.%s.%s%s'%(dbname,tablename,fieldname,cond))))}}
{{=T("Record")}} {{=A('%s=%s'%request.vars.items()[0],_href=URL('update',args=request.args[:2],vars=request.vars))}}
{{else:}}
@@ -131,7 +131,7 @@
dict(ratio=total['ratio'], hits=total['hits'], misses=total['misses']))}}
</p>
<p>
{{=T("Size of cache:")}}
{{=T("Size of cache:")}}
{{if object_stats:}}
{{=T.M("**%(items)s** %%{item(items)}, **%(bytes)s** %%{byte(bytes)}", dict(items=total['objects'], bytes=total['bytes']))}}
{{if total['bytes'] > 524287:}}
@@ -151,7 +151,7 @@
</div>
<br />
{{pass}}
<h4>{{=T("RAM")}}</h4>
<p>{{=T.M("Number of entries: **%s**", ram['entries'])}}</p>
{{if ram['entries'] > 0:}}
@@ -179,16 +179,16 @@
</div>
<br />
{{pass}}
<h4>{{=T("DISK")}}</h4>
<p>{{=T.M("Number of entries: **%s**", disk['entries'])}}</p>
{{if disk['entries'] > 0:}}
<p>
{{=T.M("Hit Ratio: **%(ratio)s%%** (**%(hits)s** %%{hit(hits)} and **%(misses)s** %%{miss(misses)})",
dict(ratio=disk['ratio'], hits=disk['hits'], misses=disk['misses']))}}
dict(ratio=disk['ratio'], hits=disk['hits'], misses=disk['misses']))}}
</p>
<p>
{{=T("Size of cache:")}}
{{=T("Size of cache:")}}
{{if object_stats:}}
{{=T.M("**%(items)s** %%{item(items)}, **%(bytes)s** %%{byte(bytes)}", dict( items=disk['objects'], bytes=disk['bytes']))}}
{{if disk['bytes'] > 524287:}}
@@ -209,11 +209,11 @@
<br />
{{pass}}
</div>
<div class="list-header">
<h3>{{=T("Manage Cache")}}</h3>
</div>
<div class="content">
<p>
{{=form}}
@@ -222,3 +222,28 @@
</div>
<div class="clear"></div>
{{pass}}
{{if request.function=='graph_model':}}
<h2>{{=T("Graph Model")}}</h2>
{{if not pgv:}}
{{=T('pygraphviz library not found')}}
{{elif not databases:}}
{{=T("No databases in this application")}}
{{else:}}
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-download"></i> {{=T('Save model as...')}}
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="{{=URL('appadmin', 'bg_graph_model', args=['png'])}}">png</a></li>
<li><a href="{{=URL('appadmin', 'bg_graph_model', args=['svg'])}}">svg</a></li>
<li><a href="{{=URL('appadmin', 'bg_graph_model', args=['pdf'])}}">pdf</a></li>
<li><a href="{{=URL('appadmin', 'bg_graph_model', args=['ps'])}}">ps</a></li>
<li><a href="{{=URL('appadmin', 'bg_graph_model', args=['dot'])}}">dot</a></li>
</ul>
</div>
<br />
{{=IMG(_src=URL('appadmin', 'bg_graph_model'))}}
{{pass}}
{{pass}}

View File

@@ -0,0 +1,137 @@
{{extend 'layout.html'}}
{{block sectionclass}}debug{{end}}
{{
frm_trs = form.elements('tr')
tbl_rows = []
for frm_tr in frm_trs:
if frm_tr['_id'] != 'submit_record__row':
fld_label = frm_tr.element('td.w2p_fl')
fld_widget = frm_tr.element('td.w2p_fw')[0]
fld_comment = frm_tr.element('td.w2p_fc')[0]
lbls = fld_label.elements('label')
lbl = ''
if len(lbls) > 0:
lbl = fld_label.elements('label')[0]
lbl['_class'] = 'control-label'
pass
if fld_widget['_type'] == 'checkbox':
fld_widget = LABEL(fld_widget, _class='checkbox')
else:
fld_widget = CAT(fld_widget, SPAN('', _class='help-inline'))
pass
if isinstance(fld_widget, SPAN):
fld_widget['_role'] = 'asinput'
pass
tbl_row = DIV(lbl, DIV(fld_widget,
TAG['SMALL'](fld_comment,
_class='help-block'),
_class='controls'), _class='control-group')
tbl_rows.append(tbl_row)
else:
smt_btn = frm_tr.element('td.w2p_fw')
btn = smt_btn.elements('input')[0]
btn['_class'] = 'btn btn-primary'
tbl_rows.append(DIV(btn, _class='controls'))
pass
pass
form.element('table', replace=CAT(*tbl_rows))
form['_class'] = 'form-horizontal well well-small'
import re
if form.errors:
for key, value in form.errors.iteritems():
inpt = form.element(_name=key)
inpt_wrapper = inpt.parent
if inpt_wrapper['_class'] == None or \
not "controls" in inpt_wrapper['_class']:
inpt_wrapper = inpt_wrapper.parent
pass
inpt_wrapper.parent['_class'] += ' error'
inpt_wrapper.element(_class=re.compile('help-inline'),
replace=lambda me:SPAN(value, _class=me['_class']))
pass
form.errors.clear()
pass
}}
<!-- begin "debug" block -->
<div class="row-fluid">
<div class="applist f60 span7" style="padding-bottom:20px;">
<div class="applist_inner">
<h2>{{=T("Breakpoints")}}</h2>
<div class="errorform">
<form name="myform" method="post">
<div class="tablebar">
<input value="{{=T('delete all checked')}}" type="submit" class="btn"/>
</div>
<div class="row-fluid">
<div class="span12 errors">
<table id="trck_breakpoints" class="sortable table table-hover table-condensed">
<thead>
<tr>
<th class="column1 cbcentered"><input type="checkbox" name="delete_all}" /></th>
<th class="column2">{{=T("Filename")}}</th>
<th class="column3">{{=T("Line Nr")}}</th>
<th>{{=T("Temporary")}}</th>
<th>{{=T("Condition")}}</th>
<th class="columnN">{{=T("Hits")}}</th>
</tr>
</thead>
<tbody>
{{for bp in breakpoints:}}
<tr class="breakpoint">
<td class="cbcentered"><input type="checkbox" name="delete_{{=bp['number']}}" /></td>
<td>{{=bp['filename']}}</td>
<td>{{=A(bp['lineno'],_href="#",_onclick="collapse('%s');" % bp['number'])}}</td>
<td>{{=bp['temporary']}}</td>
<td>{{=bp['condition']}}</td>
<td>{{=bp['hits']}}</td>
</tr>
<tr id="{{=bp['number']}}" class="sourcecode traceback">
<td colspan="6">
<div class="ticket_code">
{{=CODE(open(bp['path']).read(), language='python',
link=None, highlight_line=bp['lineno'], context_lines=10)}}
</div>
</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
</form><!-- /errorform -->
</div>
</div>
</div><!-- /applist -->
<div class="sidebar fl60 span5">
<div class="sidebar_inner controls" style="margin:0;">
<div class="box">
<h3>{{=T("Add breakpoint")}}</h3>
{{=form}}
<div class="row-fluid">
<div class="help span12 alert alert-block alert-info">
<ul class="unstyled">
<li>{{=T("You can also set and remove breakpoint in the edit window, using the Toggle Breakpoint button")}}</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.sourcecode').hide();
jQuery("#trck_breakpoints thead tr th:first input[type=checkbox]").click(function() {
var checkedStatus = this.checked;
jQuery("#trck_breakpoints tbody tr td:first-child input[type=checkbox]").each(function() {
this.checked = checkedStatus;
});
});
jQuery("#trck_breakpoints tbody tr td:first-child input[type=checkbox]").change(function() {
var allchecked = jQuery("#trck_breakpoints tbody tr td:first-child input[type=checkbox]:checked").length == jQuery("#trck_breakpoints tbody tr td:first-child input[type=checkbox]").length;
jQuery("#trck_breakpoints thead tr th:first input[type=checkbox]").prop('checked', allchecked);
});
});
</script>
<!-- end "debug" block -->

View File

@@ -0,0 +1,191 @@
{{extend 'layout.html'}}
{{block sectionclass}}debug{{end}}
<!-- begin "debug" block -->
<div class="row-fluid">
<div class="applist f60 span7" style="padding-bottom:20px;">
<div class="applist_inner">
<h2>{{=T("web2py online debugger")}}</h2>
{{if filename:}}
<h3 style="word-wrap:break-word;">{{=T("Interaction at %s line %s") % (filename, lineno)}}</h3>
{{if exception:}}
<h3 class="exception">{{=T("Exception %s", exception['title'])}}</h3>
{{pass}}
<h5>{{=T("Code listing")}}</h5>
{{if lines:}}<div class="inspect" style="width:100%;overflow:auto;background-color:whiteSmoke;margin-bottom:20px;">
<pre>{{=CODE('\n'.join([x[1] for x in sorted(lines.items(),key=lambda x: x[0])]),
language='python', link=None, counter=min(lines.keys()),
highlight_line=lineno, context_lines=10)}}</pre></div>
{{pass}}
<div class="row-fluid">
<div class="help span7 alert alert-block alert-info">
<ul class="unstyled">
<li>{{=T("Your application will be blocked until you click an action button (next, step, continue, etc.)")}}</li>
<li>{{=T("Your can inspect variables using the console below")}}</li>
</ul>
</div>
</div>
<h3>{{=T("Interactive console")}}</h3>
<div class="shell"><div id="wrapper">
<div class="row-fluid">
<div class="output-wrapper span11">
<textarea id="output" readonly="readonly">{{=data}}</textarea>
</div>
</div>
<div class="row-fluid">
<form id="form" action="{{=URL(r=request, f='callback', args=app)}}" method="get" class="span11">
<div id="shellwrapper">
<div class="prompt-wrapper">
<div class="prompt-container">
<textarea class="prompt" name="statement" id="statement"></textarea>
</div>
<a href="#" rel="tooltip" data-placement="right" data-original-title="{{=T('Type some Python code in here and hit Return (Enter) to execute it.')}}">
{{=helpicon()}}
<span>Type some Python code in here and hit Return (Enter) to execute it.</span>
</a>
</div>
<div id="caret"><span>&gt;&gt;&gt;</span></div>
<div id="autoscroll">autoscroll</div>
</div>
</form>
</div>
</div></div>
{{elif request.env.get('wsgi_multiprocess') or not request.env.get('wsgi_multithread'):}}
<h3 class="not_paused">{{=T("Unsupported webserver working mode: %s", request.env.get('server_software', ''))}}</h3>
<div class="help span7 alert alert-block alert-info">
<ul class="unstyled">
<li><b>{{=T("WARNING:")}} </b>{{=T("This debugger may not work properly if you don't have a threaded webserver or you're using multiple daemon processes.")}}</li>
<li>{{=T("In development, use the default Rocket webserver that is currently supported by this debugger.")}}</li>
<li>{{=T("On production, you'll have to configure your webserver to use one process and multiple threads to use this debugger.")}}</li>
</ul>
</div>
{{#=BEAUTIFY(request.env)}}
{{else:}}
<h3 class="not_paused">{{=T("No Interaction yet")}}</h3>
<div class="help span7 alert alert-block alert-info">
<ul class="unstyled">
<li>{{=T("You need to set up and reach a")}} {{=A(T("breakpoint"), _href=URL('breakpoints'))}} {{=T('to use the debugger!')}}</li>
<li>{{=T('To emulate a breakpoint programatically, write:')}}
{{=CODE("from gluon.debug import dbg\n"
"dbg.set_trace() # stop here!\n",
counter=None)}}</li>
<li>{{=T('Please')}} {{=A(T("refresh"), _href=URL('interact'))}} {{=T('this page to see if a breakpoint was hit and debug interaction is required.')}}</li>
</ul>
</div>
{{pass}}
</div>
</div> <!-- /applist -->
<div class="sidebar fl60 span5">
<div class="sidebar_inner controls" style="margin:0;">
<span class="pwdchange pull-right">
{{if filename:}}
{{=sp_button(URL('step'), T("step"))}}
{{=sp_button(URL('next'), T("next"))}}
{{=sp_button(URL('ret'), T("return"))}}
{{=sp_button(URL('cont'), T("continue"))}}
{{=sp_button(URL('stop'), T("stop"))}}
{{pass}}
{{=button(URL('breakpoints'), T("breakpoints"))}}
</span>
{{if exception:}}
<div class="box">
<h3>{{=T('Exception %(extype)s: %(exvalue)s', dict(extype=exception['extype'], exvalue=exception['exvalue']))}}</h3>
<div class="formfield">
{{=CODE((exception['request']), counter=None)}}
</div>
</div>
{{pass}}
<div class="box">
<h3>{{=T('Locals##debug')}}</h3>
<div class="formfield">
{{=BEAUTIFY(f_locals)}}
</div>
</div>
<div class="box">
<h3>{{=T('Globals##debug')}}</h3>
<div class="formfield">
{{=BEAUTIFY(f_globals)}}
</div>
</div>
</div>
</div>
<script src="{{=URL('static', 'js/autoscroll.js')}}"></script>
<script type="text/javascript">
var bShellScrolling=0
jQuery(document).ready(function(){
// jQuery('#statement').focus(); // not usefull most times...
jQuery('#statement').keyup(function(event){
var t=jQuery(this),
s=t.val(),
o=jQuery('#output'),
RETURN = 38;
if(s=='\n') t.val('');
if(s.length>1 && s.substr(s.length-1,1)=='\n' && s.substr(s.length-2,1)!=':' &&
(s.indexOf(':\n ')<0 || s.substr(s.length-2,1)=='\n')) {
t.val('');
jQuery.post("{{=URL(r=request,f='execute',args=app)}}",
{statement:s},function(data){o.html(o.html()+data).attr('scrollTop',o.attr('scrollHeight'));});
} else { };
if(event.keyCode==RETURN){
var i=s.length
if(i==0){
var s=o.find('table:last pre:first').text();
bShellScrolling=o.find('table').length;
}else if(bShellScrolling){
var i=bShellScrolling
if(i<1){
return
}else{
i--
var s=o.find('table:nth-child('+(i)+') pre:first').text();
bShellScrolling=i
}
}else if(s.indexOf('\n')<0){
var oo=o.find('tr:first-child pre:contains("'+s+'")')
if(oo.length==0){
return
}else if(oo.length==1){
s=oo.text();
}else{
sVar=oo.text();
o.html(o.html()+'<dd>'+s+' ?</dd><dt>'+sVar+'</dt>').attr('scrollTop',o.attr('scrollHeight'))
return
}
}else{
//multistring expr
return;
}
// if(s.slice(s.length-1)=='\n'){
s=s.slice(0,s.length-1)
// }
t.val(s);
}
if(bShellScrolling && event.keyCode==40){
var i=bShellScrolling
i++
var s=o.find('table:nth-child('+i+') tr:first-child pre').text();
if(s){
s=s.slice(0,s.length-1)
t.val(s);
bShellScrolling=i
}else{
bShellScrolling=0
t.val('')
}
};
if(bShellScrolling && (event.keyCode==37 || event.keyCode==39)){
bShellScrolling=0;
};
if(event.keyCode==27){
bShellScrolling=0;
t.val('');
};
});
});
</script>
</div>
<!-- end "debug" block -->

View File

@@ -1,24 +1,26 @@
{{extend 'layout.html'}}
{{block sectionclass}}about{{end}}
<!-- begin "about" block -->
<h2>{{=T("About application")}} "{{=app}}"</h2>
<h3>{{=T("About")}} {{=app}}</h3>
<p class="controls">{{=button(URL('edit/%s/ABOUT' % (app)), T('Edit'))}}</p>
<div class="about_text legalese">{{=about}}</div>
<div class="about_text legalese well well-small">{{=about}}</div>
<h3>{{=T('License for')}} {{=app}}</h3>
<p class="controls">{{=button(URL('edit/%s/LICENSE' % (app)), T('Edit'))}}</p>
<div class="license_text legalese">{{=license}}</div>
</ul>
<script language="javascript" type="text/javascript" src="{{=URL('static','js/jquery.flot.js')}}"></script>
<div class="license_text legalese well well-small">{{=license}}</div>
<h3>{{=T('Project Progress')}}</h3>
<p>
<center>
<div id="placeholder" style="width:600px;height:300px;"></div>
</center>
<script language="javascript" type="text/javascript" src="{{=URL('static','js/jquery.flot.js')}}"></script>
<script language="javascript" type="text/javascript" src="{{=URL('static','js/jquery.flot.resize.js')}}"></script>
<div class="row-fluid">
<div class="span2"> </div>
<div class="span8 center">
<div id="placeholder"></div>
</div>
<div class="span2"> </div>
</div>
<script type="text/javascript">
jQuery(function () { jQuery.plot(jQuery("#placeholder"), [ {{=progress}} ]); });
jQuery(document).ready(function() {
jQuery.plot(jQuery("#placeholder"), [ {{=progress}} ]);
})
</script>
</p>
<!-- end "about" block -->

View File

@@ -1,5 +1,20 @@
{{extend 'layout.html'}}
<h1>{{=T('Bulk Student Registration')}}</h1>
{{=form}}
{{
# add bootstrap class to form
form['_class']='span4 well well-small'
# change form.custom.begin
form.custom.begin=XML("<%s %s>" % (form.tag,form._xml()[0]))
# new form buttons
smt = form.element('input',_type='submit')
smt['_class']='btn'
form.element('input[type=submit]',replace=lambda button: DIV(button,_class="controls-inline"))
}}
<h2>{{=T('Bulk Student Registration').capitalize()}}</h2>
<div id="web2py_user_form">
{{=form.custom.begin}}
{{for e in form.components[0]:}}
{{= e[0][0]}}
{{= e[1][0]}}
{{pass}}
{{=form.custom.end}}
</div>

View File

@@ -1,10 +1,22 @@
{{extend 'layout.html'}}
{{block sectionclass}}change_password{{end}}
<h2>Change Admin Password</h2>
<!-- begin "change_password" block -->
<h2>web2py&trade; {{=T('Web Framework')}}</h2>
<h3>{{=T('Change Admin Password')}}</h3>
<div class="pwform">
{{=form}}
{{=form.custom.begin}}
{{ for fieldname in form.table.fields: }}
{{if fieldname is not 'id':}}
<label>{{=form.custom.label[fieldname]}}</label>
{{=form.custom.widget[fieldname]}}
{{pass}}
{{pass}}
<div class="controls"><button type="submit" class="btn">{{=T('Submit')}}</button></div>
{{=form.custom.end}}
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(":input:visible:enabled:first").focus();
});
</script>
<!-- end "change_password" block -->

View File

@@ -1,9 +1,16 @@
{{extend 'layout.html'}}
{{
dlg = dialog
smt_button = dlg.element(_type="submit")
smt_button['_class'] = 'btn'
smt_button['_style'] = 'margin-right:4px;'
ccl_button = dlg.element(_type="button")
ccl_button['_class'] = 'btn'
}}
{{block sectionclass}}delete{{end}}
<!-- begin "delete" block -->
<h2>{{=T('Are you sure you want to delete file "%s"?', filename)}}</h2>
<div class="center">
{{=dialog}}
</div>
<!-- end "delete" block -->

View File

@@ -1,9 +1,16 @@
{{extend 'layout.html'}}
{{
dlg = dialog
smt_button = dlg.element(_type="submit")
smt_button['_class'] = 'btn'
smt_button['_style'] = 'margin-right:4px;'
ccl_button = dlg.element(_type="button")
ccl_button['_class'] = 'btn'
}}
{{block sectionclass}}delete_plugin{{end}}
<!-- begin "delete_plugin" block -->
<h2>{{=T('Are you sure you want to delete plugin "%s"?', plugin)}}</h2>
<div class="center">
{{=dialog}}
</div>
<!-- end "delete_plugin" block -->

View File

@@ -7,52 +7,75 @@ def peekfile(path,file,vars={},title=None):
return A(file.replace('\\\\','/'),_title=title,_href=URL('peek', args=args, vars=vars))
def editfile(path,file,vars={}):
args=(path,file) if 'app' in vars else (app,path,file)
return A(SPAN(T('Edit')),_class='button editbutton',_href=URL('edit', args=args, vars=vars))
return A(SPAN(T('Edit')),_class='button editbutton btn btn-mini',_href=URL('edit', args=args, vars=vars))
def testfile(path,file):
return A(TAG[''](IMG(_src=URL('static', 'images/test_icon.png'), _alt=T('test')), SPAN(T("Run tests in this file (to run all files, you may also use the button labelled 'test')"))), _class='icon test tooltip',_href=URL('test', args=(app, file)))
return A(TAG[''](IMG(_src=URL('static', 'images/test_icon.png'), _alt=T('test')),
SPAN(T("Run tests in this file (to run all files, you may also use the button labelled 'test')"))),
_class='icon test',
_href=URL('test', args=(app, file)),
_rel="tooltip",
**{'_data-placement':'right',
'_data-original-title':T("Run tests in this file (to run all files, you may also use the button labelled 'test')")})
def editlanguagefile(path,file,vars={}):
return A(SPAN(T('Edit')),_class='button editbutton',_href=URL('edit_language', args=(app, path, file), vars=vars))
return A(SPAN(T('Edit')),_class='button editbutton btn btn-mini',_href=URL('edit_language', args=(app, path, file), vars=vars))
def editpluralsfile(path,file,vars={}):
return A(SPAN(T('Edit')),_class='button editbutton',_href=URL('edit_plurals', args=(app, path, file), vars=vars))
return A(SPAN(T('Edit')),_class='button editbutton btn btn-mini',_href=URL('edit_plurals', args=(app, path, file), vars=vars))
def file_upload_form(location, anchor=None):
form=FORM(T("upload file:")," ",
INPUT(_type="file",_name="file")," ",T("and rename it:")," ",
INPUT(_type="text",_name="filename",requires=IS_NOT_EMPTY),
INPUT(_type="hidden",_name="location",_value=location),
INPUT(_type="hidden",_name="token",_value=session.token),
INPUT(_type="hidden",_name="sender",_value=URL('design',args=app, anchor=anchor)),
INPUT(_type="submit",_value=T("upload")),_action=URL('upload_file'))
form=FORM(
LABEL(T("upload file:")),
INPUT(_type="file",_name="file"),
LABEL(T("and rename it:")),
INPUT(_type="text",_name="filename",requires=IS_NOT_EMPTY,_class=""),
DIV(TAG['BUTTON'](T("Upload"),_type="submit",_class="btn"),_class="controls"),
INPUT(_type="hidden",_name="location",_value=location),
INPUT(_type="hidden",_name="token",_value=session.token),
INPUT(_type="hidden",_name="sender",_value=URL('design',args=app, anchor=anchor)),
_action=URL('upload_file'),
_class="generatedbyw2p well well-small")
return form
def file_create_form(location, anchor=None):
form=FORM(T("create file with filename:")," ",
INPUT(_type="text",_name="filename",requires=IS_NOT_EMPTY),
INPUT(_type="hidden",_name="location",_value=location),
INPUT(_type="hidden",_name="sender",_value=URL('design',args=app)),
INPUT(_type="hidden",_name="token",_value=session.token),
INPUT(_type="hidden",_name="id",_value=anchor),
INPUT(_type="submit",_value=T("Create")),_action=URL('create_file'))
def file_create_form(location, anchor=None, helptext=""):
form=FORM(
LABEL(T("create file with filename:")),
INPUT(_type="text",_name="filename",requires=IS_NOT_EMPTY,_class=''),
TAG['SMALL'](helptext,_class="help-block"),
DIV(TAG['BUTTON'](T("Create"),_type="submit",_class="btn"),_class="controls"),
INPUT(_type="hidden",_name="location",_value=location),
INPUT(_type="hidden",_name="sender",_value=URL('design',args=app)),
INPUT(_type="hidden",_name="token",_value=session.token),
INPUT(_type="hidden",_name="id",_value=anchor),
_action=URL('create_file'),
_class="generatedbyw2p well well-small")
return form
def upload_plugin_form(app, anchor=None):
form=FORM(T("upload plugin file:")," ",
INPUT(_type="file",_name="pluginfile"),
INPUT(_type="hidden",_name="id",_value=anchor),
INPUT(_type="hidden",_name="token",_value=session.token),
INPUT(_type="submit",_value=T("upload")))
form=FORM(
LABEL(T("upload plugin file:")),
INPUT(_type="file",_name="pluginfile"),
INPUT(_type="hidden",_name="id",_value=anchor),
INPUT(_type="hidden",_name="token",_value=session.token),
DIV(TAG['BUTTON'](T("Upload"),_type="submit",_class="btn"),_class="controls"),
_class="generatedbyw2p well well-small")
return form
def deletefile(arglist, vars={}):
vars.update({'sender':request.function+'/'+app})
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')), SPAN(T('Delete this file (you will be asked to confirm deletion)'))), _class='icon delete tooltip', _href=URL('delete',args=arglist,vars=vars))
vars.update({'sender':request.function+'/'+app})
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')),
SPAN(T('Delete this file (you will be asked to confirm deletion)'))),
_href=URL('delete',args=arglist,vars=vars),
_class='icon delete',
_rel="tooltip",
**{'_data-placement':'right',
'_data-original-title':T('Delete this file (you will be asked to confirm deletion)')})
}}
{{block sectionclass}}design{{end}}
<!-- begin "design" block -->
<h2>{{=T("Edit application")}} "{{=A(app,_href=URL(app,'default','index'),_target="_blank")}}"</h2>
<!-- COLLAPSE/JUMP-TO BUTTONS -->
<div class="right-full controls">
<p>
<p class="buttons-row">
{{=searchbox('search')}}
<a class="button special" href="#" onclick="jQuery('h3').click();return false"><span>{{=T("collapse/expand all")}}</span></a>
<a class="button special btn btn-inverse" href="#" onclick="jQuery('h3>span').click();return false"><span>{{=T("collapse/expand all")}}</span></a>
<span class="buttongroup">
{{=button('#models', T("models"))}}
{{=button('#controllers', T("controllers"))}}
@@ -63,43 +86,50 @@ def deletefile(arglist, vars={}):
{{=button('#private', T("private files"))}}
{{=button('#plugins', T("plugins"))}}
</span>
</p>
</p>
</div>
<!-- MODELS -->
<h3 id="models" onclick="collapse('models_inner');" class="component">
{{=T("Models")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("The data representation, define database tables and sets")}}</span></span>
<h3 id="_models" rel="pagebookmark">
<span class="component" onclick="collapse('models_inner');">{{=T("Models")}}</span>
<a href="#models" rel="tooltip" data-placement="right" data-original-title="{{=T('The data representation, define database tables and sets')}}">
{{=helpicon()}}
<span>{{=T("The data representation, define database tables and sets")}}</span>
</a><span id="models" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="models_inner" class="component_contents">
{{if not models:}}<p><strong>{{=T("There are no models")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(URL(a=app,c='appadmin',f='index'), T('database administration'))}}
{{if os.access(os.path.join(request.folder,'..',app,'databases','sql.log'),os.R_OK):}}
{{=button(URL('peek/%s/databases/sql.log'%app), 'sql.log')}}
{{if not models:}}<p><strong>{{=T("There are no models")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(URL(a=app,c='appadmin',f='index'), T('database administration'))}}
{{if os.access(os.path.join(request.folder,'..',app,'databases','sql.log'),os.R_OK):}}
{{=button(URL('peek/%s/databases/sql.log'%app), 'sql.log')}}
{{pass}}
{{=button(URL(a=app, c='appadmin',f='graph_model'), T('graph model'))}}
</div>
<ul class="unstyled act_edit">
{{for m in models:}}
{{id="models__"+m.replace('.','__')}}
<li id="{{='_'+id}}" rel="pagebookmark"><span id="{{=id}}" class="hashstick">&nbsp;</span>
<span class="filetools controls">
{{=editfile('models',m, dict(id=id))}}
{{=deletefile([app, 'models', m], dict(id=id, id2='models'))}}
</span>
<span class="file">
{{=peekfile('models',m, dict(id=id))}}
</span>
<span class="extras">
{{if len(defines[m]):}}{{=T("defines tables")}} {{pass}}{{=XML(', '.join([B(table).xml() for table in defines[m]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</div>
{{pass}}
<ul>
{{for m in models:}}
{{id="models__"+m.replace('.','__')}}
<li id="{{=id}}">
<span class="filetools controls">
{{=editfile('models',m, dict(id=id))}}
{{=deletefile([app, 'models', m], dict(id=id, id2='models'))}}
</span>
<span class="file">
{{=peekfile('models',m, dict(id=id))}}
</span>
<span class="extras">
{{if len(defines[m]):}}{{=T("defines tables")}} {{pass}}{{=XML(', '.join([B(table).xml() for table in defines[m]]))}}
</span>
</li>
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/models/' % app, 'models')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form1').slideToggle()" class="btn btn-mini">Create</button>
<div id="form1" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/models/' % app, 'models')}}</div>
</div>
</div>
</div>
<!-- FIND CONTROLLER FUNCTIONS -->
@@ -109,289 +139,333 @@ for c in controllers: controller_functions+=[c[:-3]+'/%s.html'%x for x in functi
}}
<!-- CONTROLLERS -->
<h3 id="controllers" onclick="collapse('controllers_inner');" class="component">
{{=T("Controllers")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("The application logic, each URL path is mapped in one exposed function in the controller")}}</span></span>
<h3 id="_controllers" rel="pagebookmark">
<span class="component" onclick="collapse('controllers_inner');">{{=T("Controllers")}}</span>
<a href="#controllers" rel="tooltip" data-placement="right" data-original-title="{{=T('The application logic, each URL path is mapped in one exposed function in the controller')}}">
{{=helpicon()}}
<span>{{=T("The application logic, each URL path is mapped in one exposed function in the controller")}}</span>
</a><span id="controllers" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="controllers_inner" class="component_contents">
{{if not controllers:}}<p><strong>{{=T("There are no controllers")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(URL(r=request,c='shell',f='index',args=app), T("shell"))}}
{{=button(URL('test',args=app), T("test"))}}
{{=button(URL('edit',args=[app,'cron','crontab']), T("crontab"))}}
</div>
{{pass}}
<ul>
{{for c in controllers:}}
{{id="controllers__"+c.replace('.','__')}}
<li id="{{=id}}">
<span class="filetools controls">
{{=editfile('controllers',c, dict(id=id))}}
{{=deletefile([app, 'controllers', c], dict(id=id, id2='controllers'))}}
{{=testfile('controllers',c)}}
</span>
<span class="file">
{{=peekfile('controllers',c, dict(id=id))}}
</span>
<span class="extras">
{{if functions[c]:}}{{=T("exposes")}} {{pass}}{{=XML(', '.join([A(f,_href=URL(a=app,c=c[:-3],f=f)).xml() for f in functions[c]]))}}
</span>
</li>
{{if not controllers:}}<p><strong>{{=T("There are no controllers")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(URL(r=request,c='shell',f='index',args=app), T("shell"))}}
{{=button(URL('test',args=app), T("test"))}}
{{=button(URL('edit',args=[app,'cron','crontab']), T("crontab"))}}
</div>
<ul class="unstyled act_edit">
{{for c in controllers:}}
{{id="controllers__"+c.replace('.','__')}}
<li id="{{='_'+id}}" rel="pagebookmark"><span id="{{=id}}" class="hashstick">&nbsp;</span>
<span class="filetools controls">
{{=editfile('controllers',c, dict(id=id))}}
{{=deletefile([app, 'controllers', c], dict(id=id, id2='controllers'))}}
{{=testfile('controllers',c)}}
</span>
<span class="file">
{{=peekfile('controllers',c, dict(id=id))}}
</span>
<span class="extras celled">
{{if functions[c]:}}{{=T("exposes")}}{{pass}} {{=XML(', '.join([A(f,_href=URL(a=app,c=c[:-3],f=f)).xml() for f in functions[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/controllers/' % app, 'controllers')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form2').slideToggle()" class="btn btn-mini">Create</button>
<div id="form2" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/controllers/' % app, 'controllers')}}</div>
</div>
</div>
</div>
<!-- VIEWS -->
<h3 id="views" onclick="collapse('views_inner');" class="component">
{{=T("Views")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("The presentations layer, views are also known as templates")}}</span></span>
<h3 id="_views" rel="pagebookmark">
<span class="component" onclick="collapse('views_inner');">{{=T("Views")}}</span>
<a href="#views" rel="tooltip" data-placement="right" data-original-title="{{=T('The presentations layer, views are also known as templates')}}">
{{=helpicon()}}
<span>{{=T("The presentations layer, views are also known as templates")}}</span>
</a><span id="views" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="views_inner" class="component_contents">
<div class="controls comptools">
{{=button(LAYOUTS_APP, T("download layouts"))}}
</div>
{{if not views:}}<p><strong>{{=T("There are no views")}}</strong></p>{{pass}}
<ul>
{{for c in views:}}
{{id="views__"+c.replace('/','__').replace('.','__')}}
<li id="{{=id}}">
<span class="filetools controls">
{{=editfile('views',c, dict(id=id))}}
{{=deletefile([app, 'views', c], dict(id=id, id2='views'))}}
</span>
<span class="file">
{{=peekfile('views',c, dict(id=id))}}
</span>
<span class="extras">
{{if extend.has_key(c):}}{{=T("extends")}} <b>{{=extend[c]}}</b> {{pass}}
{{if include[c]:}}{{=T("includes")}} {{pass}}{{=XML(', '.join([B(f).xml() for f in include[c]]))}}
</span>
</li>
{{if not views:}}<p><strong>{{=T("There are no views")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(LAYOUTS_APP, T("download layouts"))}}
</div>
<ul class="unstyled act_edit">
{{for c in views:}}
{{id="views__"+c.replace('/','__').replace('.','__')}}
<li id="{{='_'+id}}" rel="pagebookmark"><span id="{{=id}}" class="hashstick">&nbsp;</span>
<span class="filetools controls">
{{=editfile('views',c, dict(id=id))}}
{{=deletefile([app, 'views', c], dict(id=id, id2='views'))}}
</span>
<span class="file">
{{=peekfile('views',c, dict(id=id))}}
</span>
<span class="extras celled celled-one">
{{if extend.has_key(c):}}{{=T("extends")}} <b>{{=extend[c]}}</b> {{pass}}
{{if include[c]:}}{{=T("includes")}} {{pass}}{{=XML(', '.join([B(f).xml() for f in include[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/views/' % app, 'views')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form3').slideToggle()" class="btn btn-mini">Create</button>
<div id="form3" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/views/' % app, 'views')}}</div>
</div>
</div>
</div>
<!-- LANGUAGES -->
<h3 id="languages" onclick="collapse('languages_inner');" class="component">
{{=T("Languages")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("Translation strings for the application")}}</span></span>
<h3 id="_languages" rel="pagebookmark">
<span class="component" onclick="collapse('languages_inner');">{{=T("Languages")}}</span>
<a href="#languages" rel="tooltip" data-placement="right" data-original-title="{{=T('Translation strings for the application')}}">
{{=helpicon()}}
<span>{{=T("Translation strings for the application")}}</span>
</a><span id="languages" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="languages_inner" class="component_contents">
<div class="controls comptools">
{{=button(URL('update_languages/'+app), T('update all languages'))}}
</div>
{{if not languages:}}<p><strong>{{=T("There are no translators, only default language is supported")}}</strong></p>{{pass}}
<table>
{{for lang in sorted(languages):
file = lang+'.py'
id = "languages__"+file.replace('.','__')}}
<tr id="{{=id}}">
<td>
<span class="filetools controls">
{{=editlanguagefile('languages',file)}}
{{=deletefile([app, 'languages', file], dict(id=id, id2='languages'))}}
</span>
<span class="file">
{{=peekfile('languages',file, dict(id=id))}}
</span>
</td>
<td>
&nbsp;
(
{{=T("Plural-Forms:")}}
{{p=languages[lang][3:7]}}
{{if p[2] == 'default':}}
<span class='error'>{{=T("rules are not defined")}}</span> {{=T.M("(file **gluon/contrib/plural_rules/%s.py** is not found)",lang[:2])}}
{{else:}}
{{if p[3] == 1:}}
{{=B(T("are not used"))}}
{{else:}}
{{pfile=p[0]}}
{{if p[1]!=0:}}
<span class="filetools controls">
{{=editpluralsfile('languages',pfile,dict(nplurals=p[3]))}}
</span>
<span class="file">
{{=peekfile('languages',pfile,dict(id=id))}}
</span>
{{else:}}
<b>{{=T("are not used yet")}}</b>
{{if not languages:}}<p><strong>{{=T("There are no translators, only default language is supported")}}</strong></p>{{else:}}
<div class="controls comptools">
{{=button(URL('update_languages/'+app), T('update all languages'))}}
</div>
<ul class="unstyled act_edit">
{{for lang in sorted(languages):
file = lang+'.py'
id = "languages__"+file.replace('.','__')}}
<li id="{{='_'+id}}" rel="pagebookmark" class="li-row"><span id="{{=id}}" class="hashstick">&nbsp;</span>
<span class="li-controls">
<span class="filetools controls">
{{=editlanguagefile('languages',file)}}
{{=deletefile([app, 'languages', file], dict(id=id, id2='languages'))}}
</span>
<span class="">
{{=peekfile('languages',file, dict(id=id))}}
</span>
</span> <!-- /li-row -->
<span class="extras celled">
(
{{=T("Plural-Forms:")}}
{{p=languages[lang][3:7]}}
{{if p[2] == 'default':}}
<span class='error text-error'>{{=T("rules are not defined")}}</span> {{=T.M("(file **gluon/contrib/plural_rules/%s.py** is not found)",lang[:2])}}
{{else:}}
{{if p[3] == 1:}}
{{=B(T("are not used"))}}
{{else:}}
{{pfile=p[0]}}
{{if p[1]!=0:}}<span style="display:inline-block;margin-top:-10px;">
<span class="filetools controls">
{{=editpluralsfile('languages',pfile,dict(nplurals=p[3]))}}
</span>
<span class="file">
{{=peekfile('languages',pfile,dict(id=id))}}
</span></span>
{{else:}}
<b>{{=T("are not used yet")}}</b>
{{pass}}
{{pass}}
{{pass}}
)
</span>
</li>
{{pass}}
{{pass}}
</ul>
{{pass}}
)
</td>
</tr>
{{pass}}
</table>
{{pass}}
<div class="controls formfield">{{=file_create_form('%s/languages/' % app, 'languages')}}{{=T('(something like "it-it")')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form4').slideToggle()" class="btn btn-mini">Create</button>
<div id="form4" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/languages/' % app, 'languages', T('(something like "it-it")'))}}</div>
</div>
</div>
</div>
<!-- STATIC -->
<h3 id="static" onclick="collapse('static_inner');" class="component">
{{=T("Static files")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("These files are served without processing, your images go here")}}</span></span>
<h3 id="_static" rel="pagebookmark">
<span class="component" onclick="collapse('static_inner');">{{=T("Static")}}</span>
<a href="#static" rel="tooltip" data-placement="right" data-original-title="{{=T('These files are served without processing, your images go here')}}">
{{=helpicon()}}
<span>{{=T("These files are served without processing, your images go here")}}</span>
</a><span id="static" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="static_inner" class="component_contents">
<div class="controls comptools">
</div>
{{if not statics:}}<p><strong>{{=T("There are no static files")}}</strong></p>{{pass}}
<ul>
{{if not statics:}}<p><strong>{{=T("There are no static files")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{
path=[]
for file in statics+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='static__'+'__'.join(path)
path=[]
for file in statics+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='static__'+'__'.join(path)
}}
<li class="folder">
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">{{
else:
path = path[:-1]
}}
</ul></li>
<li class="folder"><i>&nbsp;</i>
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">{{
else:
path = path[:-1]
}}
</ul></li>
{{
pass
pass
if filename:
}}<li>
<span class="filetools controls">
{{=editfile('static',file, dict(id="static"))}} {{=deletefile([app,'static',file], dict(id="static",id2="static"))}}
</span>
<span class="file">
<a href="{{=URL(a=app,c='static',f=file)}}">{{=filename}}</a>
</span>
</li>{{
pass
pass
pass
pass
if filename:
}}
<li>
<span class="filetools controls">
{{=editfile('static',file, dict(id="static"))}} {{=deletefile([app,'static',file], dict(id="static",id2="static"))}}
</span>
<span class="file">
<a href="{{=URL(a=app,c='static',f=file)}}">{{=filename}}</a>
</span>
</li>{{
pass
pass
}}
</ul>
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/static/' % app, 'static')}}
{{=file_upload_form('%s/static/' % app, 'static')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form5').slideToggle()" class="btn btn-mini">Create/Upload</button>
<div id="form5" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/static/' % app, 'static')}}<em>{{=T('or alternatively')}}</em></div>
<div class="span3">{{=file_upload_form('%s/static/' % app, 'static')}}</div>
</div>
</div>
</div>
<!-- MODULES -->
<h3 id="modules" onclick="collapse('modules_inner');" class="component">
{{=T("Modules")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("Additional code for your application")}}</span></span>
<h3 id="_modules" rel="pagebookmark">
<span class="component" onclick="collapse('modules_inner');">{{=T("Modules")}}</span>
<a href="#modules" rel="tooltip" data-placement="right" data-original-title="{{=T('Additional code for your application')}}">
{{=helpicon()}}
<span>{{=T("Additional code for your application")}}</span>
</a><span id="modules" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="modules_inner" class="component_contents">
<div class="controls comptools">
</div>
{{if not modules:}}<p><strong>{{=T("There are no modules")}}</strong></p>{{pass}}
<ul>
{{for m in modules:}}
{{id="modules__"+m.replace('/','__').replace('.','__')}}
<li id="{{=id}}">
<span class="filetols controls">
{{=editfile('modules',m,dict(id=id))}}
{{if m!='__init__.py':}}
{{=deletefile([app, 'modules', m], dict(id=id, id2='modules'))}}
{{pass}}
</span>
<span class="file">
{{=peekfile('modules',m, dict(id=id))}}
</span>
</li>
{{if not modules:}}<p><strong>{{=T("There are no modules")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{for m in modules:}}
{{id="modules__"+m.replace('/','__').replace('.','__')}}
<li id="{{='_'+id}}" rel="pagebookmark"><span id="{{=id}}" class="hashstick">&nbsp;</span>
<span class="filetols controls">
{{=editfile('modules',m,dict(id=id))}}
{{if m!='__init__.py':}}
{{=deletefile([app, 'modules', m], dict(id=id, id2='modules'))}}
{{pass}}
</span>
<span class="file">
{{=peekfile('modules',m, dict(id=id))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/modules/' % app, 'modules')}}
{{=file_upload_form('%s/modules/' % app, 'modules')}}</div>
<div class="controls formfield">
<button onclick="jQuery('#form6').slideToggle()" class="btn btn-mini">Create/Upload</button>
<div id="form6" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/modules/' % app, 'modules')}}<em>{{=T('or alternatively')}}</em></div>
<div class="span3">{{=file_upload_form('%s/modules/' % app, 'modules')}}</div>
</div>
</div>
</div>
<!-- PRIVATE -->
<h3 id="private" onclick="collapse('private_inner');" class="component">
{{=T("Private files")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("These files are not served, they are only available from within your app")}}</span></span>
<h3 id="_private" rel="pagebookmark">
<span class="component" onclick="collapse('private_inner');">{{=T("Private files")}}</span>
<a href="#private" rel="tooltip" data-placement="right" data-original-title="{{=T('These files are not served, they are only available from within your app')}}">
{{=helpicon()}}
<span>{{=T("These files are not served, they are only available from within your app")}}</span>
</a><span id="private" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="private_inner" class="component_contents">
<div class="controls comptools">
</div>
{{if not privates:}}<p><strong>{{=T("There are no private files")}}</strong></p>{{pass}}
<ul>
{{
path=[]
for file in privates+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='private__'+'__'.join(path)
}}
<li class="folder">
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">{{
else:
path = path[:-1]
}}
</ul></li>
{{
pass
pass
if filename:
}}<li>
<span class="filetools controls">
{{=editfile('private',file, dict(id="private"))}} {{=deletefile([app,'private',file], dict(id="private",id2="private"))}}
</span>
<span class="file">
{{=peekfile('private',file, dict(id="private"))}}
</span>
</li>{{
pass
pass
}}
{{if not privates:}}<p><strong>{{=T("There are no private files")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{
path=[]
for file in privates+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='private__'+'__'.join(path)
}}
<li class="folder">
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">{{
else:
path = path[:-1]
}}
</ul>
</li>
{{
pass
pass
if filename:
}}
<li>
<span class="filetools controls">
{{=editfile('private',file, dict(id="private"))}} {{=deletefile([app,'private',file], dict(id="private",id2="private"))}}
</span>
<span class="file">
{{=peekfile('private',file, dict(id="private"))}}
</span>
</li>{{
pass
pass
}}
{{pass}}
</ul>
<div class="controls formfield">{{=file_create_form('%s/private/' % app, 'private')}}
{{=file_upload_form('%s/private/' % app, 'private')}}</div>
</ul>
<div class="controls formfield">
<button onclick="jQuery('#form7').slideToggle()" class="btn btn-mini">Create/Upload</button>
<div id="form7" class="row-fluid" style="display:none">
<div class="span3">{{=file_create_form('%s/private/' % app, 'private')}}<em>{{=T('or alternatively')}}</em></div>
<div class="span3">{{=file_upload_form('%s/private/' % app, 'private')}}</div>
</div>
</div>
</div>
<!-- PLUGINS -->
<h3 id="plugins" onclick="collapse('plugins_inner');" class="component">
{{=T("Plugins")}}
<span class="tooltip">{{=helpicon()}} <span>{{=T("To create a plugin, name a file/folder plugin_[name]")}}</span></span>
<h3 id="_plugins" rel="pagebookmark">
<span class="component" onclick="collapse('plugins_inner');">{{=T("Plugins")}}</span>
<a href="#plugins" rel="tooltip" data-placement="right" data-original-title="{{=T('To create a plugin, name a file/folder plugin_[name]')}}">
{{=helpicon()}}
<span>{{=T("To create a plugin, name a file/folder plugin_[name]")}}</span>
</a><span id="plugins" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="plugins_inner" class="component_contents">
<div class="controls comptools">
{{=button(PLUGINS_APP, T('download plugins'))}}
</div>
<div class="controls">
</div>
{{if plugins:}}
<ul>
{{for plugin in plugins:}}
{{id="plugins__"+plugin.replace('/','__').replace('.','__')}}
<li id="{{=id}}">
{{=A('plugin_%s' % plugin, _class='file', _href=URL('plugin', args=[app, plugin], vars=dict(id=id, id2='plugins')))}}
</li>
{{pass}}
</ul>
{{else:}}
<p><strong>{{=T('There are no plugins')}}</strong></p>
{{pass}}
<div class="controls formfield">{{=upload_plugin_form(app, 'plugins')}}</div>
<div class="controls comptools">
{{=button(PLUGINS_APP, T('download plugins'))}}
</div>
{{if plugins:}}
<ul class="unstyled act_edit">
{{for plugin in plugins:}}
{{id="plugins__"+plugin.replace('/','__').replace('.','__')}}
<li id="{{=id}}">
{{=A('plugin_%s' % plugin, _class='file', _href=URL('plugin', args=[app, plugin], vars=dict(id=id, id2='plugins')))}}
</li>
{{pass}}
</ul>
{{else:}}
<p><strong>{{=T('There are no plugins')}}</strong></p>
{{pass}}
<div class="controls formfield">
<button onclick="jQuery('#form8').slideToggle()" class="btn btn-mini">Upload</button>
<div id="form8" class="row-fluid" style="display:none">
<div class="row-fluid">
<div class="span3">{{=upload_plugin_form(app, 'plugins')}}</div>
</div>
</div>
</div>
<script>
function filter_files() {
if(jQuery('#search').val()){
@@ -400,7 +474,7 @@ function filter_files() {
files=data['files'];
message=data['message'];
for(var i=0; i<files.length; i++)
jQuery('li#'+files[i].replace(/\//g,'__').replace('.','__')).slideDown();
jQuery('li#_'+files[i].replace(/\//g,'__').replace('.','__')).slideDown();
jQuery('.flash').html(message).slideDown();
});
} else {
@@ -416,4 +490,4 @@ jQuery(document).ready(function(){
jQuery('#search_start').click(function(e){ filter_files(); });
});
</script>
<!-- end "design" block -->

View File

@@ -1,8 +1,8 @@
{{extend 'layout.html'}}
<!-- begin "edit" block -->
{{
def shortcut(combo, description):
return XML('<li><tt>%s</tt> %s</li>' % (combo, description))
return XML('<li><span class="teletype-text">%s</span><span>%s</span></li>' % (combo, description))
}}
{{if TEXT_EDITOR == 'amy':}}
{{include 'default/amy_ajax.html'}}
@@ -25,6 +25,13 @@
<link rel="stylesheet" href="{{=cm}}/lib/util/dialog.css">
<script src="{{=cm}}/emmet.min.js"></script>
<script language="Javascript" type="text/javascript" src="{{=URL('static','js/ajax_editor.js')}}"></script>
<script language="Javascript" type="text/javascript">
jQuery(document).ready(function(){
doListBreakpoints({{=XML("'%s','%s://%s%s'" % (filename,
request.env['wsgi_url_scheme'], request.env['http_host'],
URL(c='debug', f='list_breakpoints')))}});
});
</script>
{{elif TEXT_EDITOR == 'ace':}}
<script src="{{=URL(r=request,c='static',f='ace/src/ace.js')}}" type="text/javascript" charset="utf-8"></script>
<script src="{{=URL(r=request,c='static',f='ace/src/theme-%s.js' % TEXT_EDITOR_THEME)}}" type="text/javascript" charset="utf-8"></script>
@@ -88,7 +95,7 @@ jQuery(document).ready(function(){
<h2>{{=T('Editing file "%s"',filename)}}</h2>
{{if functions:}}
<p class="formfield">
<p class="formfield well well-small">
<span style="text-align:left;" id="exposed">
{{=B(T('exposes:'))}} {{=XML(', '.join([A(f,_href=URL(a=app,c=controller,f=f)).xml() for f in functions]))}}
</span>
@@ -98,15 +105,15 @@ jQuery(document).ready(function(){
{{pass}}
</p>
{{pass}}
<p class="right controls">
<div class='row-fluid'>
<p class="right controls pull-right">
{{if filetype=='python':}}
{{=A(SPAN(T('toggle breakpoint')),
_value="breakpoint", _name="breakpoint",
_onclick="return doToggleBreakpoint('%s','%s://%s%s');" % (filename,
_onclick="return doToggleBreakpoint('%s','%s://%s%s',null);" % (filename,
request.env['wsgi_url_scheme'], request.env['http_host'],
URL(c='debug', f='toggle_breakpoint')),
_class="button special")}}
_class="button special btn btn-inverse")}}
{{pass}}
{{=button(URL('design',args=request.vars.app if request.vars.app else request.args[0], anchor=request.vars.id), T('back'))}}
{{if edit_controller:}}
@@ -116,20 +123,31 @@ jQuery(document).ready(function(){
{{=button(view_link, T('try view'))}}
{{pass}}
{{if request.args[1]=='models':}}
<a class="button" href="http://www.web2py.com/sqldesigner" target="_blank"><span>{{=T('online designer')}}</span></a>
<a class="button btn" href="http://www.web2py.com/sqldesigner" target="_blank"><span>{{=T('online designer')}}</span></a>
{{pass}}
<a class="button" href="http://www.web2py.com/examples/static/epydoc/index.html" target="_blank"><span>{{=T('docs')}}</span></a>
<a class="button btn" href="http://www.web2py.com/examples/static/epydoc/index.html" target="_blank"><span>{{=T('docs')}}</span></a>
</p>
</div>
<div id="editor_area">
<form action="{{=URL('edit',args=filename)}}" method="post" name="editform" id="editform">
<a value="save" name="save" onclick="return doClickSave();" class="icon saveicon">
{{=IMG(_src=URL('static', 'images/save_icon.png'), _alt=T('Save'))}}
</a>
{{=T('Saved file hash:')}}
<input type="input" name="file_hash" value="{{=file_hash}}" readonly="readonly"/>
{{=T('Last saved on:')}} <input type="input" name="saved_on" value="{{=saved_on}}" readonly="readonly"/>
<br><hr>
<div class="editor-bar-column">
<label>{{=T('Save file:')}}</label>
<a value="save" name="save" onclick="return doClickSave();" class="icon saveicon" style="background-image: -webkit-linear-gradient(top,white,#E6E6E6);">
{{=IMG(_src=URL('static', 'images/save_icon.png'), _alt=T('Save'))}}
</a>
</div>
<div class="editor-bar-column">
<div class="row-fluid">
<div class="span7">
<label>{{=T('Saved file hash:')}}</label>
<input type="input" name="file_hash" value="{{=file_hash}}" class="input-long uneditable-input" readonly="readonly"/>
</div>
<div class="span5">
<label>{{=T('Last saved on:')}}</label>
<input type="input" name="saved_on" value="{{=saved_on}}" class="input-normal uneditable-input" readonly="readonly"/>
</div>
</div>
</div>
{{if TEXT_EDITOR == 'amy':}}
<textarea style="width: auto; height:400px;direction:ltr;" rows="58" cols="100" -amy-enabled="true" id="body" name="data">{{=data}}</textarea>
<script>window.eamy = eamy;</script>
@@ -191,7 +209,13 @@ jQuery(document).ready(function(){
autofocus: true,
onCursorActivity: function() {
editor.setLineClass(hlLine, null, null);
hlLine = editor.setLineClass(editor.getCursor().line, null, "activeline");}
hlLine = editor.setLineClass(editor.getCursor().line, null, "activeline");},
onGutterClick: function(cm, n) {
sel = {start: n, end: n, data: ''};
doToggleBreakpoint({{=XML("'%s','%s://%s%s',sel" % (filename,
request.env['wsgi_url_scheme'], request.env['http_host'],
URL(c='debug', f='toggle_breakpoint')))}});
}
};
var editor = CodeMirror.fromTextArea(
document.getElementById("body"),cm_opts);
@@ -227,52 +251,59 @@ window.onload = function() {
<textarea cols="80" rows="25" id="body" style="direction:ltr;" name="data">{{=data}}</textarea>
<script>window.textarea = area.textarea;</script>
{{pass}}
<button class="editbutton" onclick="window.location.reload(); return false">{{=T('restore')}}</button> {{=T('currently saved or')}} <button class="editbutton" type="submit" name="revert">{{=T('revert')}}</button>
{{=T('to previous version.')}}
<div class="editor-bar-bottom" style="margin-top:9px;">
<button class="editbutton btn" onclick="window.location.reload(); return false">{{=T('restore')}}</button>
{{=T('currently saved or')}}
<button class="editbutton btn" type="submit" name="revert">{{=T('revert')}}</button>
{{=T('to previous version.')}}
</div>
<br/>
</form>
</div>
<div class="help">
{{if TEXT_EDITOR=='edit_area' and filetype=='html':}}
<h3>{{=T('Key bindings for ZenCoding Plugin')}}</h3>
<ul>
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+,', T('Expand Abbreviation'))}}
{{=shortcut('Ctrl+M', T('Match Pair'))}}
{{=shortcut('Ctrl+H', T('Wrap with Abbreviation'))}}
{{=shortcut('Shift+Ctrl+M', T('Merge Lines'))}}
{{=shortcut('Ctrl+Shift+←', T('Previous Edit Point'))}}
{{=shortcut('Ctrl+Shift+', T('Next Edit Point'))}}
{{=shortcut('Ctrl+Shift+', T('Go to Matching Pair'))}}
</ul>
{{elif TEXT_EDITOR == 'codemirror' and filetype=='html':}}
<h3>{{=T('Key bindings for ZenCoding Plugin')}}</h3>
<ul>
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+F11', T('Toggle Fullscreen'))}}
{{=shortcut('Ctrl-F / Cmd-F', T('Start searching'))}}
{{=shortcut('Ctrl-G / Cmd-G', T('Find Next'))}}
{{=shortcut('Shift-Ctrl-G / Shift-Cmd-G', T('Find Previous'))}}
{{=shortcut('Shift-Ctrl-F / Cmd-Option-F', T('Replace'))}}
{{=shortcut('Shift-Ctrl-R / Shift-Cmd-Option-F', T('Replace All'))}}
{{=shortcut('Tab', T('Expand Abbreviation'))}}
</ul>
{{elif TEXT_EDITOR == 'codemirror':}}
<h3>{{=T("Key bindings")}}</h3>
<ul>
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+F11', T('Toggle Fullscreen'))}}
{{=shortcut('Ctrl-F / Cmd-F', T('Start searching'))}}
{{=shortcut('Ctrl-G / Cmd-G', T('Find Next'))}}
{{=shortcut('Shift-Ctrl-G / Shift-Cmd-G', T('Find Previous'))}}
{{=shortcut('Shift-Ctrl-F / Cmd-Option-F', T('Replace'))}}
{{=shortcut('Shift-Ctrl-R / Shift-Cmd-Option-F', T('Replace All'))}}
</ul>
{{else:}}
<h3>{{=T("Key bindings")}}</h3>
<ul>
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
</ul>
{{pass}}
<div class="row-fluid">
<div class="help span4 alert alert-block alert-info">
{{if TEXT_EDITOR=='edit_area' and filetype=='html':}}
<h3>{{=T('Key bindings for ZenCoding Plugin')}}</h3>
<ul class="keybindings unstyled">
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+,', T('Expand Abbreviation'))}}
{{=shortcut('Ctrl+M', T('Match Pair'))}}
{{=shortcut('Ctrl+H', T('Wrap with Abbreviation'))}}
{{=shortcut('Shift+Ctrl+M', T('Merge Lines'))}}
{{=shortcut('Ctrl+Shift+', T('Previous Edit Point'))}}
{{=shortcut('Ctrl+Shift+', T('Next Edit Point'))}}
{{=shortcut('Ctrl+Shift+↑', T('Go to Matching Pair'))}}
</ul>
{{elif TEXT_EDITOR == 'codemirror' and filetype=='html':}}
<h3>{{=T('Key bindings for ZenCoding Plugin')}}</h3>
<ul class="keybindings unstyled">
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+F11', T('Toggle Fullscreen'))}}
{{=shortcut('Ctrl-F / Cmd-F', T('Start searching'))}}
{{=shortcut('Ctrl-G / Cmd-G', T('Find Next'))}}
{{=shortcut('Shift-Ctrl-G / Shift-Cmd-G', T('Find Previous'))}}
{{=shortcut('Shift-Ctrl-F / Cmd-Option-F', T('Replace'))}}
{{=shortcut('Shift-Ctrl-R / Shift-Cmd-Option-F', T('Replace All'))}}
{{=shortcut('Tab', T('Expand Abbreviation'))}}
</ul>
{{elif TEXT_EDITOR == 'codemirror':}}
<h3>{{=T("Key bindings")}}</h3>
<ul class="keybindings unstyled">
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
{{=shortcut('Ctrl+F11', T('Toggle Fullscreen'))}}
{{=shortcut('Ctrl-F / Cmd-F', T('Start searching'))}}
{{=shortcut('Ctrl-G / Cmd-G', T('Find Next'))}}
{{=shortcut('Shift-Ctrl-G / Shift-Cmd-G', T('Find Previous'))}}
{{=shortcut('Shift-Ctrl-F / Cmd-Option-F', T('Replace'))}}
{{=shortcut('Shift-Ctrl-R / Shift-Cmd-Option-F', T('Replace All'))}}
</ul>
{{else:}}
<h3>{{=T("Key bindings")}}</h3>
<ul class="keybindings unstyled">
{{=shortcut('Ctrl+S', T('Save via Ajax'))}}
</ul>
{{pass}}
</div>
</div>
<!-- end "edit" block -->

View File

@@ -7,18 +7,20 @@ function delkey(id) {
return false;
}
function hideShowTranslated(){
jQuery(".translated").closest("p").toggle();
jQuery(".translated").closest("div.row-fluid").toggle();
}
</script>
{{block sectionclass}}edit_language{{end}}
<!-- begin "edit_language" block -->
<h2>{{=T('Editing Language file')}} "{{=filename}}"</h2>
<a class="button" href="#" onclick="hideShowTranslated(this);">
<div class="controls">
<a class="button btn" href="#" onclick="hideShowTranslated(this);">
<span>{{=T('Hide/Show Translated strings')}}</span>
</a>
</div>
<div class="languageform">
{{=form}}
</div>
<button class="btn" style="position:fixed; right:10px; bottom: 10px;" onclick="jQuery('form input[type=submit]').click()">Save Changes</button>
<!-- end "edit_language" block -->

View File

@@ -6,11 +6,10 @@ function delkey(id) {
return false;
}
</script>
{{block sectionclass}}edit_language{{end}}
<!-- begin "edit_language(plurals)" block -->
<h2>{{=T("Editing Plural Forms File")}} "{{=filename}}"</h2>
<div class="pluralsform">
{{=form}}
</div>
<!-- end "edit_language(plurals)" block -->

View File

@@ -1,142 +1,124 @@
{{extend 'layout.html'}}
{{import os, stat, time}}
{{block sectionclass}}errors{{end}}
<style>
table.sortable {
border-spacing:0px;
}
table.sortable td, table.sortable th {
padding: 2px 5px 2px 5px;
}
table.sortable thead {
background-color:#eee;
color:#666666;
font-weight: bold;
cursor: default;
}
tr.error_ticket:hover {
background-color: #eee;
}
.controls a.button.unavailable {
color: #ff0000;
}
</style>
<script language="JavaScript">
function check(){
for (var i = 0; i < document.myform.elements.length; i++) {
var e = document.myform.elements[i];
if (e.type == 'checkbox') e.checked = true;
}
}
function uncheck(){
for (var i = 0; i < document.myform.elements.length; i++) {
var e = document.myform.elements[i];
if (e.type == 'checkbox') e.checked = false;
}
}
jQuery(document).ready(function() { jQuery('.traceback').hide(); });
</script>
<!-- begin "errors" block -->
{{if db_ready['status'] == False:
switchbutton = A(SPAN("switch to : db"), _href=db_ready['errlink'], _class="button unavailable", _title="%s" % (db_ready['errmessage']))
switchbutton = A(SPAN("switch to : db"), _href=db_ready['errlink'], _class="button unavailable btn btn-danger", _title="%s" % (db_ready['errmessage']))
else:
switchbutton = A(SPAN("switch to : db"), _href=URL(args=[app, 'dbnew']), _class="button")
switchbutton = A(SPAN("switch to : db"), _href=URL(args=[app, 'dbnew']), _class="button btn")
pass}}
<h2>{{=T('Error logs for "%(app)s"',dict(app=app))}}</h2>
<div class="errorform">
<form name="myform" method="post">
<input name="CheckAll" value="{{=T('check all')}}"
onclick="check()" type="button">
<input name="CheckAll" value="{{=T('uncheck all')}}"
onclick="uncheck()" type="button">
<input value="{{=T('delete all checked')}}" type="submit"><br><br>
{{ if 'new' in method: }}
{{base_url = 'db' in method and 'ticketdb' or 'ticket' }}
<h3>{{=T('Click row to expand traceback')}}</h3>
<p class="controls">
{{if 'db' in method:}}
source : db
<a class="button" href="{{=URL(args=[app, 'new'])}}"><span>switch to : filesystem</span></a>
<a class="button" href="{{=URL(args=[app, 'dbold'])}}"><span>lists by ticket</span></a>
{{else:}}
source : filesystem
{{=switchbutton}}
<a class="button" href="{{=URL(args=[app, 'old'])}}"><span>lists by ticket</span></a>
{{pass}}
</p>
<table id="trck_errors" class="sortable">
<thead>
<tr>
<th>{{=T("Delete")}}</th>
<th>{{=T("Count")}}</th>
<th>{{=T("File")}}</th>
<th>{{=T("Error")}}</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
{{for e in errors:}}
<tr class="error_ticket">
<td><input type="checkbox" name="delete_{{=e['hash']}}" /></td>
<td>{{=e['count']}}</td>
<td>{{=e['causer']}}</td>
<td>{{=A(e['last_line'],_href="#",_onclick="collapse('%s');"%e['hash'])}}</td>
<td>+</td>
<td>{{=A(T('details'),_href=URL(base_url,args=[app,e['ticket']]))}}</td>
</tr>
<tr id="{{=e['hash']}}" class="traceback">
<td colspan="6">
<div>
{{=CODE(e['pickel']['traceback'])}}
</div>
</td>
</tr>
{{pass}}
</tbody>
</table>
{{ else: }}
<h3>{{=T('Click row to view a ticket')}}</h3>
<p class="controls">
{{if 'db' in method:}}
source : db
<a class="button" href="{{=URL(args=[app, 'old'])}}"><span>switch to : filesystem</span></a>
<a class="button" href="{{=URL(args=[app, 'dbnew'])}}"><span>lists by exception</span></a>
{{else:}}
source : filesystem
{{=switchbutton}}
<a class="button" href="{{=URL(args=[app, 'new'])}}"><span>lists by exception</span></a>
{{pass}}
</p>
<table class="sortable">
<thead>
<tr>
<th>{{=T("Delete")}}</th>
<th>{{=T("Ticket")}}</th>
<th>{{=T("Date and Time")}}</th>
</tr>
</thead>
<tbody>
{{for ticket in tickets:}}
<tr>
<td><input type="checkbox" name="delete_{{=ticket}}"/></td>
{{if 'db' in method:}}
<td><a href="{{=URL('ticketdb',args=[app,ticket])}}">{{=ticket}}</a></td>
<td>{{=time.strftime('%Y-%m-%d %H:%M:%S',times[ticket].timetuple())}}</td>
{{else:}}
<td><a href="{{=URL('ticket',args=[app,ticket])}}">{{=ticket}}</a></td>
<td>{{=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(os.stat(os.path.join(request.folder,'../%s/errors/%s' % (app,ticket)))[stat.ST_CTIME]))}}</td>
{{pass}}
</tr>
{{pass}}
</tbody>
</table>
{{ pass }}
</form>
<form name="myform" method="post">
{{ if 'new' in method: }}
{{base_url = 'db' in method and 'ticketdb' or 'ticket' }}
<p class="controls row-fluid">
<div class="controls controls-row">
{{if 'db' in method:}}
<span class="uneditable-input">source : db</span>
<a class="button btn" href="{{=URL(args=[app, 'new'])}}"><span>switch to : filesystem</span></a>
<a class="button btn" href="{{=URL(args=[app, 'dbold'])}}"><span>lists by ticket</span></a>
{{else:}}
<span class="uneditable-input">source : filesystem</span>
{{=switchbutton}}
<a class="button btn" href="{{=URL(args=[app, 'old'])}}"><span>lists by ticket</span></a>
{{pass}}
</div>
</p>
<div class="tablebar">
<input value="{{=T('delete all checked')}}" type="submit" class="btn"/>
<span class="help label label-info">{{=T('Click row to expand traceback')}}</span>
</div>
<div class="row-fluid">
<div class="span6">
<table id="trck_errors" class="sortable table table-hover table-condensed">
<thead>
<tr>
<th class="column1 cbcentered"><input type="checkbox" name="delete_all}" /></th>
<th class="column2">{{=T("Count")}}</th>
<th class="column3">{{=T("File")}}</th>
<th>{{=T("Error")}}</th>
<th class="columnN"></th>
</tr>
</thead>
<tbody>
{{for e in errors:}}
<tr class="error_ticket">
<td class="cbcentered"><input type="checkbox" name="delete_{{=e['hash']}}" /></td>
<td>{{=e['count']}}</td>
<td>{{=e['causer']}}</td>
<td>{{=A(e['last_line'],_href="#",_onclick="collapse('%s');return false;"%e['hash'])}}</td>
<td>+&nbsp;{{=A(T('details'),_href=URL(base_url,args=[app,e['ticket']]))}}</td>
</tr>
<tr id="{{=e['hash']}}" class="traceback">
<td colspan="5">
<div class="ticket_code">
{{=CODE(e['pickel']['traceback'])}}
</div>
</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
{{ else: }}
<p class="controls row-fluid">
<div class="controls controls-row">
{{if 'db' in method:}}
<span class="uneditable-input">source : db</span>
<a class="button btn" href="{{=URL(args=[app, 'old'])}}"><span>switch to : filesystem</span></a>
<a class="button btn" href="{{=URL(args=[app, 'dbnew'])}}"><span>lists by exception</span></a>
{{else:}}
<span class="uneditable-input">source : filesystem</span>
{{=switchbutton}}
<a class="button btn" href="{{=URL(args=[app, 'new'])}}"><span>lists by exception</span></a>
{{pass}}
</div>
</p>
<div class="tablebar">
<input value="{{=T('delete all checked')}}" type="submit" class="btn"/>
<span class="help label label-info">{{=T('Click row to expand traceback')}}</span>
</div>
<div class="row-fluid">
<div class="span6">
<table id="trck_errors" class="sortable table table-hover table-condensed">
<thead>
<tr>
<th class="column1 cbcentered"><input type="checkbox" name="delete_all}" /></th>
<th>{{=T("Ticket")}}</th>
<th class="columnN1">{{=T("Date and Time")}}</th>
</tr>
</thead>
<tbody>
{{for ticket in tickets:}}
<tr>
<td class="cbcentered"><input type="checkbox" name="delete_{{=ticket}}"/></td>
{{if 'db' in method:}}
<td><a href="{{=URL('ticketdb',args=[app,ticket])}}">{{=ticket}}</a></td>
<td>{{=time.strftime('%Y-%m-%d %H:%M:%S',times[ticket].timetuple())}}</td>
{{else:}}
<td><a href="{{=URL('ticket',args=[app,ticket])}}">{{=ticket}}</a></td>
<td>{{=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(os.stat(os.path.join(request.folder,'../%s/errors/%s' % (app,ticket)))[stat.ST_CTIME]))}}</td>
{{pass}}
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
{{ pass }}
</form><!-- /errorform -->
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.traceback').hide();
jQuery("#trck_errors thead tr th:first input[type=checkbox]").click(function() {
var checkedStatus = this.checked;
jQuery("#trck_errors tbody tr td:first-child input[type=checkbox]").each(function() {
this.checked = checkedStatus;
});
});
});
</script>
<!-- end "errors" block -->

View File

@@ -1,5 +1,15 @@
{{extend 'layout.html'}}
{{
dlg = dialog
smt_button = dlg.element(_type="submit")
smt_button['_class'] = 'btn'
smt_button['_style'] = 'margin-right:4px;'
ccl_button = dlg.element(_type="button")
ccl_button['_class'] = 'btn'
}}
<!-- begin "git_pull" block -->
<div class="center">
<h2>{{=T('This will pull changes from the remote repo for application "%s"?', app)}}</h2>
{{=dialog}}
</div>
<!-- end "git_pull" block -->

View File

@@ -1,6 +1,15 @@
{{extend 'layout.html'}}
{{
frm = form
smt_button = frm.element(_type="submit")
smt_button['_class'] = 'btn'
smt_button['_style'] = 'margin-right:4px;'
ccl_button = frm.element(_type="button")
ccl_button['_class'] = 'btn'
}}
<!-- begin "git_push" block -->
<h2>{{=T('This will push changes to the remote repo for application "%s".', app)}}</h2>
<center>
{{=form}}
</center>
<!-- end "git_push" block -->

View File

@@ -1,26 +1,23 @@
{{extend 'layout.html'}}
<script type="text/javascript">
jQuery(function() {
jQuery("#password").focus();
});
</script>
{{block sectionclass}}login{{end}}
<!-- begin "index" block -->
<h2>web2py&trade; {{=T('Web Framework')}}</h2>
<h3>{{=T('Login to the Administrative Interface')}}</h3>
<div class="form row-fluid">
{{if request.is_https or request.is_local:}}
<div class="form">
<form action="{{=URL(r=request)}}" method="post">
<div><input type="hidden" name="send" value="{{=send}}"/></div>
<table>
<tr><td>{{=T('Administrator Password:')}}</td><td><input type="password" name="password" id="password"/></td></tr>
<tr><td></td><td><input type="submit" name="login" value="{{=T('Login')}}"/></td></tr>
</table>
</form>
</div>
<form action="{{=URL(r=request)}}" method="post" class="span4 well">
<label for="password">{{=T('Administrator Password:')}}</label>
<input type="password" name="password" id="password"/>
<input type="hidden" name="send" value="{{=send}}"/>
<div class="controls"><button type="submit" name="login" class="btn">{{=T('Login')}}</button></div>
</form>
{{else:}}
<p class="help">{{=T('ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.')}}</p>
<p class="help span7 alert alert-block alert-warning">{{=T('ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.')}}</p>
{{pass}}
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#password").focus();
});
</script>
<!-- end "index" block -->

View File

@@ -1,5 +1,163 @@
{{extend 'layout.html'}}
{{
#grid['_class'] = 'web2py_grid'
if not request.args:
add_btn = grid.elements('div.web2py_console a.w2p_trap',replace=None)[0]
add_btn['_id'] = 'w2p_grid_addbtn'
add_btn['_class'] = 'w2p_trap btn'
qry_pnl_rows = grid.elements('div',_class="w2p_query_row hidden")
for qry_pnl_row in qry_pnl_rows:
qry_pnl_btn1 = qry_pnl_row.elements('input',_value="New",replace=None)[0]
qry_pnl_btn2 = qry_pnl_row.elements('input',_value="And",replace=None)[0]
qry_pnl_btn3 = qry_pnl_row.elements('input',_value="Or",replace=None)[0]
qry_pnl_btngrp = qry_pnl_row.elements('input',_value="Close",replace=lambda me:DIV(qry_pnl_btn1,qry_pnl_btn2,qry_pnl_btn3,me,_class="qry_pnl_btns"))
pass
qry_pnl = grid.elements('div#w2p_query_panel',replace=None)
csl_frm = grid.elements('div.web2py_console form')[0]
csl_frm['_class'] = 'form-inline'
csl_frm_search = grid.elements('#web2py_keywords',replace=lambda me:DIV(me,TAG['button'](T('Search'),_class='btn',_type='submit'),TAG['button'](T('Clear'),_class='btn',_type='button',_onclick='jQuery("#web2py_keywords").val("");'),_class="input-append"))
csl_frm_search_btn1 = grid.elements('input',_value="Search",replace=None)
csl_frm_search_btn2 = grid.elements('input',_value="Clear",replace=None)
new_console = grid.elements('div.web2py_console form',replace=lambda frm_csl:DIV(SPAN(add_btn,_class='span1'),SPAN(DIV(frm_csl,qry_pnl[0],_id='w2p_search-form'),_class='span5'),_class='row-fluid'))
w2p_grid_tbl = grid.element('table')
if w2p_grid_tbl:
w2p_grid_tbl['_class'] = 'table table-condensed table-hover table-bordered'
tbl_button_rows = grid.elements('td',_class="row_buttons")
for tbl_button_row in tbl_button_rows:
buttons = tbl_button_row.elements('a.w2p_trap')
for button in buttons:
button['_class'] = 'w2p_trap btn'
pass
pass
export_menu = grid.element('div.w2p_export_menu')
export_menu_links = export_menu.elements('a')
export_menu_items = []
for link in export_menu_links:
item = LI(link)
export_menu_items.append(item)
pass
new_export_menu = DIV(A(T('Exports:'),SPAN(_class='caret'),_href='#',_class='btn dropdown-toggle',**{'_data-toggle':"dropdown"}),UL(*export_menu_items,_class='dropdown-menu'),_class='w2p_export_menu btn-group pull-left')
grid_pagination = grid.element('div.web2py_paginator')
if grid_pagination:
export_menu = grid.element('div.w2p_export_menu',replace=None)
new_grid_pagination = grid.element('div.web2py_paginator',replace=lambda me:DIV(new_export_menu,me,_class='w2p_grid_bottom_bar'))
grid_pagination['_class'] = 'web2py_paginator pagination pagination-right'
grid_page_active = grid.element('li.current')
grid_page_active['_class'] = 'current active'
else:
new_grid_pagination = grid.element('div.w2p_export_menu',replace=DIV(new_export_menu))
pass
records_counter = grid.element('div.web2py_counter')
records_found = int(records_counter[0].partition('records')[0].strip())
paginate = 5 # TODO: get it from the controller
pages = records_found/paginate
tot_pages = pages if records_found%paginate == 0 else pages+1
current_page = int(request.vars.page) if request.vars.page else 1
end_record = paginate*current_page if current_page < tot_pages else records_found
begin_record = 1 if current_page == 1 else (paginate*(current_page-1))+1
rec = "records" if records_found>1 else "record"
record_shown_in_the_page = T("Showing %s to %s of %s %s found")%(begin_record,end_record,records_found,rec)
new_record_counter = grid.element('div.web2py_counter',replace=DIV(record_shown_in_the_page,_class="web2py_counter span6 pull-right"))
pass
elif request.args(0)=='new':
bck_btn = grid.element('div.web2py_grid span.leftarrow').parent
bck_btn['_id'] = 'w2p_grid_bckbtn'
bck_btn['_class'] = 'w2p_trap btn'
frm = grid.element('div.web2py_grid form')
frm['_class'] = 'web2py_form span4 well well-small'
checkbox_lbl = frm.element('label',_for='auth_user_is_manager')
checkbox_inp = frm.element(_name='is_manager',replace=CAT())
checkbox_lbl[0] = checkbox_inp
checkbox_lbl[1] = 'Is Manager'
checkbox_lbl['_class'] = "checkbox"
inp_smt = frm.element('input',_type='submit',replace=TAG['button'](T('Submit'),_type='submit',_class='btn'))
new_form_flds = []
frm_trs = frm.elements('tr')
for tr in frm_trs:
label = tr[0][0]
input = tr[1][0]
help = tr[2][0]
new_form_flds.append(label)
new_form_flds.append(input)
new_form_flds.append(help)
pass
new_frm_content = frm.element('table',replace=CAT(*new_form_flds))
new_frm = grid.element('div.web2py_grid form',replace=lambda me:DIV(me,_class='row-fluid'))
elif request.args(0)=='view':
bck_btn = grid.element('div.web2py_grid span.leftarrow').parent
bck_btn['_id'] = 'w2p_grid_bckbtn'
bck_btn['_class'] = 'w2p_trap btn'
pen_btn = grid.element('div.web2py_grid span.pen').parent
pen_btn['_id'] = 'w2p_grid_penbtn'
pen_btn['_class'] = 'w2p_trap btn'
frm = grid.element('div.web2py_grid form')
frm['_class'] = 'web2py_form span4 well well-small'
checkbox_lbl = frm.element('label',_for='auth_user_is_manager')
checkbox_inp = frm.element(_name='is_manager',replace=CAT())
checkbox_lbl[0] = checkbox_inp
checkbox_lbl[1] = 'Is Manager'
checkbox_lbl['_class'] = "checkbox"
new_form_flds = []
frm_trs = frm.elements('tr')
for tr in frm_trs:
label = tr[0][0]
input = tr[1][0]
help = tr[2][0]
new_form_flds.append(label)
if len(input) > 0 :
new_form_flds.append(SPAN(input,_class='uneditable-input'))
pass
new_form_flds.append(help)
pass
new_frm_content = frm.element('table',replace=CAT(*new_form_flds))
new_frm = grid.element('div.web2py_grid form',replace=lambda me:DIV(me,_class='row-fluid'))
elif request.args(0)=='edit':
bck_btn = grid.element('div.web2py_grid span.leftarrow').parent
bck_btn['_id'] = 'w2p_grid_bckbtn'
bck_btn['_class'] = 'w2p_trap btn'
viw_btn = grid.element('div.web2py_grid span.magnifier').parent
viw_btn['_id'] = 'w2p_grid_viwbtn'
viw_btn['_class'] = 'w2p_trap btn'
frm = grid.element('div.web2py_grid form')
frm['_class'] = 'web2py_form span4 well well-small'
checkbox_lbl = frm.element('label',_for='auth_user_is_manager')
checkbox_inp = frm.element(_name='is_manager',replace=CAT())
checkbox_lbl[0] = checkbox_inp
checkbox_lbl[1] = 'Is Manager'
checkbox_lbl['_class'] = "checkbox"
checkbox1_lbl = frm.element('label',_for='delete_record')
checkbox1_inp = frm.element(_id='delete_record',replace=CAT())
checkbox1_lbl[0] = checkbox1_inp
checkbox1_lbl[1] = T('Check to delete')
checkbox1_lbl['_class'] = "checkbox"
inp_smt = frm.element('input',_type='submit',replace=TAG['button'](T('Submit'),_type='submit',_class='btn'))
id_input = frm.element(_id='auth_user_id')
id_input['_class'] = 'uneditable-input'
new_form_flds = []
frm_trs = frm.elements('tr')
for tr in frm_trs:
label = tr[0][0]
input = tr[1][0]
help = tr[2][0]
new_form_flds.append(label)
print label
new_form_flds.append(input)
new_form_flds.append(help)
pass
new_frm_content = frm.element('table',replace=CAT(*new_form_flds))
new_frm = grid.element('div.web2py_grid form',replace=lambda me:DIV(me,_class='row-fluid'))
pass
}}
<h1>{{=T('Manage Admin Users/Students')}}</h1>
{{=grid}}
<h2>{{=T('Manage Admin Users/Students')}}</h2>
{{=grid}}

View File

@@ -0,0 +1,32 @@
{{extend 'layout.html'}}
{{import os}}
{{def tree(path):}}
<input type="checkbox" onclick="jQuery(this).parent().find(':checkbox').attr('checked',this.checked)" checked="checked"/>
<a href="#" onclick="jQuery(this).next().slideToggle();return false;">
{{=path[len(base):] or '/%s' % app}}
</a>
<ul class="collapsible">
{{for file in files[path]['files']:}}
<li style="list-style-type: none;">
{{p = os.path.relpath(os.path.join(path,file),base)}}
<input type="checkbox" value="{{=p}}" name="file" checked="checked"/>
{{=file}}
</li>
{{pass}}
{{for dir in files[path]['folders']:}}
<li style="list-style-type: none;">
{{tree(os.path.join(path,dir))}}
</li>
{{pass}}
</ul>
{{return}}
<form action="{{=URL(args=request.args)}}" method="POST">
<h2>{{=T('Select Files to Package')}}</h2>
<input type="submit" value="{{=T('Download .w2p')}}" class="btn"/>
<div style="margin-top:20px">
{{tree(base)}}
</div>
</form>
<script>jQuery(function(){jQuery('.collapsible').hide();});</script>

View File

@@ -1,17 +1,16 @@
{{extend 'layout.html'}}
{{block sectionclass}}peek{{end}}
<!-- begin "peek" block -->
<h2>{{=T("Peeking at file")}} "{{=filename}}"</h2>
<p class="controls">
{{=button(URL('design',args=request.vars.app if request.vars.app else request.args[0], anchor=request.vars.id), T('back'))}}
{{=button(URL('edit',args=request.args, vars=request.vars), T('Edit'))}}
</p>
<div class="code-wrapper">
{{
if filename[-3:]=='.py': language='python'
else: language='html'
}}
{{=CODE(data,language=language,link='/examples/global/vars/')}}
</div>
<!-- end "peek" block -->

View File

@@ -6,11 +6,17 @@ def all(items):
def peekfile(path,file):
return A(file.replace('\\\\','/'),_href=URL('peek', args=(app, path, file)))
def editfile(path,file):
return A(SPAN(T('Edit')),_class='button editbutton',_href=URL('edit', args=(app, path, file)))
return A(SPAN(T('Edit')),_class='button editbutton btn btn-mini',_href=URL('edit', args=(app, path, file)))
def testfile(path,file):
return A(TAG[''](IMG(_src=URL('static', 'images/test_icon.png'), _alt=T('test')), SPAN(T("Run tests in this file"))), _class='icon test tooltip',_href=URL('test', args=(app, file)))
return A(TAG[''](IMG(_src=URL('static', 'images/test_icon.png'), _alt=T('test')),
SPAN(T("Run tests in this file"))),
_class='icon test',
_href=URL('test', args=(app, file)),
_rel="tooltip",
**{'_data-placement':'right',
'_data-original-title':T("Run tests in this file")})
def editlanguagefile(path,file):
return A(SPAN(T('Edit')),_class='button editbutton',_href=URL('edit_language', args=(app, path, file)))
return A(SPAN(T('Edit')),_class='button editbutton btn-mini',_href=URL('edit_language', args=(app, path, file)))
def file_upload_form(location):
form=FORM(T("upload file:")," ",
INPUT(_type="file",_name="file")," ",T("and rename it:")," ",
@@ -29,57 +35,62 @@ def file_create_form(location):
INPUT(_type="submit",_value=T("submit")),_action=URL('create_file'))
return form
def deletefile(arglist):
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')), SPAN(T('Delete this file (you will be asked to confirm deletion)'))), _class='icon delete tooltip', _href=URL('delete',args=arglist,vars=dict(sender=request.function+'/'+app+'/'+request.args[1])))
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')),
SPAN(T('Delete this file (you will be asked to confirm deletion)'))),
_href=URL('delete',args=arglist,vars=dict(sender=request.function+'/'+app+'/'+request.args[1])),
_class='icon delete',
_rel="tooltip",
**{'_data-placement':'right',
'_data-original-title':T('Delete this file (you will be asked to confirm deletion)')})
}}
{{block sectionclass}}plugin{{end}}
<!-- begin "plugin" block -->
<h2>{{=T('Plugin "%s" in application', request.args(1))}} "{{=app}}"</h2>
<h2>
{{=T('Plugin "%s" in application', request.args(1))}} "{{=app}}"
</h2>
<!-- COLLAPSE/JUMP-TO BUTTONS -->
<div class="right-full controls">
<a class="button special" href="#" onclick="jQuery('h3').click();return false"><span>{{=T("collapse/expand all")}}</span></a>
<span class="buttongroup">
{{=button("#models", T("models"))}}
{{=button("#controllers", T("controllers"))}}
{{=button("#views", T("views"))}}
{{=button("#static", T("static"))}}
{{=button("#modules", T("modules"))}}
</span>
<span class="buttongroup">
{{=sp_button(URL('design',args=request.args, anchor=request.vars.id), T("back"))}}
{{=sp_button(URL('delete_plugin',args=request.args, vars=request.vars), T("delete plugin"))}}
{{=sp_button(URL('pack_plugin',args=request.args), T("pack plugin"))}}
</span>
<p class="buttons-row">
<a class="button special btn btn-inverse" href="#" onclick="jQuery('h3>span').click();return false"><span>{{=T("collapse/expand all")}}</span></a>
<span class="buttongroup">
{{=button('#models', T("models"))}}
{{=button('#controllers', T("controllers"))}}
{{=button('#views', T("views"))}}
{{=button('#static', T("static"))}}
{{=button('#modules', T("modules"))}}
</span>
<span class="buttongroup">
{{=sp_button(URL('design',args=request.args, anchor=request.vars.id), T("back"))}}
{{=sp_button(URL('delete_plugin',args=request.args, vars=request.vars), T("delete plugin"))}}
{{=sp_button(URL('pack_plugin',args=request.args), T("pack plugin"))}}
</span>
</p>
</div>
<!-- MODELS -->
<h3 id="models" onclick="collapse('models_inner');" class="component">
{{=T("Models")}}
<h3 id="_models" rel="pagebookmark">
<span class="component" onclick="collapse('models_inner');">{{=T("Models")}}</span>
<span id="models" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="models_inner" class="component_contents">
{{if not models:}}
<p><strong>{{=T("There are no models")}}</strong></p>
{{pass}}
<div class="controls comptools">
</div>
<ul>
{{for m in models:}}
<li>
<span class="filetools controls">
{{=editfile('models',m)}}
{{=deletefile([app, 'models', m])}}
</span>
<span class="file">
{{=peekfile('models',m)}}
</span>
<span class="extras">
{{if len(defines[m]):}}{{=T("defines tables")}} {{pass}}{{=XML(', '.join([B(table).xml() for table in defines[m]]))}}
</span>
</li>
{{pass}}
</ul>
{{if not models:}}<p><strong>{{=T("There are no models")}}</strong></p>{{else:}}
<ul class="unstyled act-edit">
{{for m in models:}}
<li>
<span class="filetools controls">
{{=editfile('models',m)}}
{{=deletefile([app, 'models', m])}}
</span>
<span class="file">
{{=peekfile('models',m)}}
</span>
<span class="extras">
{{if len(defines[m]):}}{{=T("defines tables")}} {{pass}}{{=XML(', '.join([B(table).xml() for table in defines[m]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</div>
<!-- FIND CONTROLLER FUNCTIONS -->
@@ -89,131 +100,124 @@ for c in controllers: controller_functions+=[c[:-3]+'/%s.html'%x for x in functi
}}
<!-- CONTROLLERS -->
<h3 id="controllers" onclick="collapse('controllers_inner');" class="component">
{{=T("Controllers")}}
<h3 id="_controllers" rel="pagebookmark">
<span class="component" onclick="collapse('controllers_inner');">{{=T("Controllers")}}</span>
<span id="controllers" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="controllers_inner" class="component_contents">
{{if not controllers:}}
<p><strong>{{=T("There are no controllers")}}</strong></p>
{{pass}}
<div class="controls comptools">
</div>
<ul>
{{for c in controllers:}}
<li>
<span class="filetools controls">
{{=editfile('controllers',c)}}
{{=deletefile([app,'controllers',c])}}
{{=testfile('controllers',c)}}
</span>
<span class="file">
{{=peekfile('controllers',c)}}
</span>
<span class="extras">
{{if functions[c]:}}{{=T("exposes")}} {{pass}}{{=XML(', '.join([A(f,_href=URL(a=app,c=c[:-3],f=f)).xml() for f in functions[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{if not controllers:}}<p><strong>{{=T("There are no controllers")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{for c in controllers:}}
<li>
<span class="filetools controls">
{{=editfile('controllers',c)}}
{{=deletefile([app,'controllers',c])}}
{{=testfile('controllers',c)}}
</span>
<span class="file">
{{=peekfile('controllers',c)}}
</span>
<span class="extras celled">
{{if functions[c]:}}{{=T("exposes")}} {{pass}}{{=XML(', '.join([A(f,_href=URL(a=app,c=c[:-3],f=f)).xml() for f in functions[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</div>
<!-- VIEWS -->
<h3 id="views" onclick="collapse('views_inner');" class="component">
{{=T("Views")}}
<h3 id="_views" rel="pagebookmark">
<span class="component" onclick="collapse('views_inner');">{{=T("Views")}}</span>
<span id="views" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="views_inner" class="component_contents">
{{if not views:}}
<p><strong>{{=T("There are no views")}}</strong></p>
{{pass}}
<div class="controls comptools">
</div>
<ul>
{{for c in views:}}
<li>
<span class="filetools controls">
{{=editfile('views',c)}}
{{=deletefile([app,'views',c])}}
</span>
<span class="file">
{{=peekfile('views',c)}}
</span>
<span class="extras">
{{if extend.has_key(c):}}{{=T("extends")}} <b>{{=extend[c]}}</b> {{pass}}
{{if include[c]:}}{{=T("includes")}} {{pass}}{{=XML(', '.join([B(f).xml() for f in include[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{if not views:}}<p><strong>{{=T("There are no views")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{for c in views:}}
<li>
<span class="filetools controls">
{{=editfile('views',c)}}
{{=deletefile([app, 'views', c])}}
</span>
<span class="file">
{{=peekfile('views',c)}}
</span>
<span class="extras celled">
{{if extend.has_key(c):}}{{=T("extends")}} <b>{{=extend[c]}}</b> {{pass}}
{{if include[c]:}}{{=T("includes")}} {{pass}}{{=XML(', '.join([B(f).xml() for f in include[c]]))}}
</span>
</li>
{{pass}}
</ul>
{{pass}}
</div>
<!-- STATIC -->
<h3 id="static" onclick="collapse('static_inner');" class="component">
{{=T("Static files")}}
<h3 id="_static" rel="pagebookmark">
<span class="component" onclick="collapse('static_inner');">{{=T("Static files")}}</span>
<span id="static" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="static_inner" class="component_contents">
{{if not statics:}}<p><strong>{{=T("There are no static files")}}</strong></p>{{pass}}
<ul>
{{
path=[]
for file in statics+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='static__'+'__'.join(path)
}}
<li class="folder">
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">{{
else:
path = path[:-1]
}}
</ul></li>
{{
pass
pass
if filename:
}}<li>
<span class="filetools controls">
{{=editfile('static',file)}} {{=deletefile([app,'static',file])}}
</span>
<span class="file">
<a href="{{=URL(a=app,c='static',f=file)}}">{{=filename}}</a>
</span>
</li>{{
pass
pass
}}
{{pass}}
</ul>
{{if not statics:}}<p><strong>{{=T("There are no static files")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{
path=[]
for file in statics+['']:
items=file.split('/')
file_path=items[:-1]
filename=items[-1]
while path!=file_path:
if len(file_path)>=len(path) and all([v==file_path[k] for k,v in enumerate(path)]):
path.append(file_path[len(path)])
thispath='static__'+'__'.join(path)
}}
<li class="folder"><i>&nbsp;</i>
<a href="javascript:collapse('{{=thispath}}');" class="file">{{=path[-1]}}/</a>
<ul id="{{=thispath}}" style="display: none;" class="sublist">
{{
else:
path = path[:-1]
}}
</ul>
</li>
{{
pass
pass
if filename:
}}
<li>
<span class="filetools controls">
{{=editfile('static',file)}} {{=deletefile([app,'static',file])}}
</span>
<span class="file">
<a href="{{=URL(a=app,c='static',f=file)}}">{{=filename}}</a>
</span>
</li>
{{
pass
pass
}}
</ul>
{{pass}}
</div>
<!-- MODULES -->
<h3 id="modules" onclick="collapse('modules_inner');" class="component">
{{=T("Modules")}}
<h3 id="_modules" rel="pagebookmark">
<span class="component" onclick="collapse('modules_inner');">{{=T("Modules")}}</span>
<span id="modules" class="hashstick">&nbsp;</span><a href="#" class="tophashlink btn btn-mini btn-warning"><span>top</span></a>
</h3>
<div id="modules_inner" class="component_contents">
{{if not modules:}}
<p><strong>{{=T("There are no modules")}}</strong></p>
{{pass}}
<div class="controls comptools">
</div>
<ul>
{{for m in modules:}}
<li>
{{=editfile('modules',m)}}
{{if m!='__init__.py':}}<a class="button" href="{{=URL('delete',args=[app,'modules',m],vars=dict(sender=request.function+'/'+app))}}">{{=T("delete")}}</a>{{pass}}
{{=peekfile('modules',m)}}
</li>
{{pass}}
</ul>
{{if not modules:}}<p><strong>{{=T("There are no modules")}}</strong></p>{{else:}}
<ul class="unstyled act_edit">
{{for m in modules:}}
<li>
{{=editfile('modules',m)}}
{{if m!='__init__.py':}}<a class="button btn" href="{{=URL('delete',args=[app,'modules',m],vars=dict(sender=request.function+'/'+app))}}">{{=T("delete")}}</a>{{pass}}
{{=peekfile('modules',m)}}
</li>
{{pass}}
</ul>
{{pass}}
</div>
<!-- end "plugin" block -->

View File

@@ -1,25 +1,21 @@
{{extend 'layout.html'}}
{{block sectionclass}}resolve{{end}}
<!-- begin "resolve" block -->
<h2>{{=T('Resolve Conflict file')}} "{{=filename}}"</h2>
<script>
function plus() {jQuery('.plus').show(); jQuery('.minus').hide(); }
function minus() {jQuery('.plus').hide(); jQuery('.minus').show(); }
function all() {jQuery('.plus').show(); jQuery('.minus').show(); }
</script>
<div class="controls">
<button onclick="plus()">new</button>
<button onclick="minus()">old</button>
<button onclick="all()">all</button>
<button class="btn" onclick="plus()">new</button>
<button class="btn" onclick="minus()">old</button>
<button class="btn" onclick="all()">all</button>
</div>
<div class="form">
<form action="{{=URL(r=request,args=request.args)}}" method="post">
{{=diff}}
<input type="submit" name="merge" value="{{=T('merge')}}" /><br/>
<input class="btn" type="submit" name="merge" value="{{=T('merge')}}" /><br/>
</form>
</div>
<!-- end "resolve" block -->

View File

@@ -1,158 +1,160 @@
{{extend 'layout.html'}}
{{import os, glob}}
{{block sectionclass}}site{{end}}
<div class="applist f60">
<div class="applist_inner">
<h2>{{=T("Installed applications")}}</h2>
<ul>
{{for a in apps:}}
<li class="application"> <!-- onmouseover="jQuery(this).children('p').show()" onmouseout="jQuery(this).children('p').hide()"-->
{{if a==request.application:}}
<h3 class="currentapp">{{=a}} ({{=T('currently running')}})</h3>
<p class="controls">
{{else:}}
<h3 class="editableapp">{{=A(a,_href=URL(a,'default','index'))}}</h3>
{{if MULTI_USER_MODE and db.app(name=a):}}(created by {{="%(first_name)s %(last_name)s" % db.auth_user[db.app(name=a).owner]}}){{pass}}
<p class="controls">
{{if not os.path.exists('applications/%s/compiled' % a):}}
{{=sp_button(URL('design',args=a), T("Edit"))}}
{{else:}}
{{=button(URL(a,'appadmin','index'), T("appadmin"))}}
{{pass}}
{{=button(URL('about',args=a), T("About"))}}
{{pass}}
{{=button(URL('errors',args=a), T("Errors"))}}
{{=button(URL('cleanup',args=a), T("Clean"))}}
{{=button(URL('pack',args=a), T("Pack all"))}}
{{if not os.path.exists('applications/%s/compiled' % a):}}
{{=button(URL('compile_app',args=a), T("Compile"))}}
{{else:}}
{{=button(URL('pack',args=(a, 'compiled')), T("Pack compiled"))}}
{{if glob.glob('applications/%s/controllers/*.py' % a):}}
{{=button(URL('remove_compiled_app',args=a), T("Remove compiled"))}}
{{pass}}
{{pass}}
{{if os.path.exists(os.path.join(apath(r=request),a,'.git')): }}
{{=button(URL('git_pull',args=a), T("Git Pull"))}}
{{=button(URL('git_push',args=a), T("Git Push"))}}
{{pass}}
{{if a!=request.application:}}
{{=button(URL('uninstall',args=a), T("Uninstall"))}}
{{=button_enable(URL('enable',args=a), a)}}
{{pass}}
</p>
</li>
{{pass}}
</ul>
</div>
</div>
<div class="sidebar fl60">
<div class="sidebar_inner controls">
<div class="pwdchange">
<!-- begin "site" block -->
<div class="row-fluid">
<div class="applist f60 span7">
<div class="applist_inner">
<h2>{{=T("Installed applications")}}</h2>
<table width="100%" class="table">
{{for a in apps:}}
<tr>{{buttons = []}}
<td>
{{if a==request.application:}}
<h4 class="currentapp">{{=a}} ({{=T('currently running')}})</h4>
{{else:}}
<h4 class="editableapp">{{=A(a,_href=URL(a,'default','index'))}}</h4>
{{if MULTI_USER_MODE and db.app(name=a):}}(created by {{="%(first_name)s %(last_name)s" % db.auth_user[db.app(name=a).owner]}}){{pass}}
{{if not os.path.exists('applications/%s/compiled' % a):}}
{{buttons.append((URL('design',args=a), T("Edit")))}}
{{else:}}
{{buttons.append((URL(a,'appadmin','index'), T("appadmin")))}}
{{pass}}
{{buttons.append((URL('about',args=a), T("About")))}}
{{pass}}
{{buttons.append((URL('errors',args=a), T("Errors")))}}
{{buttons.append((URL('cleanup',args=a), T("Clean")))}}
{{buttons.append((URL('pack',args=a), T("Pack all")))}}
{{buttons.append((URL('pack_custom',args=a), T("Pack custom")))}}
{{if not os.path.exists('applications/%s/compiled' % a):}}
{{buttons.append((URL('compile_app',args=a), T("Compile")))}}
{{else:}}
{{buttons.append((URL('pack',args=(a, 'compiled')), T("Pack compiled")))}}
{{if glob.glob('applications/%s/controllers/*.py' % a):}}
{{buttons.append((URL('remove_compiled_app',args=a), T("Remove compiled")))}}
{{pass}}
{{pass}}
{{if os.path.exists(os.path.join(apath(r=request),a,'.git')): }}
{{buttons.append((URL('git_pull',args=a), T("Git Pull")))}}
{{buttons.append((URL('git_push',args=a), T("Git Push")))}}
{{pass}}
{{if a!=request.application:}}
{{buttons.append((URL('uninstall',args=a), T("Uninstall")))}}
{{pass}}
</td>
<td>
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
{{=T('Manage')}}
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
{{for link,name in buttons:}}
{{=LI(A(name,_href=link))}}
{{pass}}
</ul>
</div>
{{=button_enable(URL('enable',args=a), a)}}
</td>
</tr>
{{pass}}
</table>
</div>
</div> <!-- /applist -->
<div class="sidebar fl60 span5">
<div class="sidebar_inner controls well well-small">
<!-- CHANGE ADMIN PWD -->
{{if MULTI_USER_MODE:}}
{{=auth.navbar()}}
{{else:}}
{{=sp_button(URL('change_password'), T('Change admin password'))}}
{{pass}}
</div>
<!-- VERSION -->
{{if is_manager():}}
<div class="box">
<h3>{{=T("Version %s.%s.%s (%s) %s", myversion)}}</h3>
{{if session.check_version:}}
<p id="check_version">
{{=T('Checking for upgrades...')}}
<script>ajax('{{=URL('check_version')}}',[],'check_version');</script>{{session.check_version=False}}
{{else:}}
<p id="check_version">
{{=button("javascript:ajax('"+URL('check_version')+"',[],'check_version')", T('Check for upgrades'))}}
<div class="pwdchange pull-right">
{{if MULTI_USER_MODE:}}
{{=auth.navbar()}}
{{else:}}
{{=sp_button(URL('change_password'), T('Change admin password'))}}
{{=button(URL('default','reload_routes'), T('Reload routes'))}}
</p>
{{pass}}
</div> <!-- /CHANGE ADMIN PWD -->
{{if is_manager():}}
<!-- VERSION -->
<div class="box">
<h4>{{=T("Version")}}</h4>
<p>
<tt>{{=myversion}}</tt><br/>
({{=T("Running on %s", request.env.server_software)}})
</p>
<p id="check_version" class="row-buttons">
{{if session.check_version:}}
{{=T('Checking for upgrades...')}}
<script>ajax('{{=URL('check_version')}}',[],'check_version');</script>
{{session.check_version=False}}
{{else:}}
{{=button("javascript:ajax('"+URL('check_version')+"',[],'check_version')", T('Check for upgrades'))}}
{{pass}}
</p>
{{if session.is_mobile=='auto':}}
<p>{{=A(T('Try the mobile interface'),_href=URL('plugin_jqmobile','about'))}}</p>
{{pass}}
</div> <!-- /VERSION -->
{{pass}}
<p>
{{=T("Running on %s", request.env.server_software)}}
</p>
{{if session.is_mobile=='auto':}}<p>
{{=A(T('Try the mobile interface'),_href=URL('plugin_jqmobile','about'))}}</p>
{{if MULTI_USER_MODE and is_manager():}}
<!-- MULTI_USER_INTERFACE -->
<div class="box">
<h4>{{=T("Multi User Mode")}}</h4>
<p class="row-buttons">
{{=button(URL('bulk_register'),T('Bulk Register'))}}
{{=button(URL('manage_students',vars={'order':'auth_user.id'}),T('Manage Students'))}}
</p>
</div> <!-- /MULTI_USER_INTERFACE -->
{{pass}}
<!-- SCAFFOLD APP -->
<div class="box">
<h4>{{=T("New simple application")}}</h4>
{{=form_create.custom.begin}}
{{=LABEL(T("Application name:"))}}
{{=form_create.custom.widget.name}}
<div class="controls"><button type="submit" class="btn">{{=T('Create')}}</button></div>
{{=form_create.custom.end}}
</div> <!-- /SCAFFOLD APP -->
<!-- UPLOAD PACKAGE -->
<div class="box">
<h4>{{=T("Upload and install packed application")}}</h4>
{{=form_update.custom.begin}}
<label for="appupdate_name">{{=T("Application name:")}}</label>
{{=form_update.custom.widget.name}}
<label for="appupdate_file">{{=T("Upload a package:")}}</label>
{{=form_update.custom.widget.file}}
<label for="appupdate_url">{{=T("Or Get from URL:")}}</label>
{{=form_update.custom.widget.url}}<small class="help-block">({{=T('can be a git repo')}})</small>
<div class="controls">
<label class="checkbox">
{{=form_update.custom.widget.overwrite}} {{=T("Overwrite installed app")}}
</label>
<button type="submit" class='btn'>{{=T('Install')}}</button>
</div>
{{=form_update.custom.end}}
</div> <!-- /UPLOAD PACKAGE -->
<!-- DEPLOY ON GAE -->
<div class="box">
<h4>{{=T("Deploy")}}</h4>
<p class="row-buttons">
{{=button(URL('gae','deploy'), T('Deploy on Google App Engine'))}}
{{=button(URL('openshift','deploy'),T('Deploy to OpenShift'))}}
</p>
</div> <!-- /DEPLOY ON GAE -->
<!-- APP WIZARD -->
<div class="box">
<h4>{{=T("New application wizard")}}</h4>
<p>{{=button(URL('wizard','index'), T('Start wizard'))}}<br/>
{{=T("(requires internet access, experimental)")}}</p>
</div> <!-- /APP WIZARD -->
{{if TWITTER_HASH:}}
<!-- TWITTER -->
<div class="box">
<h4>{{=T("%s Recent Tweets"%TWITTER_HASH)}}</h4>
<div id="tweets">{{=T('loading...')}}</div>
<script>jQuery(document).ready(function(){jQuery('#tweets').load('{{=URL('twitter.load')}}');});</script>
</div> <!-- /TWITTER -->
{{pass}}
</div>
{{pass}}
<!-- MULTI_USER_INTERFACE -->
{{if MULTI_USER_MODE and is_manager():}}
<div class="box">
<h3>{{=T("Multi User Mode")}}</h3>
<p>
{{=button(URL('bulk_register'),T('Bulk Register'))}}
{{=button(URL('manage_students'),T('Manage Students'))}}
</p>
</div>
{{pass}}
<!-- APP WIZARD -->
<div class="box">
<h3>{{=T("New application wizard")}}</h3>
<p>{{=button(URL('wizard','index'), T('Start wizard'))}}
{{=T("(requires internet access)")}}</p>
</div>
<!-- SCAFFOLD APP -->
<div class="box">
<h3>{{=T("New simple application")}}</h3>
{{=form_create.custom.begin}}
<table><tr><td>
{{=LABEL(T("Application name:"))}}
</td><td>
{{=form_create.custom.widget.name}}
</td><td>
<button type="submit">{{=T('Create')}}</button>
</td></tr></table>
{{=form_create.custom.end}}
</div>
<!-- UPLOAD PACKAGE -->
<div class="box">
<h3>{{=T("Upload and install packed application")}}</h3>
{{=form_update.custom.begin}}
<table><tr><td>
{{=LABEL(T("Application name:"))}}
</td><td>
{{=form_update.custom.widget.name}}
</td></tr><tr><td>
{{=LABEL(T("Upload a package:"))}}
</td><td>
{{=form_update.custom.widget.file}}
</td></tr><tr><td>
{{=LABEL('Or ',T("Get from URL:"))}}
</td><td>
{{=form_update.custom.widget.url}}
</td></tr><tr><td>
({{=T('can be a git repo')}})
</td><td>
{{=form_update.custom.widget.overwrite}}
{{=LABEL(T("Overwrite installed app"))}}
</td></tr><tr><td>
</td><td>
<button type="submit">{{=T('Install')}}</button>
</td></tr></table>
{{=form_update.custom.end}}
</div>
<!-- DEPLOY ON GAE -->
<div class="box">
<h3>{{=T("Deploy")}}</h3>
<p>
{{=button(URL('gae','deploy'), T('Deploy on Google App Engine'))}}
{{=button(URL('openshift','deploy'),T('Deploy to OpenShift'))}}
</p>
</div><br/>
{{if TWITTER_HASH:}}
<div class="box">
<h3>{{=T("%s Recent Tweets"%TWITTER_HASH)}}</h3>
<div id="tweets">{{=T('loading...')}}</div>
<script>
jQuery(document).ready(function(){jQuery('#tweets').load('{{=URL('twitter.load')}}');});
</script>
</div>
{{pass}}
</div>
</div>
</div> <!-- /sidebar -->
</div> <!-- /row-fluid
<!-- end "site" block -->

View File

@@ -1,7 +1,7 @@
{{extend 'layout.html'}}
{{block sectionclass}}test{{end}}
<!-- begin "test" block -->
<h2>{{=T('Testing application')}} "{{=app}}"</h2>
{{for controller in sorted(controllers):}}
@@ -14,8 +14,14 @@ ajax('{{=URL(a=app,c=controller[:-3],f='_TEST')}}',[],'output_{{=controller[:-3]
//--></script>
{{pass}}
<p class="help">{{=T("""If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.
A green title indicates that all tests (if defined) passed. In this case test results are not shown.""")}}</p>
<p class="help">{{=T('Functions with no doctests will result in [passed] tests.')}}</p>
<p class="help">{{=T('ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.')}}</p>
<div class="row-fluid">
<p class="help alert alert-info span6">{{=T("""If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.
A green title indicates that all tests (if defined) passed. In this case test results are not shown.""")}}</p>
</div>
<div class="row-fluid">
<p class="help alert alert-info span6">{{=T('Functions with no doctests will result in [passed] tests.')}}</p>
</div>
<div class="row-fluid">
<p class="help alert alert-info span6">{{=T('ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.')}}</p>
</div>
<!--end "test" block -->

View File

@@ -1,7 +1,6 @@
{{extend 'layout.html'}}
{{block sectionclass}}ticket{{end}}
<!-- begin "ticket" block -->
<h2>{{=T('Error ticket')}} for "{{=app}}"</h2>
<h3>{{=T('Ticket ID')}}</h3>
<p>{{=ticket}}</p>
@@ -11,122 +10,122 @@
<tbody>
<tr>
<th>web2py&trade;</th>
<td>{{=myversion}}</td>
<td>Version {{=myversion}}</td>
</tr>
{{if snapshot:}}
<tr>
<th>Python</th>
<td>{{=snapshot.get('pyver','')}}</td>
</tr>
</tr>
{{pass}}
</tbody>
</table>
{{if traceback or code or layer:}}
<h3>{{=T('Traceback')}}</h3>
<div class="inspect">
{{=traceback}}
</div>
<div class="inspect resp1">{{=traceback}}</div>
{{if snapshot:}}
{{try:}}
<!-- ERROR SNAPSHOT -->
<h3>
{{=T('Error snapshot')}}
<span class="tooltip">{{=helpicon()}} <span>{{=T('Detailed traceback description')}}</span></span>
</h3>
<!-- SNAPSHOT LIST -->
<div id="snapshot">
<!-- Exception details -->
<p class="exception_object inspect">
<code>{{=snapshot['etype']}}({{=snapshot['evalue']}})</code>
</p>
<p class="controls">
<a class="button" onclick="collapse('exception_inner');"><span>{{=T('inspect attributes')}}</span></a>
</p>
<div id="exception_inner" class="hide">
<div class="inspect">
<h5>{{=T("Exception instance attributes")}}</h5>
<table>
<tbody>
{{for k,v in snapshot['exception'].items():}}
<tr>
<th>{{=k}}</th>
<td>{{=v}}</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
<!-- ERROR SNAPSHOT -->
<h3>{{=T('Error snapshot')}}
<a href="#" rel="tooltip" data-placement="right" data-original-title="{{=T('Detailed traceback description')}}">
{{=helpicon()}}
<span>{{=T("Detailed traceback description")}}</span>
</a>
</h3>
<!-- SNAPSHOT LIST -->
<div id="snapshot">
<!-- Exception details -->
<p class="exception_object inspect">
<code>{{=snapshot['etype']}}({{=snapshot['evalue']}})</code>
</p>
<p class="controls">
<a class="button btn" onclick="collapse('exception_inner');"><span>{{=T('inspect attributes')}}</span></a>
</p>
<div id="exception_inner" class="hide">
<div class="inspect">
<h4>{{=T("Exception instance attributes")}}</h4>
<table>
<tbody>
{{for k,v in snapshot['exception'].items():}}
<tr>
<th>{{=k}}</th>
<td>{{=v}}</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
</div>
<!-- FRAMES -->
<div id="frames">
<h4>{{=T('Frames')}}</h4>
<ul class="unstyled">
{{for i, frame in enumerate(snapshot['frames']):}}
<li>
{{is_hidden = (i != len(snapshot['frames'])-1 and 'hide' or 'inspect')}}
<div class="framefile inspect controls">
<p>
<strong>File {{="%s in %s at line %s" % (frame['file'], frame['func'], frame['lnum'])}}</strong>
<a class="button tbbutton btn" onclick="collapse('{{='%s_code_inner' % i}}');"><span>{{=T("code")}}</span></a>
<a class="button tbbutton btn" onclick="collapse('{{='%s_args_inner' % i}}');"><span>{{=T("arguments")}}</span></a>
<a class="button tbbutton btn" onclick="collapse('{{='%s_vars_inner' % i}}');"><span>{{=T("variables")}}</span></a>
</p>
<div id="{{='%s_args_inner' % i}}" class="{{=is_hidden}}" style="width:100%;overflow:auto">
<h5>Function argument list</h5>
<p>{{=frame['call']}}</p>
</div>
<div id="{{='%s_code_inner' % i}}" class="{{=is_hidden}}" style="width:100%;overflow:auto">
<h5>Code listing</h5>
{{if frame['lines']:}}
<pre>{{=CODE('\n'.join([x[1] for x in sorted(frame['lines'].items(),key=lambda x: x[0])]),
language='python', link=None, counter=min(frame['lines'].keys()), highlight_line=frame['lnum'])}}</pre>
{{pass}}
</div>
<div id="{{='%s_vars_inner' % i}}" class="{{=is_hidden}}" style="width:100%;overflow:auto">
<h5>Variables</h5>
<table>
<tbody>
{{for k,v in frame['dump'].items():}}
<tr>
<th>{{=k}}</th>
<td>{{=v}}</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
</div>
<!-- FRAMES -->
<div id="frames">
<h4>{{=T('Frames')}}</h4>
<ul>
{{for i, frame in enumerate(snapshot['frames']):}}
<li>
{{is_hidden = (i != len(snapshot['frames'])-1 and 'hide' or 'inspect')}}
<div class="framefile inspect controls">
<p>
<strong>File {{="%s in %s at line %s" % (frame['file'], frame['func'], frame['lnum'])}}</strong>
<a class="button tbbutton" onclick="collapse('{{="%s_code_inner" % i}}');"><span>{{=T("code")}}</span></a>
<a class="button tbbutton" onclick="collapse('{{="%s_args_inner" % i}}');"><span>{{=T("arguments")}}</span></a>
<a class="button tbbutton" onclick="collapse('{{="%s_vars_inner" % i}}');"><span>{{=T("variables")}}</span></a>
</p>
<div id="{{="%s_args_inner" % i}}" class="{{=is_hidden}}">
<h5>Function argument list</h5>
<p>{{=frame['call']}}</p>
</div>
<div id="{{="%s_code_inner" % i}}" class="{{=is_hidden}}">
<h5>Code listing</h5>
{{if frame['lines']:}}
<pre>{{=CODE('\n'.join([x[1] for x in sorted(frame['lines'].items(),key=lambda x: x[0])]),
language='python', link=None, counter=min(frame['lines'].keys()), highlight_line=frame['lnum'])}}</pre>
{{pass}}
</div>
<div id="{{="%s_vars_inner" % i}}" class="{{=is_hidden}}">
<h5>Variables</h5>
<table>
<tbody>
{{for k,v in frame['dump'].items():}}
<tr>
<th>{{=k}}</th>
<td>{{=v}}</td>
</tr>
{{pass}}
</tbody>
</table>
</div>
</div>
</li>
</li>
{{pass}}
</ul>
</div>
<!-- VIEW ENVIRONMENT -->
<div class="viewenv">
<h4>Context</h4>
<p class="controls">
<a class="button" onclick="jQuery('#locals').slideToggle()"><span>{{=T('locals')}}</span></a>
<a class="button" onclick="jQuery('#request').slideToggle()"><span>{{=T('request')}}</span></a>
<a class="button" onclick="jQuery('#session').slideToggle()"><span>{{=T('session')}}</span></a>
<a class="button" onclick="jQuery('#response').slideToggle()"><span>{{=T('response')}}</span></a>
</p>
<div class="hide inspect" id="locals"><h6>locals</h6>{{=BEAUTIFY(snapshot['locals'])}}</div>
<div class="hide inspect" id="request"><h6>request</h6>{{=BEAUTIFY(snapshot['request'])}}</div>
<div class="hide inspect" id="session"><h6>session</h6>{{=BEAUTIFY(snapshot['session'])}}</div>
<div class="hide inspect" id="response"><h6>response</h6>{{=BEAUTIFY(snapshot['response'])}}</div>
</div>
</ul>
</div>
<!-- VIEW ENVIRONMENT -->
<div class="viewenv">
<h4><span>Context</span></h4>
<p class="controls">
<a class="button btn" onclick="jQuery('#locals').slideToggle()"><span>{{=T('locals')}}</span></a>
<a class="button btn" onclick="jQuery('#request').slideToggle()"><span>{{=T('request')}}</span></a>
<a class="button btn" onclick="jQuery('#session').slideToggle()"><span>{{=T('session')}}</span></a>
<a class="button btn" onclick="jQuery('#response').slideToggle()"><span>{{=T('response')}}</span></a>
</p>
<div class="hide inspect resp1" id="locals"><h4>locals</h4>
{{=BEAUTIFY(snapshot.get('locals','no locals available in snapshot'))}}
</div>
<div class="hide inspect" id="request"><h4>request</h4>
{{=XML(snapshot.get('request','no request available in snapshot'))}}
</div>
<div class="hide inspect" id="session"><h4>session</h4>
{{=XML(snapshot.get('session','no session available in snapshot'))}}
</div>
<div class="hide inspect" id="response"><h4>response</h4>
{{=XML(snapshot.get('response','no response available in snapshot'))}}
</div>
</div>
{{except Exception, e:}}
<!-- this should not happen, just in case... (cannot output normal hmtl as we don't know current open tags) -->
{{import traceback;tb=traceback.format_exc().replace("\n","\\n") }}
<script language='javascript'>alert("Exception during snapshot rendering: {{=tb}} ");</script>
<!-- this should not happen, just in case... (cannot output normal hmtl as we don't know current open tags) -->
{{import traceback;tb=traceback.format_exc().replace("\n","\\n") }}
<script language='javascript'>alert("Exception during snapshot rendering: {{=tb}} ");</script>
{{pass}}
{{pass}}
@@ -137,3 +136,4 @@
{{else:}}
<h3>{{=T('Ticket Missing')}}</h3>
{{pass}}
<!-- end "ticket" block -->

View File

@@ -27,8 +27,17 @@ Tweet attributes
"""
}}
{{import re}}
{{hashtag = re.compile('([#@])(\w+)')}}
{{link = re.compile('(?!<")https?\:\/\/[\w\./?&]+')}}
<table class="twitter">
{{ for t in tweets: }}
{{ =DIV(H5(t["from_user_name"])) }}
{{ =DIV(t["text"]) }}
{{ =BR() }}
<tr class="tweet">
<td><img src="{{=t['profile_image_url_https']}}"/></td>
<td>
<a href="http://twitter.com/{{=t['from_user']}}">{{=t["from_user_name"]}}</a>:
{{=XML(hashtag.sub('<a href="http://twitter.com/\\g<2>">\\g<1>\\g<2></a>',link.sub('<a href="\\g<0>">\\g<0></a>',t["text"].encode('utf8'))),sanitize=True)}}
</td>
</tr>
{{ pass }}
</table>

View File

@@ -1,7 +1,7 @@
{{extend 'layout.html'}}
<!-- begin "uninstall" block -->
<h2>{{=T('Are you sure you want to uninstall application "%s"?', app)}}</h2>
<div class="center">
{{=dialog}}
</div>
<!-- end "uninstall" block -->

View File

@@ -1,13 +1,17 @@
{{extend 'layout.html'}}
{{
dlg = dialog
smt_button = dlg.element(_type="submit")
smt_button['_class'] = 'btn'
smt_button['_style'] = 'margin-right:4px;'
ccl_button = dlg.element(_type="button")
ccl_button['_class'] = 'btn'
}}
{{block sectionclass}}upgrade{{end}}
<!-- begin "shell" block -->
<h2>{{=T('web2py upgrade')}}</h2>
<p class="center"><strong class="att">{{=T('ATTENTION:')}}</strong> {{=T('This is an experimental feature and it needs more testing. If you decide to upgrade you do it at your own risk')}}<br />
{{=T('If start the upgrade, be patient, it may take a while to download')}}</p>
<p class="center"><div class="alert"><strong class="att">{{=T('ATTENTION:')}}</strong> {{=T('This is an experimental feature and it needs more testing. If you decide to upgrade you do it at your own risk')}}<br />
{{=T('If start the upgrade, be patient, it may take a while to download')}}</p></div>
<div class="center">
{{=dialog}}
</div>
</div>

View File

@@ -1,20 +1,67 @@
{{extend 'layout.html'}}
<!-- begin "user" block -->
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
<div id="web2py_user_form">
{{if 'auth' in globals():}}
{{
# add bootstrap class to form
form['_class']='span4 well well-small'
# change form.custom.begin
form.custom.begin=XML("<%s %s>" % (form.tag,form._xml()[0]))
if request.args(0)=='login':
# delete empty label
d = form.elements("tr#auth_user_remember__row")
d[0][0] = " "
# remake remember checkbox
cbx_inp=form.element(_name='remember')
cbx_inp['_class']=""
cbx_lbl=form.element(_for='auth_user_remember')[0]
form.element('div',replace=LABEL(cbx_inp,cbx_lbl,_class="checkbox"))
# new form buttons
smt = form.element('input',_type='submit')
smt['_class']='btn'
btns = [smt]
if not 'register' in auth.settings.actions_disabled:
btns.append(A(T('register'),_href=URL(r=request,args='register'),_class='btn btn-lnk'))
pass
if not 'request_reset_password' in auth.settings.actions_disabled:
btns.append(A(T('lost password'),_href=URL(r=request,args='request_reset_password'),_class='btn btn-lnk'))
pass
form.element('input[type=submit]',replace=DIV(*btns,_class="controls-inline"))
pass
if request.args(0)in['register','profile']:
# remake is_manager checkbox
cbx_inp=form.element(_name='is_manager')
cbx_lbl=form.element(_for='auth_user_is_manager')[0]
form.element(_name='is_manager',replace=lambda cbx_inp : LABEL(cbx_inp,cbx_lbl,_class="checkbox"))
# delete is manager label
d = form.elements("tr#auth_user_is_manager__row")
d[0][0][0] = " "
# new form buttons
smt = form.element('input',_type='submit')
smt['_class']='btn'
form.element('input[type=submit]',replace=lambda button: DIV(button,_class="controls-inline"))
pass
if request.args(0)in ['request_reset_password','change_password']:
# new form buttons
smt = form.element('input',_type='submit')
smt['_class']='btn'
form.element('input[type=submit]',replace=lambda button: DIV(button,_class="controls-inline"))
pass
}}
{{=form.custom.begin}}
{{for e in form.components[0]:}}
{{= e[0][0]}}
{{= e[1][0]}}
{{pass}}
{{=form.custom.end}}
{{else:}}
{{=form}}
{{if request.args(0)=='login':}}
{{if not 'register' in auth.settings.actions_disabled:}}
<br/><a href="{{=URL(r=request,args='register')}}">register</a>
{{pass}}
{{if not 'request_reset_password' in auth.settings.actions_disabled:}}
<br/><a href="{{=URL(r=request,args='request_reset_password')}}">lost password</a>
{{pass}}
{{pass}}
</div>
<script language="javascript">
<!--
//<!--
jQuery("#web2py_user_form input:visible:enabled:first").focus();
//-->
</script>
<!-- end "user" block -->

View File

@@ -1,44 +1,90 @@
<!doctype html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="P3P" content="CP=\"IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA\"" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{=response.title or URL()}}</title>
{{response.files.append(URL('static','css/styles.css'))}}
{{
response.files.append(URL('static','css/bootstrap.min.css'))
#response.files.append(URL('static','css/styles.css'))
response.files.append(URL('static','css/bootstrap_essentials.css'))
# response.files.append(URL('static','css/bootstrap_adapters.css'))
response.files.append(URL('static','css/bootstrap-responsive.min.css'))
}}
{{include 'web2py_ajax.html'}}
<script>jQuery.noConflict();</script>
</head>
<body class="{{=T('direction: ltr') == 'direction: rtl' and 'RTLbody' or ''}} {{block sectionclass}}home{{end}}">
<div id="header">
<h1 id="start">
<a href="{{=URL('default', 'index')}}" class="button"><span>web2py&trade; {{=T('administrative interface')}}</span></a>
</h1>
{{if response.menu is not None:}}
<ul id="menu">
{{for _name,_active,_link in response.menu:}}
<li>{{=A(SPAN(_name), _href=_link, _class=_active and 'button select' or 'button')}}</li>
{{pass}}
</ul>
{{pass}}
</div>
<div id="main">
<div id="main_inner">
<div class="flash">{{=response.flash or ''}}</div>
{{include}}
</div>
</div>
<div id="footer" class="fixed">
{{=T('Powered by')}} {{=A('web2py', _href='http://www.web2py.com')}}&trade; {{=T('created by')}} Massimo Di Pierro &copy;2007-{{=request.now.year}} -
{{if hasattr(T,'get_possible_languages_info'):}}
<span>
{{=T('Admin language')}}
<select name="adminlanguage" onchange="var date = new Date();cookieDate=date.setTime(date.getTime()+(100*24*60*60*1000));document.cookie='adminLanguage='+this.options[this.selectedIndex].id+'; expires='+cookieDate+'; path=/';window.location.reload()">
{{for langinfo in sorted([(code,info[1]) for code,info in T.get_possible_languages_info().iteritems() if code != 'default']):}}
<option {{=T.accepted_language==langinfo[0] and 'selected' or ''}} {{='id='+langinfo[0]}} >{{=langinfo[1]}}</option>
{{pass}}
</select>
</span>
{{pass}}
</div>
<!-- NAVBAR
============== -->
<div id="header" class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div id="start" class="brand_wrapper">
<a href="{{=URL('default', 'index')}}" class="button brand" ><span>web2py&trade; {{=T('administrative interface')}}</span></a>
</div>
<div class="nav-collapse">
{{if response.menu is not None:}}
<ul id="menu" class="nav pull-right">
{{for _name,_active,_link in response.menu:}}
<li>{{=A(SPAN(_name), _href=_link, _class=_active and 'button select' or 'button')}}</li>
{{pass}}
</ul>
{{pass}}
</div><!--/.nav-collapse -->
</div><!-- /container-fluid -->
</div><!-- /navbar-inner -->
</div><!-- /#header -->
<!-- MAIN
=========== -->
<div id="main" class="container-fluid">
<div id="main_inner" class="row-fluid">
<div class="span12">
<div class="flash alert">{{=response.flash or ''}}</div>
{{include}}
</div><!-- /main span12 -->
</div><!-- /main row-fluid -->
</div><!-- /#main -->
<!-- FOOTER
============== -->
<footer id="footer" class="fixed">
<p><span>{{=T('Powered by')}} {{=A('web2py', _href='http://www.web2py.com')}}&trade; {{=T('created by')}} Massimo Di Pierro &copy;2007-{{=request.now.year}}
{{if hasattr(T,'get_possible_languages_info'):}}
- {{=T('Admin language')}}</span>
<select name="adminlanguage" onchange="var date = new Date();cookieDate=date.setTime(date.getTime()+(100*24*60*60*1000));document.cookie='adminLanguage='+this.options[this.selectedIndex].id+'; expires='+cookieDate+'; path=/';window.location.reload()">
{{for langinfo in sorted([(code,info[1]) for code,info in T.get_possible_languages_info().iteritems() if code != 'default']):}}
<option {{=T.accepted_language==langinfo[0] and 'selected' or ''}} {{='id='+langinfo[0]}} >{{=langinfo[1]}}</option>
{{pass}}
</select>
{{else:}}
</span>{{pass}}
</p>
</footer><!-- /#footer -->
<!-- BS JAVASCRIPT
====================== -->
<script src="{{=URL('static','js/bootstrap.min.js')}}"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("[rel=tooltip]").tooltip();
});
</script>
{{if request.function in ('index','site'):}}
<a style="position:fixed;bottom:0;left:0;z-index:1000" href="https://groups.google.com/forum/?fromgroups#!forum/web2py" target="_blank">
<!-- http://webchat.freenode.net/?channels=web2py" //-->
<img src="{{=URL('static','images/questions.png')}}" />
</a>
{{pass}}
</body>
</html>

View File

@@ -7,7 +7,6 @@ for application "{{=request.args[0]}}"</h2>
<h3>Commit form</h3>
{{=form}}
{{if repo['.'].rev()>=0:}}
<h3>Last Revision</h3>
<table>

View File

@@ -1,92 +1,42 @@
{{extend 'layout.html'}}
{{block sectionclass}}shell{{end}}
<!--style type="text/css">
.prompt, #output {
width: 45em;
border: 1px solid #CCCCCC;
font-size: 10pt;
margin: 0.5em;
padding: 0.5em;
padding-right: 0em;
overflow: auto;
wrap: hard;
}
#output {
height:250px;overflow:auto;
}
#toolbar {
margin-left: 0.5em;
padding-left: 0.5em;
}
#caret {
width: 2.5em;
margin-right: 0px;
padding-right: 0px;
border-right: 0px;
}
#statement {
width: 43em;
margin-left: -1em;
padding-left: 0px;
border-left: 0px;
background-position: top right;
background-repeat: no-repeat;
}
.processing {
background-image: url("{{=URL('static','images/spinner.gif')}}");
}
#ajax-status {
font-weight: bold;
}
.message {
color: #8AD;
font-weight: bold;
font-style: italic;
}
.error {
color: #F44;
}
.username {
font-weight: bold;
}
</style-->
<!-- begin "shell" block -->
<div id="wrapper">
<textarea id="output" readonly="readonly">web2py Shell {{=request.env.web2py_version}}</textarea>
<div class="row-fluid">
<div class="output-wrapper span8">
<textarea id="output" readonly="readonly">web2py Shell {{=request.env.web2py_version}}</textarea>
</div>
</div>
<form id="form" action="{{=URL(r=request,f='callback',args=app)}}" method="get">
<div id="shellwrapper">
<div id="caret">&gt;&gt;&gt;</div>
<div class="tooltip">
<textarea class="prompt" name="statement" id="statement"></textarea>
<span>Type some Python code in here and hit Return (Enter) to execute it.</span>
</div>
<div id="autoscroll" style="cursor:pointer;float:right;">autoscroll</div>
</div>
</form>
<div class="row-fluid">
<form id="form" action="{{=URL(r=request,f='callback',args=app)}}" method="get" class="span8">
<div id="shellwrapper">
<div class="prompt-wrapper">
<div class="prompt-container">
<textarea class="prompt" name="statement" id="statement"></textarea>
</div>
<a href="#" rel="tooltip" data-placement="right" data-original-title="{{=T('Type some Python code in here and hit Return (Enter) to execute it.')}}">
{{=helpicon()}}
<span>Type some Python code in here and hit Return (Enter) to execute it.</span>
</a>
</div>
<div id="caret"><span>&gt;&gt;&gt;</span></div>
<div id="autoscroll">autoscroll</div>
</div>
</form>
</div>
<div class="row-fluid clearfix">
<div class="help alert alert-info span6">
<ul>
<li>Using the shell may lock the database to other users of this app.</li>
<li>Each db statement is automatically committed.</li>
<li>Creating new tables dynamically is not allowed.</li>
<li>Models are automatically imported in the shell.</li>
</ul>
</div>
</div>
</div>
<div class="help">
<ul>
<li>Using the shell may lock the database to other users of this app.</li>
<li>Each db statement is automatically committed.</li>
<li>Creating new tables dynamically is not allowed.</li>
<li>Models are automatically imported in the shell.</li>
</ul>
</div>
<script type="text/javascript" src="{{=URL('static', 'js/autoscroll.js')}}"></script>
<script type="text/javascript">
@@ -163,4 +113,4 @@ jQuery(document).ready(function(){
});
});
</script>
<!-- end "shell" block -->

View File

@@ -3,6 +3,7 @@
var w2p_ajax_confirm_message = "{{=T('Are you sure you want to delete this object?')}}";
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
var ajax_error_500 = '{{=XML(T('An error occured, please %s the page') % A(T('reload'), _href=URL(args=request.args, vars=request.vars))) }}'
//--></script>
{{
response.files.insert(0,URL('static','js/jquery.js'))

View File

@@ -1,14 +1,15 @@
{{extend 'layout.html'}}
{{block sectionclass}}generated{{end}}
<a class="button" href="{{=URL(app,'default','index')}}">Open new app in new window</a>
<a class="button" href="{{=URL('step1')}}">Back to wizard</a>
<a class="button" href="{{=URL('default','design',args=app)}}">Admin design page</a>
{{if have_mercurial:}}
<a class="button" href="{{=URL('mercurial','commit',args=app)}}">Admin versioning page</a>
{{pass}}
<a class="button" href="{{=URL(app,'appadmin','index')}}">Database administration</a>
<!-- begin "generated" block -->
<div class="controls row-buttons">
{{=button(URL(app,'default','index'), T('Open new app in new window'))}}
{{=button(URL('step1'), T('Back to wizard'))}}
{{=button(URL('default','design',args=app), T('Admin design page'))}}
{{if have_mercurial:}}
{{=button(URL('mercurial','commit',args=app), T('Admin versioning page'))}}
{{pass}}
{{=button(URL(app,'appadmin','index'), T('Database administration'))}}
</div>
<br/><br/>
<iframe style="width: 100%; height: 100%; min-height:600px" src="{{=URL(app,'default','index')}}"></iframe>
<!-- end "generated" block -->

View File

@@ -1,141 +1,183 @@
{{extend 'layout.html'}}
{{block sectionclass}}step{{end}}
<!-- begin "step" block -->
<h2>{{=T('New Application Wizard')}}</h2>
<div id="wizard_nav" class="f20 controls">
{{if request.function=='index':}}
<h3>{{=T('Start a new app')}}</h3>
{{else:}}
<div class="box">
<h3>{{=T('Basics')}}</h3>
<p>{{=button(URL('index'), T('restart'))}}</p>
<p><strong>App Name:</strong> {{=session.app['name']}}</p>
</div>
<div class="box">
<h3>Current settings</h3>
<p>{{=button(URL('step1'), T('Edit'))}}</p>
<ul id="current_settings">
{{for key,value in session.app['params']:}}
<li><b>{{=key}}:</b> {{=value}}</li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>Tables</h3>
<p>{{=button(URL('step2'), T('edit all'))}}</p>
<ul>
{{for i,table in enumerate(session.app['tables']):}}
<li>{{=button(URL('step3',args=i), T('Edit'))}} <strong>{{=table}}</strong></li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>Pages</h3>
<p>{{=button(URL('step4'), T('edit all'))}}</p>
<ul>
{{for i,page in enumerate(session.app['pages']):}}
<li>{{=button(URL('step5',args=i), T('Edit'))}} <strong>{{=page}}</strong></li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>{{=T('Generate')}}</h3>
<p>{{=button(URL('step6'), T('go!'))}}</p>
</div>
{{pass}}
<div class='row-fluid'>
<div id="wizard_nav" class="f20 controls span3">
{{if request.function=='index':}}
<h3>{{=T('Start a new app')}}</h3>
{{else:}}
<div class="box first-box">
<h3>{{=T('Basics')}}</h3>
<p>{{=button(URL('index'), T('restart'))}}</p>
<p><strong>App Name:</strong> {{=session.app['name']}}</p>
</div>
<div class="box">
<h3>Current settings</h3>
<p>{{=button(URL('step1')+'/#xwizard_form', T('Edit'))}}</p>
<ul id="current_settings" class="unstyled">
{{for key,value in session.app['params']:}}
<li><b>{{=key}}:</b> {{=value}}</li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>Tables</h3>
<p>{{=button(URL('step2')+'/#xwizard_form', T('edit all'))}}</p>
<ul class="unstyled">
{{for i,table in enumerate(session.app['tables']):}}
<li>{{=button(URL('step3',args=[i])+'/#xwizard_form', T('Edit'))}} <strong>{{=table}}</strong></li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>Pages</h3>
<p>{{=button(URL('step4')+'/#xwizard_form', T('edit all'))}}</p>
<ul class="unstyled">
{{for i,page in enumerate(session.app['pages']):}}
<li>{{=button(URL('step5',args=i)+'/#xwizard_form', T('Edit'))}} <strong>{{=page}}</strong></li>
{{pass}}
</ul>
</div>
<div class="box">
<h3>{{=T('Generate')}}</h3>
<p>{{=button(URL('step6')+'/#xwizard_form', T('go!'))}}</p>
</div>
{{pass}}
</div> <!-- /wizard nav -->
<div id="wizard_form" class="fl20 controls span9" rel="pagebookmark"><span id="xwizard_form" class="hashstick">&nbsp;</span>
<!-- FORM -->
{{if 'step' in request.function:}}
<h3>{{=T('Step')}} {{=step}}</h3>
{{if request.function!='step1':}}
{{=button(URL('step' + str(int(request.function[-1])-1)) + '/#xwizard_form', T('back'))}}
{{pass}}
{{else:}}
<h3>{{=T('Begin')}}</h3>
{{pass}}
{{if request.function in ('step1','step2','step3','step4','step5'):}}
{{=button(URL('step6') + '/#xwizard_form', T('skip to generate'))}}
{{pass}}
<br /><br />
{{if request.function in ('step1','step6'):}}
{{pass}}
{{if request.function!='step6':}}
<div class="form row-fluid">
{{=form.custom.begin}}
{{ for fieldname in form.table.fields: }}
{{if fieldname is not 'id':}}
<label>{{=form.custom.label[fieldname]}}:</label>
{{=form.custom.widget[fieldname]}}
{{if fieldname=='layout_theme':}}
<span class="help-inline">
<img src="{{=LAYOUTS_APP}}/static/plugin_layouts/layouts/{{=dict(session.app['params'])['layout_theme']}}/preview.png" alt="" align="right" id="preview" class="img-polaroid"/>
</span>
{{pass}}
{{pass}}
{{pass}}
<div class="controls"><button type="submit" class="btn">{{=T('Submit')}}</button></div>
{{=form.custom.end}}
</div>
<script>
jQuery(function(){
var t=jQuery('#no_table_layout_theme');
t.change(function(){
jQuery('#preview').attr('src','{{=LAYOUTS_APP}}/static/plugin_layouts/layouts/'+t.val()+'/preview.png');
});
jQuery("#preview").error(function (){
jQuery('#preview').attr('src','http://placehold.it/190x141&text=no+preview+available');
});
jQuery('ul[id$="_grow_input"] li').addClass('input-append');
jQuery('ul[id$="_grow_input"] li a').addClass('btn');
});
</script>
{{else:}}
<div class="form row-fluid">
{{=form.custom.begin}}
{{ for fieldname in form.table.fields: }}
{{if fieldname is not 'id':}}
<div class="control-group">
<label class="control-label">{{=form.custom.label[fieldname]}}:</label>
<div class="controls">
<label class="checkbox">{{=form.custom.widget[fieldname]}}</label>
</div>
</div>
{{pass}}
{{pass}}
<div class="control-group">
<label class="control-label empty">&nbsp;</label>
<div class="controls">
<button type="submit" class="btn">{{=T('Submit')}}</button>
</div>
</div>
{{=form.custom.end}}
</div>
{{pass}}
<!-- INSTRUCTIONS -->
<div class="box">
<h4>Instructions</h4>
<div class="row-fluid">
<div class="help span7 alert alert-block alert-info">
{{if request.function=='index':}}
<ul class="unstyled">
<li>Insert the name of a new app.</li>
<li>If the app exists and was created with the wizard, you will be able to edit it, but any manual editing to the app <b>will be lost</b>.</li>
</ul>
{{elif request.function=='step1':}}
<ul class="unstyled">
<li>This Wizard will help you build a new web2py app.</li>
<li>You can create an app with a name that already exists.</li>
<li>If you do not have an email server set email server to "logging".</li>
<li>If you want to use Janrain Engage for login: 1) Sign up for a <a href="http://www.janrain.com/products/engage">Janrain Engage</a> account; 2) Register you hostname, domain, and obtain an api key; 3) Set Login Config above to "domain:api_key".</li>
<li>ATTENTION: you can use the wizard to download plugins BUT we cannot guarantee the stability or backward compatibility of plugins. Moreover plugins may conflict with each other. Anyway, we do recommend installing plugin "wiki" with adds CMS like capabilities to your app.</li>
</ul>
{{elif request.function=='step2':}}
<ul class="unstyled">
<li>List the names of table that you need.</li>
<li>If you do not need authentication remove the table "auth_user".</li>
<li>Press enter to create a new input row.</li>
<li>Empty rows are ignored.</li>
<li>Other tables for role based access control will be created automatically, and do not need to be listed.</li>
<li>You will be able to add fields later.</li>
</ul>
{{elif request.function=='step3':}}
<ul class="unstyled">
<li>List the fields for this table (do not include an id field, it is automatic), for example "name unique" or "birthday date" or "image upload" or "comments multiple" or "description wiki required"</li>
<li>The first keyword(s) for each entry will be used to generate a name for the table field and its label. You can use spaces an other unicode characters.</li>
<li>Keywords "string" (default), "text", "integer", "boolean", "float", "double", "file", "date", "time", "datetime", "file", "upload" will be used to determine the field type and they will not be made part of the field name.</ li>
<li>For a reference field use a field name, followed by the name of the referenced table.</li>
<li>Other special keywords are "required", "notnull" or "notempty", "unique". They map into equivalent validators but (at this time) should only be used with string and text types.</li>
<li>The keywords "html" and "wiki" force a text type and set a representation for the field value as sanitized HTML and MARKMIN resepectively.</li>
<li>string, integer and reference fields can be "multiple", i.e. multiple values will be allowed</li>
<li>For the "auth_user" table do not add attributes to the default fields (username, first_name, last_name, password and email). They are handled automatically.</li>
<li>Some fields will be added automatically upon creation and handled automatically: "created_by", "created_on", "modified_by", "modified_on", "active" (only active fields can be selected).</li>
<li>For every table "table" another table "table_archive" is created and it contains the previous versions of each record. This is only accessible via appadmin or programmatically.</li>
</ul>
{{elif request.function=='step4':}}
<ul class="unstyled">
<li>List the names of the pages you want to create.</li>
<li>Some pages are listed automatically because they expose Create/Read/Update/Delete for each tables you have created.</li>
<li>All pages, except "error" and those with name starting in underscore willbe listed in the menu. You will be able to edit the menu later.</li>
<li>You should have page "index", the starting point of your app, and page "error", where web2py will redirect to in case of error.</li>
</ul>
{{elif request.function=='step5':}}
<ul class="unstyled">
<li>Use the markmin syntax to add text to your pages.</li>
</ul>
{{elif request.function=='step6':}}
<ul class="unstyled">
<li>Almost done. Click on the button above to create your new app.</li>
<li>Once done you will be able to edit it as any normal web2py app.</li>
</ul>
{{pass}}
</div>
</div>
</div>
</div> <!-- /wizard form -->
</div>
<div id="wizard_form" class="fl20 controls">
<!-- FORM -->
{{if 'step' in request.function:}}
<h3>{{=T('Step')}} {{=step}}</h3>
{{if request.function!='step1':}}
{{=button(URL('step' + str(int(request.function[-1])-1)), T('back'))}}
{{pass}}
{{else:}}
<h3>{{=T('Begin')}}</h3>
{{pass}}
{{if request.function in ('step1','step2','step3','step4','step5'):}}
{{=button(URL('step6'), T('skip to generate'))}}
{{pass}}
<br /><br />
{{if request.function in ('step1','step6'):}}
<img src="{{=LAYOUTS_APP}}/static/plugin_layouts/layouts/{{=dict(session.app['params'])['layout_theme']}}/preview.png" alt="" align="right" id="preview"/>
{{pass}}
<div class="form">
{{=form}}
</div>
<script>
jQuery(function(){
var t=jQuery('#no_table_layout_theme');
t.change(function(){
jQuery('#preview').attr('src','{{=LAYOUTS_APP}}/static/plugin_layouts/layouts/'+t.val()+'/preview.png');
});
});
</script>
<!-- INSTRUCTIONS -->
<div class="box">
<h4>Instructions</h4>
<div class="help">
{{if request.function=='index':}}
<ul>
<li>Insert the name of a new app.</li>
<li>If the app exists and was created with the wizard, you will be able to edit it, but any manual editing to the app <b>will be lost</b>.</li>
</ul>
{{elif request.function=='step1':}}
<ul>
<li>This Wizard will help you build a new web2py app.</li>
<li>You can create an app with a name that already exists.</li>
<li>If you do not have an email server set email server to "logging".</li>
<li>If you want to use Janrain Engage for login: 1) Sign up for a <a href="http://www.janrain.com/products/engage">Janrain Engage</a> account; 2) Register you hostname, domain, and obtain an api key; 3) Set Login Config above to "domain:api_key".</li>
<li>ATTENTION: you can use the wizard to download plugins BUT we cannot guarantee the stability or backward compatibility of plugins. Moreover plugins may conflict with each other. Anyway, we do recommend installing plugin "wiki" with adds CMS like capabilities to your app.</li>
</ul>
{{elif request.function=='step2':}}
<ul>
<li>List the names of table that you need.</li>
<li>If you do not need authentication remove the table "auth_user".</li>
<li>Press enter to create a new input row.</li>
<li>Empty rows are ignored.</li>
<li>Other tables for role based access control will be created automatically, and do not need to be listed.</li>
<li>You will be able to add fields later.</li>
</ul>
{{elif request.function=='step3':}}
<ul>
<li>List the fields for this table (do not include an id field, it is automatic), for example "name unique" or "birthday date" or "image upload" or "comments multiple" or "description wiki required"</li>
<li>The first keyword(s) for each entry will be used to generate a name for the table field and its label. You can use spaces an other unicode characters.</li>
<li>Keywords "string" (default), "text", "integer", "boolean", "float", "double", "file", "date", "time", "datetime", "file", "upload" will be used to determine the field type and they will not be made part of the field name.</ li>
<li>For a reference field use a field name, followed by the name of the referenced table.</li>
<li>Other special keywords are "required", "notnull" or "notempty", "unique". They map into equivalent validators but (at this time) should only be used with string and text types.</li>
<li>The keywords "html" and "wiki" force a text type and set a representation for the field value as sanitized HTML and MARKMIN resepectively.</li>
<li>string, integer and reference fields can be "multiple", i.e. multiple values will be allowed</li>
<li>For the "auth_user" table do not add attributes to the default fields (username, first_name, last_name, password and email). They are handled automatically.</li>
<li>Some fields will be added automatically upon creation and handled automatically: "created_by", "created_on", "modified_by", "modified_on", "active" (only active fields can be selected).</li>
<li>For every table "table" another table "table_archive" is created and it contains the previous versions of each record. This is only accessible via appadmin or programmatically.</li>
</ul>
{{elif request.function=='step4':}}
<ul>
<li>List the names of the pages you want to create.</li>
<li>Some pages are listed automatically because they expose Create/Read/Update/Delete for each tables you have created.</li>
<li>All pages, except "error" and those with name starting in underscore willbe listed in the menu. You will be able to edit the menu later.</li>
<li>You should have page "index", the starting point of your app, and page "error", where web2py will redirect to in case of error.</li>
</ul>
{{elif request.function=='step5':}}
<ul>
<li>Use the markmin syntax to add text to your pages.</li>
</ul>
{{elif request.function=='step6':}}
<ul>
<li>Almost done. Click on the button above to create your new app.</li>
<li>Once done you will be able to edit it as any normal web2py app.</li>
</ul>
{{pass}}
</div>
</div>
</div>
<script type="text/javascript">
//jQuery(document).ready(function() {
//jQuery(":input:visible:enabled:first").focus();
//});
</script>
<!-- end "step" block -->

View File

@@ -11,6 +11,11 @@ import copy
import gluon.contenttype
import gluon.fileutils
try:
import pygraphviz as pgv
except ImportError:
pgv = None
response.subtitle = 'Database Administration (appadmin)'
# ## critical --- make a copy of the environment
@@ -49,6 +54,10 @@ response.menu = [[T('design'), False, URL('admin', 'default', 'design',
# ## auxiliary functions
# ###########################################################
if False and request.tickets_db:
from gluon.restricted import TicketStorage
ts = TicketStorage()
ts._get_table(request.tickets_db, ts.tablename, request.application)
def get_databases(request):
dbs = {}
@@ -314,6 +323,9 @@ def state():
def ccache():
cache.ram.initialize()
cache.disk.initialize()
form = FORM(
P(TAG.BUTTON(
T("Clear CACHE?"), _type="submit", _name="yes", _value="yes")),
@@ -380,7 +392,7 @@ def ccache():
return (hours, minutes, seconds)
for key, value in cache.ram.storage.items():
for key, value in cache.ram.storage.iteritems():
if isinstance(value, dict):
ram['hits'] = value['hit_total'] - value['misses']
ram['misses'] = value['misses']
@@ -396,12 +408,13 @@ def ccache():
if value[0] < ram['oldest']:
ram['oldest'] = value[0]
ram['keys'].append((key, GetInHMS(time.time() - value[0])))
locker = open(os.path.join(request.folder,
'cache/cache.lock'), 'a')
folder = os.path.join(request.folder,'cache')
if not os.path.exists(folder):
os.mkdir(folder)
locker = open(os.path.join(folder, 'cache.lock'), 'a')
portalocker.lock(locker, portalocker.LOCK_EX)
disk_storage = shelve.open(
os.path.join(request.folder, 'cache/cache.shelve'))
os.path.join(folder, 'cache.shelve'))
try:
for key, value in disk_storage.items():
if isinstance(value, dict):
@@ -459,3 +472,103 @@ def ccache():
return dict(form=form, total=total,
ram=ram, disk=disk, object_stats=hp != False)
def table_template(table):
from gluon.html import TR, TD, TABLE, TAG
def FONT(*args, **kwargs):
return TAG.font(*args, **kwargs)
def types(field):
f_type = field.type
if not isinstance(f_type,str):
return ' '
elif f_type == 'string':
return field.length
elif f_type == 'id':
return B('pk')
elif f_type.startswith('reference') or \
f_type.startswith('list:reference'):
return B('fk')
else:
return ' '
# This is horribe HTML but the only one graphiz understands
rows = []
cellpadding = 4
color = "#000000"
bgcolor = "#FFFFFF"
face = "Helvetica"
face_bold = "Helvetica Bold"
border = 0
rows.append(TR(TD(FONT(table, _face=face_bold, _color=bgcolor),
_colspan=3, _cellpadding=cellpadding,
_align="center", _bgcolor=color)))
for row in db[table]:
rows.append(TR(TD(FONT(row.name, _color=color, _face=face_bold),
_align="left", _cellpadding=cellpadding,
_border=border),
TD(FONT(row.type, _color=color, _face=face),
_align="left", _cellpadding=cellpadding,
_border=border),
TD(FONT(types(row), _color=color, _face=face),
_align="center", _cellpadding=cellpadding,
_border=border)))
return "< %s >" % TABLE(*rows, **dict(_bgcolor=bgcolor, _border=1,
_cellborder=0, _cellspacing=0)
).xml()
def bg_graph_model():
graph = pgv.AGraph(layout='dot', directed=True, strict=False, rankdir='LR')
subgraphs = dict()
for tablename in db.tables:
if hasattr(db[tablename],'_meta_graphmodel'):
meta_graphmodel = db[tablename]._meta_graphmodel
else:
meta_graphmodel = dict(group='Undefined', color='#ECECEC')
group = meta_graphmodel['group'].replace(' ', '')
if not subgraphs.has_key(group):
subgraphs[group] = dict(meta=meta_graphmodel, tables=[])
subgraphs[group]['tables'].append(tablename)
else:
subgraphs[group]['tables'].append(tablename)
graph.add_node(tablename, name=tablename, shape='plaintext',
label=table_template(tablename))
for n, key in enumerate(subgraphs.iterkeys()):
graph.subgraph(nbunch=subgraphs[key]['tables'],
name='cluster%d' % n,
style='filled',
color=subgraphs[key]['meta']['color'],
label=subgraphs[key]['meta']['group'])
for tablename in db.tables:
for field in db[tablename]:
f_type = field.type
if isinstance(f_type,str) and (
f_type.startswith('reference') or
f_type.startswith('list:reference')):
referenced_table = f_type.split()[1].split('.')[0]
n1 = graph.get_node(tablename)
n2 = graph.get_node(referenced_table)
graph.add_edge(n1, n2, color="#4C4C4C", label='')
graph.layout()
#return graph.draw(format='png', prog='dot')
if not request.args:
return graph.draw(format='png', prog='dot')
else:
response.headers['Content-Disposition']='attachment;filename=graph.%s'%request.args(0)
if request.args(0) == 'dot':
return graph.string()
else:
return graph.draw(format=request.args(0), prog='dot')
def graph_model():
return dict(databases=databases, pgv=pgv)

View File

@@ -20,7 +20,7 @@ def what():
import urllib
try:
images = XML(urllib.urlopen(
'http://web2py.com/poweredby/default/images').read())
'http://www.web2py.com/poweredby/default/images').read())
except:
images = []
return response.render(images=images)
@@ -61,11 +61,11 @@ def videos():
def security():
redirect('http://www.web2py.com/book/default/chapter/01#security')
redirect('http://www.web2py.com/book/default/chapter/01#Security')
def api():
redirect('http://web2py.com/book/default/chapter/04#API')
redirect('http://www.web2py.com/book/default/chapter/04#API')
@cache('license', time_expire=cache_expire)
@@ -74,10 +74,14 @@ def license():
filename = os.path.join(request.env.gluon_parent, 'LICENSE')
return response.render(dict(license=MARKMIN(read_file(filename))))
def version():
return 'Version %s.%s.%s (%s) %s' % request.env.web2py_version
if request.args(0)=='raw':
return request.env.web2py_version
from gluon.fileutils import parse_version
(a, b, c, pre_release, build) = parse_version(request.env.web2py_version)
return 'Version %i.%i.%i (%.4i-%.2i-%.2i %.2i:%.2i:%.2i) %s' % (
a,b,c,build.year,build.month,build.day,
build.hour,build.minute,build.second,pre_release)
@cache('examples', time_expire=cache_expire)
def examples():

View File

@@ -1,75 +1,49 @@
session.forget()
response.menu = [['home', False, '/%s/default/index'
% request.application], ['docs', True,
'/%s/global/vars' % request.application]]
def get(args):
if args[0].startswith('__'):
return None
try:
obj = globals(),get(args[0])
for k in range(1,len(args)):
obj = getattr(obj,args[k])
return obj
except:
return None
def vars():
"""the running controller function!"""
title = '.'.join(request.args)
attributes = {}
if not request.args:
(
doc,
keys,
t,
c,
d,
value,
) = (
'Global variables',
globals(),
None,
None,
(),
None,
)
(title, args) = ('globals()', '')
(doc,keys,t,c,d,value)=('Global variables',globals(),None,None,[],None)
elif len(request.args) < 3:
args = '.'.join(request.args)
try:
doc = eval(args + '.__doc__')
except:
doc = 'no documentation'
try:
keys = eval('dir(%s)' % args)
except:
obj = get(request.args)
if obj:
doc = getattr(obj,'__doc__','no documentation')
keys = dir(obj)
t = type(obj)
c = getattr(obj,'__class__',None)
d = getattr(obj,'__bases__',None)
for key in keys:
a = getattr(obj,key,None)
if a and not isinstance(a,DAL):
doc1 = getattr(a, '__doc__', '')
t1 = type(a)
c1 = getattr(a,'__class__',None)
d1 = getattr(a,'__bases__',None)
key = '.'.join(request.args)+'.'+key
attributes[key] = (doc1, t1, c1, d1)
else:
doc = 'Unkown'
keys = []
t = eval('type(%s)' % args)
try:
c = eval('%s.__class__' % args)
except:
c = None
try:
d = eval('%s.__bases__' % args)
except:
d = None
title = args
args += '.'
t = c = d = None
else:
raise HTTP(400)
attributes = {}
for key in keys:
a = args + key
if eval('isinstance(%s,SQLDB)' % a) or a == 'vars':
continue
try:
doc1 = eval(a + '.__doc__')
except:
doc1 = 'no documentation'
t1 = eval('type(%s)' % a)
try:
c1 = eval('%s.__class__' % a)
except:
c1 = None
try:
d1 = eval('%s.__bases__' % a)
except:
d1 = ()
attributes[a] = (doc1, t1, c1, d1)
return dict(
title=title,
args=args,
args=request.args,
t=t,
c=c,
d=d,

View File

@@ -1,3 +1,4 @@
def hello1():
""" simple page without template """
@@ -53,13 +54,6 @@ def raisehttp():
raise HTTP(400, 'internal error')
def raiseexception():
""" generates an exeption, logs the event and returns a ticket number """
1 / 0
return 'oops'
def servejs():
""" serves a js document """
@@ -68,7 +62,6 @@ def servejs():
gluon.contenttype.contenttype('.js')
return 'alert("This is a Javascript document, it is not supposed to run!");'
def makejson():
import gluon.contrib.simplejson as sj
return sj.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
@@ -99,7 +92,7 @@ def rss_aggregator():
pubDate=datetime.datetime.now()) for entry in
d.entries])
response.headers['Content-Type'] = 'application/rss+xml'
return rss2.dumps(rss)
return rss.to_xml(encoding='utf-8')
def ajaxwiki():

View File

@@ -1,6 +1,5 @@
from gluon.contrib.spreadsheet import Sheet
def callback():
return cache.ram('sheet1', lambda: None, None).process(request)

View File

@@ -0,0 +1 @@
session.connect(request,response,cookie_key='yoursecret')

View File

@@ -7,6 +7,7 @@
- [[User Voice http://web2py.uservoice.com/ popup]]
#### Learning and Demos
- [[Intro video http://www.youtube.com/watch?v=BXzqmHx6edY]] and [[code examples https://github.com/mjhea0/web2py]]
- [[Killer Web Development Tutorial http://killer-web-development.com/]]
- [[Admin Demo http://www.web2py.com/demo_admin popup]] (web-based IDE)
- [[Welcome App Demo http://www.web2py.com/welcome]] (scaffolding application)

View File

@@ -47,7 +47,7 @@ Here is a more complex complete application that lets the visitor upload images
``
db=DAL('sqlite://storage.db')
db.define_table('image',
Field('name'),
Field('name', notnull=True),
Field('file','upload'))
``:code_python
@@ -55,10 +55,10 @@ db.define_table('image',
``
def index():
form = SQLFORM(db.image)
if form.process().accepted:
form = SQLFORM(db.image).process()
if form.accepted:
response.flash = 'image uploaded'
return dict(form = form)""",counter=None,_class='boxCode')}}
return locals()
``:code_python
### In View
@@ -66,7 +66,7 @@ def index():
``
{{extend 'layout.html'}}
<h1>Image upload form</h1>
{{form}}
{{=form}}
``:code_python
Uploaded images are safely renamed to avoid directory traversal vulnerabilities, stored on the filesystem (or database) and a corresponding entry is inserted in the database, linking the file. A built-in mechanism prevents involuntary double form submission. All DB IO is transaction safe by default. Any exception in the code causes the transaction to rollback.

View File

@@ -0,0 +1 @@
403

View File

@@ -0,0 +1 @@
404

View File

@@ -0,0 +1 @@
500

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,117 +1,16 @@
footer-content {position: relative; bottom: 0; width: 100%;}
.statusbar {
padding: 2px 0;
border: 0;
margin-bottom: 15px;
background-color: #C1CDCD;
/*background: url('../images/menu.png') repeat-x;*/
}
.statusbar a, .statusbar a:visited {
color: #406361;
}
.footer {
position: relative;
}
.footer-content {
height: 100%;
position: absolute;
}
@import url(http://fonts.googleapis.com/css?family=Economica);
@@import url(http://fonts.googleapis.com/css?family=Belleza);
body { font-family: Arial, Helvetica; }
a, a:visited, a:hover, h1,h2,h3,h4,h5 {color: #658883}
a.button {color: #658883}
.sf-menu li, .sf-menu li a { border-radius: 5px;}
.wrapper {
background: url('../images/back-02.png') repeat-x;
padding-top:10px;
a.btn-danger, a.btn-warning, a.btn-success {color:white}
h1,h2,h3,h4,h5 { font-family: "Economica", Arial, Helevtica; }
body {
background: url('../images/stripes.png') repeat-x;
}
h1 { font-size: 32px }
h2 { font-size: 24px }
h3 { font-size: 20px }
h4 { font-size: 14px }
sup {
font-size: 0.5em;
line-height: 2em;
vertical-align: top;
}
ul { list-style: circle outside; padding-left: 30px;}
.frame {
border: 3px solid #959595;
margin-bottom: 5px;
}
.header h5 {
float: left;
}
.logo: {
float:left;
}
.announce {
text-align: center;
color: white;
top: 0;
font-weight: bold;
text-align: center;
left: 0;
position: relative;
background: #000;
border-radius: 5px;
margin: 7px 0 15px;
}
.announce a {color: white}
input:focus, textarea:focus {background:#f0f0f0}
table.downloads { width:100%; }
table.downloads th, table.downloads td {text-align:center;}
table.downloads a.button { width: 150px; }
th,td {padding-right: 10px;}
p {text-align: left;}
p + p {
margin-bottom: .75em;
}
strong {color: inherit;}
img.centered {
margin: 0 auto;
display: block;
}
.tagCloud {
width: 100%;
max-width: 489px;
}
.mainbody {
margin-bottom: 20px;
}
.aboutW2P {
margin-top: 23px;
margin-bottom: 15px;
}
.aboutW2P p {
padding: 0 0.5em;
font-size: 1.15em;
}
.aboutW2P h3 {
padding: 0 0.3em;
}
.userQuotes {
/*border-top: #eee 2px solid;*/
padding-top: 15px;
}
.userQuotes p {
text-align: left;
font-size: 111%;
color: #777;
}
#menu {
padding: 0.1em 0.5em;
#header {
margin-top: 40px;
}
.btn-180 {
width: 180px;
}

View File

@@ -1,629 +0,0 @@
/*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/
/* Table of Content
==================================================
#Reset & Basics
#Basic Styles
#Site Styles
#Typography
#Links
#Lists
#Images
#Buttons
#Tabs
#Forms
#Misc */
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
// ol, ul { list-style: none; } /* WEB2PY EDIT */
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* #Basic Styles
================================================== */
body {
background: #fff;
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%;
}
/* #Typography
================================================== */
h1, h2, h3, h4, h5, h6 {
color: #181818;
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
font-weight: normal; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; }
h2 { font-size: 35px; line-height: 40px; }
h3 { font-size: 28px; line-height: 34px; }
h4 { font-size: 21px; line-height: 30px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }
.subheader { color: #777; }
p { margin: 0 0 20px 0; }
p img { margin: 0; }
p.lead { font-size: 21px; line-height: 27px; color: #777; }
em { font-style: italic; }
strong { font-weight: bold; color: #333; }
small { font-size: 80%; }
/* Blockquotes */
blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px;} /* WEB2PY EDIT */
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
/* #Links
================================================== */
a, a:visited { color: #333; text-decoration: underline; outline: 0; }
a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; }
/* #Lists
================================================== */
ul, ol { margin-bottom: 20px; }
// ul { list-style: none outside; } /* WEB2PY EDIT */
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }
/* #Images
================================================== */
img.scale-with-grid {
max-width: 100%;
height: auto; }
/* #Buttons
================================================== */
a.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
background: #eee; /* Old browsers */
background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
border: 1px solid #aaa;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
padding: 4px 12px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #444;
display: inline-block;
font-size: 1em; /** WEB2PY EDIT **/
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, .75);
cursor: pointer;
margin-bottom: 5px; /** WEB2PY EDIT **/
line-height: 21px;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
a.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
color: #222;
background: #ddd; /* Old browsers */
background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
border: 1px solid #888;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa; }
a.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
border: 1px solid #666;
background: #ccc; /* Old browsers */
background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
width: 100%;
padding-left: 0 !important;
padding-right: 0 !important;
text-align: center; }
/* #Tabs (activate in tabs.js)
================================================== */
ul.tabs {
display: block;
margin: 0 0 20px 0;
padding: 0;
border-bottom: solid 1px #ddd; }
ul.tabs li {
display: block;
width: auto;
height: 30px;
padding: 0;
float: left;
margin-bottom: 0; }
ul.tabs li a {
display: block;
text-decoration: none;
width: auto;
height: 29px;
padding: 0px 20px;
line-height: 30px;
border: solid 1px #ddd;
border-width: 1px 1px 0 0;
margin: 0;
background: #f5f5f5;
font-size: 13px; }
ul.tabs li a.active {
background: #fff;
height: 30px;
position: relative;
top: -4px;
padding-top: 4px;
border-left-width: 1px;
margin: 0 0 0 -1px;
color: #111;
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px;
-moz-border-radius-topright: 2px;
-webkit-border-top-right-radius: 2px;
border-top-right-radius: 2px; }
ul.tabs li:first-child a.active {
margin-left: 0; }
ul.tabs li:first-child a {
border-width: 1px 1px 0 1px;
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px; }
ul.tabs li:last-child a {
-moz-border-radius-topright: 2px;
-webkit-border-top-right-radius: 2px;
border-top-right-radius: 2px; }
ul.tabs-content { margin: 0; display: block; }
ul.tabs-content > li { display:none; }
ul.tabs-content > li.active { display: block; }
/* Clearfixing tabs for beautiful stacking */
ul.tabs:before,
ul.tabs:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
ul.tabs:after {
clear: both; }
ul.tabs {
zoom: 1; }
/* #Forms
================================================== */
form {
margin-bottom: 5px; } /** WEB2PY EDIT **/
fieldset {
margin-bottom: 5px; } /** WEB2PY EDIT **/
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
border: 1px solid #ccc;
padding: 6px 4px;
outline: none;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
margin: 0;
width: 210px;
max-width: 100%;
// display: block; /** WEB2PY EDIT **/
margin-bottom: 0; /** WEB2PY EDIT **/
background: #fff; }
select {
padding: 0; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
border: 1px solid #aaa;
color: #444;
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
box-shadow: 0 0 3px rgba(0,0,0,.2); }
textarea {
min-height: 60px; }
label,
legend {
display: block;
font-weight: bold;
font-size: 13px; }
select {
width: 220px; }
input[type="checkbox"] {
display: inline; }
label span,
legend span {
font-weight: normal;
font-size: 13px;
color: #444; }
/* #Misc
================================================== */
.remove-bottom { margin-bottom: 0 !important; }
.half-bottom { margin-bottom: 10px !important; }
.add-bottom { margin-bottom: 20px !important; }
/*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/
/* Table of Content
==================================================
#Site Styles
#Page Styles
#Media Queries
#Font-Face */
/* #Site Styles
================================================== */
/* #Page Styles
================================================== */
/* #Media Queries
================================================== */
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {}
/* #Font-Face
================================================== */
/* This is the proper syntax for an @font-face file
Just create a "fonts" folder at the root,
copy your FontName into code below and remove
comment brackets */
/* @font-face {
font-family: 'FontName';
src: url('../fonts/FontName.eot');
src: url('../fonts/FontName.eot?iefix') format('eot'),
url('../fonts/FontName.woff') format('woff'),
url('../fonts/FontName.ttf') format('truetype'),
url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
font-weight: normal;
font-style: normal; }
*//*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/
/* Table of Contents
==================================================
#Base 960 Grid
#Tablet (Portrait)
#Mobile (Portrait)
#Mobile (Landscape)
#Clearing */
/* #Base 960 Grid
================================================== */
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
.row { margin-bottom: 20px; }
/* Nested Column Classes */
.column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; }
/* Base Grid */
.container .one.column { width: 40px; }
.container .two.columns { width: 100px; }
.container .three.columns { width: 160px; }
.container .four.columns { width: 220px; }
.container .five.columns { width: 280px; }
.container .six.columns { width: 340px; }
.container .seven.columns { width: 400px; }
.container .eight.columns { width: 460px; }
.container .nine.columns { width: 520px; }
.container .ten.columns { width: 580px; }
.container .eleven.columns { width: 640px; }
.container .twelve.columns { width: 700px; }
.container .thirteen.columns { width: 760px; }
.container .fourteen.columns { width: 820px; }
.container .fifteen.columns { width: 880px; }
.container .sixteen.columns { width: 940px; }
.container .one-third.column { width: 300px; }
.container .two-thirds.column { width: 620px; }
/* Offsets */
.container .offset-by-one { padding-left: 60px; }
.container .offset-by-two { padding-left: 120px; }
.container .offset-by-three { padding-left: 180px; }
.container .offset-by-four { padding-left: 240px; }
.container .offset-by-five { padding-left: 300px; }
.container .offset-by-six { padding-left: 360px; }
.container .offset-by-seven { padding-left: 420px; }
.container .offset-by-eight { padding-left: 480px; }
.container .offset-by-nine { padding-left: 540px; }
.container .offset-by-ten { padding-left: 600px; }
.container .offset-by-eleven { padding-left: 660px; }
.container .offset-by-twelve { padding-left: 720px; }
.container .offset-by-thirteen { padding-left: 780px; }
.container .offset-by-fourteen { padding-left: 840px; }
.container .offset-by-fifteen { padding-left: 900px; }
/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
.container { width: 768px; }
.container .column,
.container .columns { margin-left: 10px; margin-right: 10px; }
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
.container .one.column { width: 28px; }
.container .two.columns { width: 76px; }
.container .three.columns { width: 124px; }
.container .four.columns { width: 172px; }
.container .five.columns { width: 220px; }
.container .six.columns { width: 268px; }
.container .seven.columns { width: 316px; }
.container .eight.columns { width: 364px; }
.container .nine.columns { width: 412px; }
.container .ten.columns { width: 460px; }
.container .eleven.columns { width: 508px; }
.container .twelve.columns { width: 556px; }
.container .thirteen.columns { width: 604px; }
.container .fourteen.columns { width: 652px; }
.container .fifteen.columns { width: 700px; }
.container .sixteen.columns { width: 748px; }
.container .one-third.column { width: 236px; }
.container .two-thirds.column { width: 492px; }
/* Offsets */
.container .offset-by-one { padding-left: 48px; }
.container .offset-by-two { padding-left: 96px; }
.container .offset-by-three { padding-left: 144px; }
.container .offset-by-four { padding-left: 192px; }
.container .offset-by-five { padding-left: 240px; }
.container .offset-by-six { padding-left: 288px; }
.container .offset-by-seven { padding-left: 336px; }
.container .offset-by-eight { padding-left: 348px; }
.container .offset-by-nine { padding-left: 432px; }
.container .offset-by-ten { padding-left: 480px; }
.container .offset-by-eleven { padding-left: 528px; }
.container .offset-by-twelve { padding-left: 576px; }
.container .offset-by-thirteen { padding-left: 624px; }
.container .offset-by-fourteen { padding-left: 672px; }
.container .offset-by-fifteen { padding-left: 720px; }
}
/* #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
.container { width: 300px; }
.columns, .column { margin: 0; }
.container .one.column,
.container .two.columns,
.container .three.columns,
.container .four.columns,
.container .five.columns,
.container .six.columns,
.container .seven.columns,
.container .eight.columns,
.container .nine.columns,
.container .ten.columns,
.container .eleven.columns,
.container .twelve.columns,
.container .thirteen.columns,
.container .fourteen.columns,
.container .fifteen.columns,
.container .sixteen.columns,
.container .one-third.column,
.container .two-thirds.column { width: 300px; }
/* Offsets */
.container .offset-by-one,
.container .offset-by-two,
.container .offset-by-three,
.container .offset-by-four,
.container .offset-by-five,
.container .offset-by-six,
.container .offset-by-seven,
.container .offset-by-eight,
.container .offset-by-nine,
.container .offset-by-ten,
.container .offset-by-eleven,
.container .offset-by-twelve,
.container .offset-by-thirteen,
.container .offset-by-fourteen,
.container .offset-by-fifteen { padding-left: 0; }
}
/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.container { width: 420px; }
.columns, .column { margin: 0; }
.container .one.column,
.container .two.columns,
.container .three.columns,
.container .four.columns,
.container .five.columns,
.container .six.columns,
.container .seven.columns,
.container .eight.columns,
.container .nine.columns,
.container .ten.columns,
.container .eleven.columns,
.container .twelve.columns,
.container .thirteen.columns,
.container .fourteen.columns,
.container .fifteen.columns,
.container .sixteen.columns,
.container .one-third.column,
.container .two-thirds.column { width: 420px; }
}
/* #Clearing
================================================== */
/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.row:after,
.clearfix:after {
clear: both; }
.row,
.clearfix {
zoom: 1; }
/* You can also use a <br class="clear" /> to clear columns */
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}

Some files were not shown because too many files have changed in this diff Show More