Révision 01a79e9a
Ajouté par Assos Assos il y a plus de 10 ans
htmltest/.htaccess | ||
---|---|---|
1 |
# |
|
2 |
# Apache/PHP/Drupal settings: |
|
3 |
# |
|
4 |
|
|
5 |
# Protect files and directories from prying eyes. |
|
6 |
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$"> |
|
7 |
Order allow,deny |
|
8 |
</FilesMatch> |
|
9 |
|
|
10 |
# Don't show directory listings for URLs which map to a directory. |
|
11 |
Options -Indexes |
|
12 |
|
|
13 |
# Follow symbolic links in this directory. |
|
14 |
Options +FollowSymLinks |
|
15 |
|
|
16 |
# Make Drupal handle any 404 errors. |
|
17 |
ErrorDocument 404 /index.php |
|
18 |
|
|
19 |
# Set the default handler. |
|
20 |
DirectoryIndex index.php index.html index.htm |
|
21 |
|
|
22 |
# Override PHP settings that cannot be changed at runtime. See |
|
23 |
# sites/default/default.settings.php and drupal_environment_initialize() in |
|
24 |
# includes/bootstrap.inc for settings that can be changed at runtime. |
|
25 |
|
|
26 |
# PHP 5, Apache 1 and 2. |
|
27 |
<IfModule mod_php5.c> |
|
28 |
php_flag magic_quotes_gpc off |
|
29 |
php_flag magic_quotes_sybase off |
|
30 |
php_flag register_globals off |
|
31 |
php_flag session.auto_start off |
|
32 |
php_value mbstring.http_input pass |
|
33 |
php_value mbstring.http_output pass |
|
34 |
php_flag mbstring.encoding_translation off |
|
35 |
</IfModule> |
|
36 |
|
|
37 |
# Requires mod_expires to be enabled. |
|
38 |
<IfModule mod_expires.c> |
|
39 |
# Enable expirations. |
|
40 |
ExpiresActive On |
|
41 |
|
|
42 |
# Cache all files for 2 weeks after access (A). |
|
43 |
ExpiresDefault A1209600 |
|
44 |
|
|
45 |
<FilesMatch \.php$> |
|
46 |
# Do not allow PHP scripts to be cached unless they explicitly send cache |
|
47 |
# headers themselves. Otherwise all scripts would have to overwrite the |
|
48 |
# headers set by mod_expires if they want another caching behavior. This may |
|
49 |
# fail if an error occurs early in the bootstrap process, and it may cause |
|
50 |
# problems if a non-Drupal PHP file is installed in a subdirectory. |
|
51 |
ExpiresActive Off |
|
52 |
</FilesMatch> |
|
53 |
</IfModule> |
|
54 |
|
|
55 |
# Various rewrite rules. |
|
56 |
<IfModule mod_rewrite.c> |
|
57 |
RewriteEngine on |
|
58 |
|
|
59 |
# Set "protossl" to "s" if we were accessed via https://. This is used later |
|
60 |
# if you enable "www." stripping or enforcement, in order to ensure that |
|
61 |
# you don't bounce between http and https. |
|
62 |
RewriteRule ^ - [E=protossl] |
|
63 |
RewriteCond %{HTTPS} on |
|
64 |
RewriteRule ^ - [E=protossl:s] |
|
65 |
|
|
66 |
# Make sure Authorization HTTP header is available to PHP |
|
67 |
# even when running as CGI or FastCGI. |
|
68 |
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
|
69 |
|
|
70 |
# Block access to "hidden" directories whose names begin with a period. This |
|
71 |
# includes directories used by version control systems such as Subversion or |
|
72 |
# Git to store control files. Files whose names begin with a period, as well |
|
73 |
# as the control files used by CVS, are protected by the FilesMatch directive |
|
74 |
# above. |
|
75 |
# |
|
76 |
# NOTE: This only works when mod_rewrite is loaded. Without mod_rewrite, it is |
|
77 |
# not possible to block access to entire directories from .htaccess, because |
|
78 |
# <DirectoryMatch> is not allowed here. |
|
79 |
# |
|
80 |
# If you do not have mod_rewrite installed, you should remove these |
|
81 |
# directories from your webroot or otherwise protect them from being |
|
82 |
# downloaded. |
|
83 |
RewriteRule "(^|/)\." - [F] |
|
84 |
|
|
85 |
# If your site can be accessed both with and without the 'www.' prefix, you |
|
86 |
# can use one of the following settings to redirect users to your preferred |
|
87 |
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: |
|
88 |
# |
|
89 |
# To redirect all users to access the site WITH the 'www.' prefix, |
|
90 |
# (http://example.com/... will be redirected to http://www.example.com/...) |
|
91 |
# uncomment the following: |
|
92 |
# RewriteCond %{HTTP_HOST} . |
|
93 |
# RewriteCond %{HTTP_HOST} !^www\. [NC] |
|
94 |
# RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
|
95 |
# |
|
96 |
# To redirect all users to access the site WITHOUT the 'www.' prefix, |
|
97 |
# (http://www.example.com/... will be redirected to http://example.com/...) |
|
98 |
# uncomment the following: |
|
99 |
# RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] |
|
100 |
# RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301] |
|
101 |
|
|
102 |
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a |
|
103 |
# VirtualDocumentRoot and the rewrite rules are not working properly. |
|
104 |
# For example if your site is at http://example.com/drupal uncomment and |
|
105 |
# modify the following line: |
|
106 |
# RewriteBase /drupal |
|
107 |
# |
|
108 |
# If your site is running in a VirtualDocumentRoot at http://example.com/, |
|
109 |
# uncomment the following line: |
|
110 |
# RewriteBase / |
|
111 |
|
|
112 |
# Pass all requests not referring directly to files in the filesystem to |
|
113 |
# index.php. Clean URLs are handled in drupal_environment_initialize(). |
|
114 |
RewriteCond %{REQUEST_FILENAME} !-f |
|
115 |
RewriteCond %{REQUEST_FILENAME} !-d |
|
116 |
RewriteCond %{REQUEST_URI} !=/favicon.ico |
|
117 |
RewriteRule ^ index.php [L] |
|
118 |
|
|
119 |
# Rules to correctly serve gzip compressed CSS and JS files. |
|
120 |
# Requires both mod_rewrite and mod_headers to be enabled. |
|
121 |
<IfModule mod_headers.c> |
|
122 |
# Serve gzip compressed CSS files if they exist and the client accepts gzip. |
|
123 |
RewriteCond %{HTTP:Accept-encoding} gzip |
|
124 |
RewriteCond %{REQUEST_FILENAME}\.gz -s |
|
125 |
RewriteRule ^(.*)\.css $1\.css\.gz [QSA] |
|
126 |
|
|
127 |
# Serve gzip compressed JS files if they exist and the client accepts gzip. |
|
128 |
RewriteCond %{HTTP:Accept-encoding} gzip |
|
129 |
RewriteCond %{REQUEST_FILENAME}\.gz -s |
|
130 |
RewriteRule ^(.*)\.js $1\.js\.gz [QSA] |
|
131 |
|
|
132 |
# Serve correct content types, and prevent mod_deflate double gzip. |
|
133 |
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] |
|
134 |
RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1] |
|
135 |
|
|
136 |
<FilesMatch "(\.js\.gz|\.css\.gz)$"> |
|
137 |
# Serve correct encoding type. |
|
138 |
Header set Content-Encoding gzip |
|
139 |
# Force proxies to cache gzipped & non-gzipped css/js files separately. |
|
140 |
Header append Vary Accept-Encoding |
|
141 |
</FilesMatch> |
|
142 |
</IfModule> |
|
143 |
</IfModule> |
htmltest/CHANGELOG.txt | ||
---|---|---|
1 | 1 |
|
2 |
Drupal 7.26, 2014-01-15 |
|
3 |
---------------------- |
|
4 |
- Fixed security issues (multiple vulnerabilities). See SA-CORE-2014-001. |
|
5 |
|
|
2 | 6 |
Drupal 7.25, 2014-01-02 |
3 | 7 |
----------------------- |
4 | 8 |
- Fixed a bug in node_save() which prevented the saved node from being updated |
htmltest/includes/bootstrap.inc | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* The current system version. |
10 | 10 |
*/ |
11 |
define('VERSION', '7.25');
|
|
11 |
define('VERSION', '7.26');
|
|
12 | 12 |
|
13 | 13 |
/** |
14 | 14 |
* Core API compatibility. |
htmltest/includes/form.inc | ||
---|---|---|
235 | 235 |
* likely to occur during Ajax operations. |
236 | 236 |
* - programmed: If TRUE, the form was submitted programmatically, usually |
237 | 237 |
* invoked via drupal_form_submit(). Defaults to FALSE. |
238 |
* - programmed_bypass_access_check: If TRUE, programmatic form submissions |
|
239 |
* are processed without taking #access into account. Set this to FALSE |
|
240 |
* when submitting a form programmatically with values that may have been |
|
241 |
* input by the user executing the current request; this will cause #access |
|
242 |
* to be respected as it would on a normal form submission. Defaults to |
|
243 |
* TRUE. |
|
238 | 244 |
* - process_input: Boolean flag. TRUE signifies correct form submission. |
239 | 245 |
* This is always TRUE for programmed forms coming from drupal_form_submit() |
240 | 246 |
* (see 'programmed' key), or if the form_id coming from the $_POST data is |
... | ... | |
402 | 408 |
'submitted' => FALSE, |
403 | 409 |
'executed' => FALSE, |
404 | 410 |
'programmed' => FALSE, |
411 |
'programmed_bypass_access_check' => TRUE, |
|
405 | 412 |
'cache'=> FALSE, |
406 | 413 |
'method' => 'post', |
407 | 414 |
'groups' => array(), |
... | ... | |
1985 | 1992 |
// #access=FALSE on an element usually allow access for some users, so forms |
1986 | 1993 |
// submitted with drupal_form_submit() may bypass access restriction and be |
1987 | 1994 |
// treated as high-privilege users instead. |
1988 |
$process_input = empty($element['#disabled']) && ($form_state['programmed'] || ($form_state['process_input'] && (!isset($element['#access']) || $element['#access'])));
|
|
1995 |
$process_input = empty($element['#disabled']) && (($form_state['programmed'] && $form_state['programmed_bypass_access_check']) || ($form_state['process_input'] && (!isset($element['#access']) || $element['#access'])));
|
|
1989 | 1996 |
|
1990 | 1997 |
// Set the element's #value property. |
1991 | 1998 |
if (!isset($element['#value']) && !array_key_exists('#value', $element)) { |
htmltest/modules/aggregator/aggregator.info | ||
---|---|---|
7 | 7 |
configure = admin/config/services/aggregator/settings |
8 | 8 |
stylesheets[all][] = aggregator.css |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/aggregator/tests/aggregator_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/block/block.info | ||
---|---|---|
6 | 6 |
files[] = block.test |
7 | 7 |
configure = admin/structure/block |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/block/tests/block_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/block/tests/themes/block_test_theme/block_test_theme.info | ||
---|---|---|
13 | 13 |
regions[highlighted] = Highlighted |
14 | 14 |
regions[help] = Help |
15 | 15 |
|
16 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
17 |
version = "7.25"
|
|
16 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
17 |
version = "7.26"
|
|
18 | 18 |
project = "drupal" |
19 |
datestamp = "1388709506"
|
|
19 |
datestamp = "1389815930"
|
|
20 | 20 |
|
htmltest/modules/blog/blog.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = blog.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/book/book.info | ||
---|---|---|
7 | 7 |
configure = admin/content/book/settings |
8 | 8 |
stylesheets[all][] = book.css |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/color/color.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = color.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/comment/comment.info | ||
---|---|---|
9 | 9 |
configure = admin/content/comment |
10 | 10 |
stylesheets[all][] = comment.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
13 |
version = "7.25"
|
|
12 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
13 |
version = "7.26"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1388709506"
|
|
15 |
datestamp = "1389815930"
|
|
16 | 16 |
|
htmltest/modules/contact/contact.info | ||
---|---|---|
6 | 6 |
files[] = contact.test |
7 | 7 |
configure = admin/structure/contact |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/contextual/contextual.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = contextual.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/dashboard/dashboard.info | ||
---|---|---|
7 | 7 |
dependencies[] = block |
8 | 8 |
configure = admin/dashboard/customize |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/dblog/dblog.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = dblog.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/field/field.info | ||
---|---|---|
11 | 11 |
required = TRUE |
12 | 12 |
stylesheets[all][] = theme/field.css |
13 | 13 |
|
14 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
15 |
version = "7.25"
|
|
14 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
15 |
version = "7.26"
|
|
16 | 16 |
project = "drupal" |
17 |
datestamp = "1388709506"
|
|
17 |
datestamp = "1389815930"
|
|
18 | 18 |
|
htmltest/modules/field/modules/field_sql_storage/field_sql_storage.info | ||
---|---|---|
7 | 7 |
files[] = field_sql_storage.test |
8 | 8 |
required = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/field/modules/list/list.info | ||
---|---|---|
7 | 7 |
dependencies[] = options |
8 | 8 |
files[] = tests/list.test |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/field/modules/list/tests/list_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/field/modules/number/number.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = number.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/field/modules/options/options.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = options.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/field/modules/text/text.info | ||
---|---|---|
7 | 7 |
files[] = text.test |
8 | 8 |
required = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/field/tests/field_test.info | ||
---|---|---|
6 | 6 |
version = VERSION |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/field_ui/field_ui.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = field_ui.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/file/file.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = tests/file.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/file/tests/file_module_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/filter/filter.info | ||
---|---|---|
7 | 7 |
required = TRUE |
8 | 8 |
configure = admin/config/content/formats |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/forum/forum.info | ||
---|---|---|
9 | 9 |
configure = admin/structure/forum |
10 | 10 |
stylesheets[all][] = forum.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
13 |
version = "7.25"
|
|
12 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
13 |
version = "7.26"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1388709506"
|
|
15 |
datestamp = "1389815930"
|
|
16 | 16 |
|
htmltest/modules/help/help.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = help.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/image/image.info | ||
---|---|---|
7 | 7 |
files[] = image.test |
8 | 8 |
configure = admin/config/media/image-styles |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/image/tests/image_module_test.info | ||
---|---|---|
6 | 6 |
files[] = image_module_test.module |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/locale/locale.info | ||
---|---|---|
6 | 6 |
files[] = locale.test |
7 | 7 |
configure = admin/config/regional/language |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/locale/tests/locale_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/menu/menu.info | ||
---|---|---|
6 | 6 |
files[] = menu.test |
7 | 7 |
configure = admin/structure/menu |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/node/node.info | ||
---|---|---|
9 | 9 |
configure = admin/structure/types |
10 | 10 |
stylesheets[all][] = node.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
13 |
version = "7.25"
|
|
12 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
13 |
version = "7.26"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1388709506"
|
|
15 |
datestamp = "1389815930"
|
|
16 | 16 |
|
htmltest/modules/node/tests/node_access_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/node/tests/node_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/node/tests/node_test_exception.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/openid/openid.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = openid.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/openid/openid.install | ||
---|---|---|
15 | 15 |
'idp_endpoint_uri' => array( |
16 | 16 |
'type' => 'varchar', |
17 | 17 |
'length' => 255, |
18 |
'description' => 'URI of the OpenID Provider endpoint.', |
|
18 |
'not null' => TRUE, |
|
19 |
'description' => 'Primary Key: URI of the OpenID Provider endpoint.', |
|
19 | 20 |
), |
20 | 21 |
'assoc_handle' => array( |
21 | 22 |
'type' => 'varchar', |
22 | 23 |
'length' => 255, |
23 | 24 |
'not null' => TRUE, |
24 |
'description' => 'Primary Key: Used to refer to this association in subsequent messages.',
|
|
25 |
'description' => 'Used to refer to this association in subsequent messages.', |
|
25 | 26 |
), |
26 | 27 |
'assoc_type' => array( |
27 | 28 |
'type' => 'varchar', |
... | ... | |
51 | 52 |
'description' => 'The lifetime, in seconds, of this association.', |
52 | 53 |
), |
53 | 54 |
), |
54 |
'primary key' => array('assoc_handle'), |
|
55 |
'primary key' => array('idp_endpoint_uri'), |
|
56 |
'unique keys' => array( |
|
57 |
'assoc_handle' => array('assoc_handle'), |
|
58 |
), |
|
55 | 59 |
); |
56 | 60 |
|
57 | 61 |
$schema['openid_nonce'] = array( |
... | ... | |
158 | 162 |
/** |
159 | 163 |
* @} End of "addtogroup updates-6.x-to-7.x". |
160 | 164 |
*/ |
165 |
|
|
166 |
/** |
|
167 |
* @addtogroup updates-7.x-extra |
|
168 |
* @{ |
|
169 |
*/ |
|
170 |
|
|
171 |
/** |
|
172 |
* Bind associations to their providers. |
|
173 |
*/ |
|
174 |
function openid_update_7000() { |
|
175 |
db_drop_table('openid_association'); |
|
176 |
|
|
177 |
$schema = array( |
|
178 |
'description' => 'Stores temporary shared key association information for OpenID authentication.', |
|
179 |
'fields' => array( |
|
180 |
'idp_endpoint_uri' => array( |
|
181 |
'type' => 'varchar', |
|
182 |
'length' => 255, |
|
183 |
'not null' => TRUE, |
|
184 |
'description' => 'Primary Key: URI of the OpenID Provider endpoint.', |
|
185 |
), |
|
186 |
'assoc_handle' => array( |
|
187 |
'type' => 'varchar', |
|
188 |
'length' => 255, |
|
189 |
'not null' => TRUE, |
|
190 |
'description' => 'Used to refer to this association in subsequent messages.', |
|
191 |
), |
|
192 |
'assoc_type' => array( |
|
193 |
'type' => 'varchar', |
|
194 |
'length' => 32, |
|
195 |
'description' => 'The signature algorithm used: one of HMAC-SHA1 or HMAC-SHA256.', |
|
196 |
), |
|
197 |
'session_type' => array( |
|
198 |
'type' => 'varchar', |
|
199 |
'length' => 32, |
|
200 |
'description' => 'Valid association session types: "no-encryption", "DH-SHA1", and "DH-SHA256".', |
|
201 |
), |
|
202 |
'mac_key' => array( |
|
203 |
'type' => 'varchar', |
|
204 |
'length' => 255, |
|
205 |
'description' => 'The MAC key (shared secret) for this association.', |
|
206 |
), |
|
207 |
'created' => array( |
|
208 |
'type' => 'int', |
|
209 |
'not null' => TRUE, |
|
210 |
'default' => 0, |
|
211 |
'description' => 'UNIX timestamp for when the association was created.', |
|
212 |
), |
|
213 |
'expires_in' => array( |
|
214 |
'type' => 'int', |
|
215 |
'not null' => TRUE, |
|
216 |
'default' => 0, |
|
217 |
'description' => 'The lifetime, in seconds, of this association.', |
|
218 |
), |
|
219 |
), |
|
220 |
'primary key' => array('idp_endpoint_uri'), |
|
221 |
'unique keys' => array( |
|
222 |
'assoc_handle' => array('assoc_handle'), |
|
223 |
), |
|
224 |
); |
|
225 |
db_create_table('openid_association', $schema); |
|
226 |
} |
|
227 |
|
|
228 |
/** |
|
229 |
* @} End of "addtogroup updates-7.x-extra". |
|
230 |
*/ |
htmltest/modules/openid/openid.module | ||
---|---|---|
839 | 839 |
// direct verification: ignore the openid.assoc_handle, even if present. |
840 | 840 |
// See http://openid.net/specs/openid-authentication-2_0.html#rfc.section.11.4.1 |
841 | 841 |
if (!empty($response['openid.assoc_handle']) && empty($response['openid.invalidate_handle'])) { |
842 |
$association = db_query("SELECT * FROM {openid_association} WHERE assoc_handle = :assoc_handle", array(':assoc_handle' => $response['openid.assoc_handle']))->fetchObject();
|
|
842 |
$association = db_query("SELECT * FROM {openid_association} WHERE idp_endpoint_uri = :endpoint AND assoc_handle = :assoc_handle", array(':endpoint' => $service['uri'], ':assoc_handle' => $response['openid.assoc_handle']))->fetchObject();
|
|
843 | 843 |
} |
844 | 844 |
|
845 | 845 |
if ($association && isset($association->session_type)) { |
... | ... | |
871 | 871 |
// database to avoid reusing it again on a subsequent authentication request. |
872 | 872 |
// See http://openid.net/specs/openid-authentication-2_0.html#rfc.section.11.4.2.2 |
873 | 873 |
db_delete('openid_association') |
874 |
->condition('idp_endpoint_uri', $service['uri']) |
|
874 | 875 |
->condition('assoc_handle', $response['invalidate_handle']) |
875 | 876 |
->execute(); |
876 | 877 |
} |
htmltest/modules/openid/tests/openid_test.info | ||
---|---|---|
6 | 6 |
dependencies[] = openid |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/overlay/overlay.info | ||
---|---|---|
4 | 4 |
version = VERSION |
5 | 5 |
core = 7.x |
6 | 6 |
|
7 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
8 |
version = "7.25"
|
|
7 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
8 |
version = "7.26"
|
|
9 | 9 |
project = "drupal" |
10 |
datestamp = "1388709506"
|
|
10 |
datestamp = "1389815930"
|
|
11 | 11 |
|
htmltest/modules/path/path.info | ||
---|---|---|
6 | 6 |
files[] = path.test |
7 | 7 |
configure = admin/config/search/path |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/php/php.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = php.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/poll/poll.info | ||
---|---|---|
6 | 6 |
files[] = poll.test |
7 | 7 |
stylesheets[all][] = poll.css |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/profile/profile.info | ||
---|---|---|
11 | 11 |
; See user_system_info_alter(). |
12 | 12 |
hidden = TRUE |
13 | 13 |
|
14 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
15 |
version = "7.25"
|
|
14 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
15 |
version = "7.26"
|
|
16 | 16 |
project = "drupal" |
17 |
datestamp = "1388709506"
|
|
17 |
datestamp = "1389815930"
|
|
18 | 18 |
|
htmltest/modules/rdf/rdf.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = rdf.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/rdf/tests/rdf_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/search/search.info | ||
---|---|---|
8 | 8 |
configure = admin/config/search/settings |
9 | 9 |
stylesheets[all][] = search.css |
10 | 10 |
|
11 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
12 |
version = "7.25"
|
|
11 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
12 |
version = "7.26"
|
|
13 | 13 |
project = "drupal" |
14 |
datestamp = "1388709506"
|
|
14 |
datestamp = "1389815930"
|
|
15 | 15 |
|
htmltest/modules/search/tests/search_embedded_form.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/search/tests/search_extra_type.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/shortcut/shortcut.info | ||
---|---|---|
6 | 6 |
files[] = shortcut.test |
7 | 7 |
configure = admin/config/user-interface/shortcut |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/simpletest/simpletest.info | ||
---|---|---|
55 | 55 |
files[] = tests/upgrade/update.field.test |
56 | 56 |
files[] = tests/upgrade/update.user.test |
57 | 57 |
|
58 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
59 |
version = "7.25"
|
|
58 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
59 |
version = "7.26"
|
|
60 | 60 |
project = "drupal" |
61 |
datestamp = "1388709506"
|
|
61 |
datestamp = "1389815930"
|
|
62 | 62 |
|
htmltest/modules/simpletest/tests/actions_loop_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/ajax_forms_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/ajax_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/batch_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/common_test.info | ||
---|---|---|
7 | 7 |
stylesheets[print][] = common_test.print.css |
8 | 8 |
hidden = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
11 |
version = "7.25"
|
|
10 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
11 |
version = "7.26"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1388709506"
|
|
13 |
datestamp = "1389815930"
|
|
14 | 14 |
|
htmltest/modules/simpletest/tests/common_test_cron_helper.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/database_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/entity_cache_test.info | ||
---|---|---|
6 | 6 |
dependencies[] = entity_cache_test_dependency |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/simpletest/tests/entity_cache_test_dependency.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/entity_crud_hook_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/entity_query_access_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/error_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/file_test.info | ||
---|---|---|
6 | 6 |
files[] = file_test.module |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
10 |
version = "7.25"
|
|
9 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
10 |
version = "7.26"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1388709506"
|
|
12 |
datestamp = "1389815930"
|
|
13 | 13 |
|
htmltest/modules/simpletest/tests/filter_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/form.test | ||
---|---|---|
1486 | 1486 |
$this->submitForm(array('textfield' => 'dummy value', 'checkboxes' => array(1 => NULL, 2 => 2)), TRUE); |
1487 | 1487 |
$this->submitForm(array('textfield' => 'dummy value', 'checkboxes' => array(1 => NULL, 2 => NULL)), TRUE); |
1488 | 1488 |
|
1489 |
// Test that a programmatic form submission can successfully submit values |
|
1490 |
// even for fields where the #access property is FALSE. |
|
1491 |
$this->submitForm(array('textfield' => 'dummy value', 'textfield_no_access' => 'test value'), TRUE); |
|
1492 |
// Test that #access is respected for programmatic form submissions when |
|
1493 |
// requested to do so. |
|
1494 |
$submitted_values = array('textfield' => 'dummy value', 'textfield_no_access' => 'test value'); |
|
1495 |
$expected_values = array('textfield' => 'dummy value', 'textfield_no_access' => 'default value'); |
|
1496 |
$form_state = array('programmed_bypass_access_check' => FALSE); |
|
1497 |
$this->submitForm($submitted_values, TRUE, $expected_values, $form_state); |
|
1498 |
|
|
1489 | 1499 |
// Test that a programmatic form submission can correctly click a button |
1490 | 1500 |
// that limits validation errors based on user input. Since we do not |
1491 | 1501 |
// submit any values for "textfield" here and the textfield is required, we |
... | ... | |
1508 | 1518 |
* @param $valid_input |
1509 | 1519 |
* A boolean indicating whether or not the form submission is expected to |
1510 | 1520 |
* be valid. |
1521 |
* @param $expected_values |
|
1522 |
* (Optional) An array of field values that are expected to be stored by |
|
1523 |
* the form submit handler. If not set, the submitted $values are assumed |
|
1524 |
* to also be the expected stored values. |
|
1525 |
* @param $form_state |
|
1526 |
* (Optional) A keyed array containing the state of the form, to be sent in |
|
1527 |
* the call to drupal_form_submit(). The $values parameter is added to |
|
1528 |
* $form_state['values'] by default, if it is not already set. |
|
1511 | 1529 |
*/ |
1512 |
private function submitForm($values, $valid_input) { |
|
1530 |
private function submitForm($values, $valid_input, $expected_values = NULL, $form_state = array()) {
|
|
1513 | 1531 |
// Programmatically submit the given values. |
1514 |
$form_state = array('values' => $values); |
|
1532 |
$form_state += array('values' => $values);
|
|
1515 | 1533 |
drupal_form_submit('form_test_programmatic_form', $form_state); |
1516 | 1534 |
|
1517 | 1535 |
// Check that the form returns an error when expected, and vice versa. |
... | ... | |
1528 | 1546 |
// By fetching the values from $form_state['storage'] we ensure that the |
1529 | 1547 |
// submission handler was properly executed. |
1530 | 1548 |
$stored_values = $form_state['storage']['programmatic_form_submit']; |
1531 |
foreach ($values as $key => $value) { |
|
1549 |
if (!isset($expected_values)) { |
|
1550 |
$expected_values = $values; |
|
1551 |
} |
|
1552 |
foreach ($expected_values as $key => $value) { |
|
1532 | 1553 |
$this->assertTrue(isset($stored_values[$key]) && $stored_values[$key] == $value, format_string('Submission handler correctly executed: %stored_key is %stored_value', array('%stored_key' => $key, '%stored_value' => print_r($value, TRUE)))); |
1533 | 1554 |
} |
1534 | 1555 |
} |
htmltest/modules/simpletest/tests/form_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
htmltest/modules/simpletest/tests/form_test.module | ||
---|---|---|
1548 | 1548 |
'#default_value' => array(1, 2), |
1549 | 1549 |
); |
1550 | 1550 |
|
1551 |
// This is used to test that programmatic form submissions can bypass #access |
|
1552 |
// restrictions. |
|
1553 |
$form['textfield_no_access'] = array( |
|
1554 |
'#type' => 'textfield', |
|
1555 |
'#title' => 'Textfield no access', |
|
1556 |
'#default_value' => 'default value', |
|
1557 |
'#access' => FALSE, |
|
1558 |
); |
|
1559 |
|
|
1551 | 1560 |
$form['field_to_validate'] = array( |
1552 | 1561 |
'#type' => 'radios', |
1553 | 1562 |
'#title' => 'Field to validate (in the case of limited validation)', |
htmltest/modules/simpletest/tests/image_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2014-01-03
|
|
9 |
version = "7.25"
|
|
8 |
; Information added by Drupal.org packaging script on 2014-01-15
|
|
9 |
version = "7.26"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1388709506"
|
|
11 |
datestamp = "1389815930"
|
|
12 | 12 |
|
Formats disponibles : Unified diff
Update to drupal 7.26