1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-20 08:05:19 +01:00

161 Commits

Author SHA1 Message Date
rxu
022b58f986
[ticket/16582] Fix SQL error on registration with Numbers CPF with no default
PHPBB3-16582
2020-11-28 19:01:25 +07:00
Marc Alexander
2a8239075e
Merge branch '3.2.x' into 3.3.x 2020-08-06 17:21:58 +02:00
rxu
befab4f3c1
[ticket/16524] Remove u_emoji permission checks
PHPBB3-16524
2020-07-21 11:00:41 +02:00
rxu
b1c6b3bc94
[ticket/16524] Minor code adjustments
PHPBB3-16524
2020-07-21 11:00:17 +02:00
rxu
acd824d432
[ticket/16524] Filter out-of-bounds UTF8 characters for profile fields
PHPBB3-16524
2020-07-21 11:00:15 +02:00
Marc Alexander
c5d83ef715
Merge branch '3.2.x' into 3.3.x 2020-05-14 17:44:22 +02:00
mrgoldy
c8e92608fd [ticket/13867] Correct constructor comment for db tools
PHPBB3-13867
2020-05-04 22:05:07 +02:00
Alfredo Ramos
43e3b3e328 [ticket/16315] Remove Google+ profile field
PHPBB3-16315
2020-03-24 22:16:51 -06:00
mrgoldy
9080a0e778 [ticket/13867] Force data type in profile fields manager
PHPBB3-13867
2020-03-24 00:28:00 +01:00
mrgoldy
d26e0423f7 [ticket/13867] Amend profile fields manager constructor
PHPBB3-13867
2020-03-23 22:47:18 +01:00
mrgoldy
84cd7e496b [ticket/13867] Amend profile fields manager
PHPBB3-13867
2020-03-23 22:40:04 +01:00
Tristan Darricau
b3f3886cd9 [ticket/13867] Add tests
PHPBB3-13867
2020-03-23 22:37:51 +01:00
javiexin
b1e1ee7d55 [ticket/13867] Enable/disable mechanism for new profile field types
Adds methods to enable, disable and purge profile field types to the
profilefields\manager class. These methods are to be called from
extensions that add new profile field types on the enable, disable
and purge methods of the ext class. If not done, any profile field
of a new type that is left after extension is disabled or removed will
break the forum in several places.
Remove dependency from container, add dependencies with specific classes.
Change try/catch by !isset.
Execute requested changes: more meaningful var names, json_encode, empty.
Execute requested changes: separate a utilit list function, use
sql_in_set, use single quotes ('). Remove code approved in a different PR.

PHPBB3-13867
2020-03-23 22:37:50 +01:00
javiexin
b60322f729 [ticket/13867] Enable/disable mechanism for new profile field types
Adds methods to enable, disable and purge profile field types to the
profilefields\manager class. These methods are to be called from
extensions that add new profile field types on the enable, disable
and purge methods of the ext class. If not done, any profile field
of a new type that is left after extension is disabled or removed will
break the forum in several places.
Remove dependency from container, add dependencies with specific classes.
Change try/catch by !isset.
Execute requested changes: more meaningful var names, json_encode, empty.

PHPBB3-13867
2020-03-23 22:37:29 +01:00
javiexin
b89539a70e [ticket/13867] Enable/disable mechanism for new profile field types
Adds methods to enable, disable and purge profile field types to the
profilefields\manager class. These methods are to be called from
extensions that add new profile field types on the enable, disable
and purge methods of the ext class. If not done, any profile field
of a new type that is left after extension is disabled or removed will
break the forum in several places.
Remove dependency from container, add dependencies with specific classes.
Change try/catch by !isset.

PHPBB3-13867
2020-03-23 22:34:31 +01:00
javiexin
78ea308608 [ticket/13867] Enable/disable mechanism for new profile field types
Adds methods to enable, disable and purge profile field types to the
profilefields\manager class.  These methods are to be called from
extensions that add new profile field types on the enable, disable
and purge methods of the ext class.  If not done, any profile field
of a new type that is left after extension is disabled or removed will
break the forum in several places.

PHPBB3-13867
2020-03-23 22:34:31 +01:00
kasimi
9d5f9606a4
[ticket/16149] Always return default profile field data
PHPBB3-16149
2020-01-27 15:37:12 +01:00
Marc Alexander
1b4bad6583
Merge remote-tracking branch 'upstream/3.2.x' into prep-release-3.2.2 2018-01-07 11:02:31 +01:00
Marc Alexander
3ae0169542
Merge remote-tracking branch 'phpbb-security/prep-release-3.1.12' into prep-release-3.2.2 2018-01-07 10:48:43 +01:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
bf5f11e11a
Merge branch 'ticket/security/211' into ticket/security/211-rhea 2018-01-01 11:54:37 +01:00
Marc Alexander
342a7cbd55
[ticket/security/211] Allow make_clickable() again after change to regex
SECURITY-211
2017-08-03 22:23:08 +02:00
Marc Alexander
2749bfe26c
[ticket/security/211] Only run make_clickable() on URL type profile fields
SECURITY-211
2017-07-23 10:40:30 +02:00
Marc Alexander
882a3c3831
[ticket/security/211] Make sure website URL only uses http & https schemes
SECURITY-211
2017-07-22 17:38:04 +02:00
Tristan Darricau
3661398a78
Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15146] Date profile field validation incorrect
2017-04-19 22:52:56 +02:00
Tristan Darricau
8ae7d2495c
Merge pull request #4763 from javiexin/ticket/15146
[ticket/15146] Date profile field validation incorrect

* github.com:phpbb/phpbb:
  [ticket/15146] Date profile field validation incorrect
