Commit Graph

5269 Commits

Author SHA1 Message Date
Szabolcs Gyuris cf12028be6 S/Mime (X.509) keyfile, sign_certfile, sign_chainfile, crypt_certfile can be strings.
mail.send() function can set signing and encryption settings.
2014-05-14 09:11:46 +02:00
Joel Rathgaber 4ff63694c7 Prevent error in restful decorator from swallowing up stacktrace 2014-05-13 12:03:46 -06:00
ortgit 89893c91da Update tools.py
Forgot to import 'random' module.
2014-05-12 17:08:00 -04:00
ortgit 9b4f721c71 Look in auth_group table for group role name, and use Rows correctly. 2014-05-12 16:25:23 -04:00
Jeremie Dokime f684769638 Fix LOAD() in restful context
When you call LOAD() on a controller who has some actions decorates with @request.restful(), it fail with:
@request.restful()
TypeError: 'NoneType' object is not callable
=> because LOAD use other_request variable who are a Request but without all methods and therefore without restful method.
I've just mock the restful method but I think that the real restful method will be better...
2014-05-12 17:41:19 +02:00
Jeremie Dokime 9892d29bb9 Better HTTP code for method not supported
Change HTTP code to raise from 400 to 405 (Method Not Allowed).
2014-05-12 16:54:18 +02:00
mdipierro 27bb2ee6b8 removed some files but not all (for now) 2014-05-09 15:24:18 -05:00
mdipierro c8a8a4aa91 Merge pull request #438 from szimszon/master
Add support for certificate chaining for s/mime sign in Mail
2014-05-07 17:10:13 -05:00
mdipierro 993cc16a25 syncing 2014-05-07 17:09:03 -05:00
mdipierro 4d4c2b3f37 Merge pull request #436 from BuhtigithuB/patch-5
PEP8 improvements white space here and there
2014-05-07 17:05:37 -05:00
mdipierro f71d9bb4b0 cgi.parse_qs deprecated -> urlparse.parse_qs, thanks BuhtigithuB 2014-05-07 17:04:34 -05:00
Szabolcs Gyuris 9ea32bf579 Add support for certificate chaining for s/mime sign in Mail 2014-05-07 09:21:39 +02:00
BuhtigithuB 4ab3631f1c Fix wrong space insert in patch 2014-05-04 12:17:31 -04:00
BuhtigithuB 32ef767ed0 ley -> key 2014-05-04 12:12:18 -04:00
BuhtigithuB 377a69ced9 PEP8 improvements white space here and there
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-05-04 12:02:08 -04:00
BuhtigithuB df0db657a7 PEP8 improvements white space here and there
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-05-02 15:27:26 -04:00
ortgit d3bcde04be Modified email subject to generic message. 2014-04-27 02:13:02 -04:00
ortgit 87edbccf5b Added support for two-step authentication. The login function will
now email a 6-digit code to users if the user is part of a group
with role 'web2py TWo-Step Authentication'.
2014-04-27 01:39:51 -04:00
BuhtigithuB bc1e9b5c98 PEP8 improvements white space here and there
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-04-24 12:25:34 -04:00
mdipierro accc7bdf38 Merge pull request #428 from BuhtigithuB/patch-1
Switch for .grid() advanced_search widget
2014-04-24 00:00:04 -05:00
Michele Comitini 5f636c5ba2 fix headers in SQLTABLE to handle quoted entities 2014-04-24 01:09:23 +02:00
BuhtigithuB 75aa927c4b Switch for .grid() advanced_search widget
Virtual basic search widget only by removing the _onfocus trigger even that prevent the advanced search to unfold. advanced_search is True by default for backward compatibility...
2014-04-23 14:34:27 -04:00
Michele Comitini dcd92daa24 apply same rules as DAL's to find tables and fields in column names 2014-04-23 09:45:22 +02:00
Massimo 7e470d7786 added missing files 2014-04-15 10:22:57 -05:00
Massimo caafff74b3 reverted rpx_account for backward compatibility and added janrain_account for the new engage.js api 2014-04-15 10:16:02 -05:00
mdipierro ddc21ee05b Merge pull request #426 from ortgit/issue/1919
Check whether memdb record is None before trying to read its keys
2014-04-15 09:48:32 -05:00
ortgit 3bb939d3fe Check whether record is None before trying to read its keys otherwise app crashes on GAE (and other memdb's) 2014-04-14 01:55:30 -04:00
ortgit 222b087a8d time_expire=0 should clear memcache entry
If time_expire=0, then the cache should be cleared and reset with the
latest value to stay compatible with documented web2py functionality of
how caching works. Previous change broke this compatibility while adding
efficiency in other cases.
2014-04-14 01:32:54 -04:00
mdipierro 53ecc17b57 Merge pull request #424 from omartrinidad/master
Updated regex to manage white space in titles
2014-04-13 10:39:53 -05:00
Omar Trinidad Gutiérrez Méndez 98a3c4aa37 Updated regex to manage white space in titles
Addition of `\s*` in some regex in order to have the same behavior as in markmin2html. That is:
    
    # Title
and
    #Title

or:

    ## Title
and
    ##Title
2014-04-10 08:39:55 -05:00
mdipierro 347a0d66cd Merge pull request #423 from omartrinidad/master
Rewritten a regex
2014-04-09 18:10:49 -05:00
Omar Trinidad Gutiérrez Méndez 8b95c85512 Rewritten a regex
Rewritten a regular expression from two lines to one line.
2014-04-09 16:50:30 -05:00
mdipierro 080575720d Merge pull request #420 from omartrinidad/master
Deleted repeated line
2014-04-08 22:49:39 -05:00
Omar Trinidad Gutiérrez Méndez ae3bf270cf Fixed typo
Fixed typo
2014-04-08 18:39:06 -05:00
Omar Trinidad Gutiérrez Méndez ad1f1d21d4 Deleted repeated line
Deleted repeated line
2014-04-08 10:47:26 -05:00
mdipierro 39ee2a5991 skip languages write test on GAE 2014-04-07 12:16:19 -05:00
mdipierro 6e3070763e Merge pull request #417 from niphlod/fix/wiki_preview
jQuery 1.9 removed toggle(function(), function()). And nobody noticed.
2014-04-05 17:25:36 -05:00
mdipierro 2fb8b05906 fixed some licensing issues 2014-04-02 09:19:52 -05:00
niphlod a3528339c7 jQuery 1.9 removed toggle(function(), function()). And nobody noticed. 2014-04-02 00:02:05 +02:00
unknown 4358313eea Now routes.py will be gotten from applications_parent in case of using main.HttpServer.
Previous behavior: route.py must be located in gluon_parent which is wrong.
2014-03-31 19:17:51 +04:00
mdipierro 8d648f6137 restore beahvior in gae that if no limitby, returns iterator 2014-03-31 00:19:04 -05:00
mdipierro 52b55889dd fixed the proble with count on GAE 2014-03-31 00:07:31 -05:00
mdipierro 0caae1f8d4 better support for google datastore 2014-03-30 23:36:51 -05:00
mdipierro 74b0bd9c3a web2py.py -G config, will make GAE config easier 2014-03-29 17:43:49 -05:00
mdipierro 49f4e38658 db.define_table(...table_hash=...) to override hash in .table file, thanks dmvieira 2014-03-29 17:19:12 -05:00
mdipierro 338a4256ca Merge pull request #415 from niphlod/docs/dal
sphinx-compatible docstrings (and we're finished!!!!!)
2014-03-29 17:08:53 -05:00
mdipierro 267cd08af6 gae search not fecthed by key to ensure consistency, thanks Luca 2014-03-28 23:51:27 -05:00
niphlod 874abf67ae sphinx-compatible docstrings (and we're finished!!!!!) 2014-03-27 22:50:27 +01:00
mdipierro 0c1fa92705 Merge pull request #411 from niphlod/docs/te-x
sphinx-compatible docstring (only DAL remains)
2014-03-25 12:16:42 -05:00
niphlod b20b7ecb19 sphinx-compatible docstring (only DAL remains) 2014-03-24 22:30:50 +01:00