2017-04-19 22:52:55 +02:00
javiexin
71a3f12d2a [ticket/15146] Date profile field validation incorrect
Fix by changing select input field options to match validation range

PHPBB3-15146
2017-03-24 23:55:27 +01:00
Richard McGirr
02b5873442 [ticket/15010] Fix incorrect use of request
https://tracker.phpbb.com/browse/PHPBB3-15010

PHPBB3-15010
2017-01-14 09:18:55 -05:00
Tristan Darricau
809d73ca5e
Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14889] Missing method in profile fields type interface
2016-12-11 20:41:42 +01:00
Tristan Darricau
230e737790
Merge pull request #4558 from javiexin/ticket/14889
[ticket/14889] Missing method in profile fields type interface

* javiexin/ticket/14889:
  [ticket/14889] Missing method in profile fields type interface
2016-12-11 20:41:39 +01:00
Marc Alexander
72529cd179
Merge branch '3.1.x' into 3.2.x 2016-12-05 19:15:37 +01:00
javiexin
591eff9e78 [ticket/14890] Typo in input validation of profile fields of type string
This bug was introduced by PHPBB3-14272

PHPBB3-14890
2016-12-05 18:35:16 +01:00
javiexin
47e418e50e [ticket/14889] Missing method in profile fields type interface
Completes the profile fields type interface by defining a missing
required method for all implementations of a type.

PHPBB3-14889
2016-12-05 01:07:43 +01:00
Marc Alexander
1600d82b77 Merge remote-tracking branch 'origin/ticket/14272' into ticket/14272-3.2.x
Conflicts:
	phpBB/adm/style/acp_icons.html
	phpBB/includes/acp/acp_groups.php
	phpBB/includes/acp/acp_users.php
	phpBB/includes/functions_acp.php
	phpBB/includes/ucp/ucp_groups.php
	phpBB/styles/prosilver/template/ucp_avatar_options_gravatar.html
	phpBB/styles/prosilver/template/ucp_avatar_options_remote.html
	phpBB/styles/subsilver2/template/mcp_topic.html
	phpBB/styles/subsilver2/template/posting_attach_body.html
	phpBB/styles/subsilver2/template/posting_body.html
	phpBB/styles/subsilver2/template/posting_poll_body.html
	phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html
	phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
2016-03-27 09:59:25 +02:00
Marc Alexander
aca6e64669 [ticket/14272] Only use maxlength and size for allowed input elements
PHPBB3-14272
2015-11-06 10:20:05 +01:00
Marc Alexander
942705e6c6 Merge branch '3.1.x' 2015-08-20 15:48:18 +02:00
Marc Alexander
897b9f333b [ticket/14037] Minor coding style improvements to event
PHPBB3-14037
2015-08-20 10:14:07 +02:00
javiexin
cf0170d5e3 [ticket/14037] Allows adapting memberlist profile fields headline
Adds an event to allow modifying the profile fields headline in line
with modifications to profile fields data.

PHPBB3-14037
2015-08-20 10:12:59 +02:00
Gaëtan Muller
f6e06da4c6 [ticket/13455] Update calls to request_var()
PHPBB3-13455
2015-02-03 20:50:40 +01:00
Joas Schilling
d1bff80dd1 [ticket/13528] Return correct translation instead of is_set()
PHPBB3-13528
2015-01-20 22:56:33 +01:00
Joas Schilling
f02dc44a23 Merge pull request #3138 from prototech/ticket/12642
[ticket/12642] Ensure CPF type specific options are set when editing booleans.
2015-01-20 22:46:08 +01:00
Marc Alexander
67c987f0d0 Merge pull request #3166 from nickvergessen/Senky-ticket/12866
[ticket/12866] Wrong profile field validation options
2015-01-10 12:36:49 +01:00
Jakub Senko
b7f69edaa2 [ticket/12866] Assume underscore is part of \w
PHPBB3-12866
2014-11-28 20:00:48 +01:00
rxu
a8c62e707a [ticket/12926] Support for IDN (IRI)
Add international domain name support for URLs.

PHPBB3-12926
2014-11-27 01:18:49 +07:00
Cesar G
d43f196fa6 [ticket/12642] Ensure CPF type specific options are set when editing booleans.
prepare_hidden_fields is expected to return null if the option is not sent
in the request. The boolean method returns false instead, which results in
the options being set as false in hidden fields when accessing the first edit
step.

When checking the "Default value" option, there is also a failure to check
whether the "Field type" option is set to checkbox, thus resulting in this
option getting lost as well.

PHPBB3-12642
2014-11-11 16:48:25 -08:00
Cesar G
ec220d6494 [ticket/13209] Gather language field values for boolean CPF's in all steps.
The user can move back and forth between all three steps and as such the lang
field data should be expected in all steps.

PHPBB3-13209
2014-11-11 16:32:04 -08:00
Cesar G
3108d0b060 [ticket/13209] Fix expected request value of CPF language fields.
Multiple languages can be edited, thus the expected value is an array.

PHPBB3-13209
2014-11-11 16:28:06 -08:00
Joas Schilling
f64a937a57 [ticket/13111] Dropdown options are already an array in the field data
PHPBB3-13111
2014-09-30 12:27:14 +02:00
Joas Schilling
f3fef8934e Merge pull request #2954 from rxu/ticket/13055
[ticket/13055] Fix string profile fields validation to support unicode
2014-09-24 12:25:57 +02:00
rxu
dc65058c20 [ticket/13055] Add string profile fields validation options to support unicode
PHPBB3-13055
2014-09-18 08:19:08 +08:00