Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2.3 into master #10833

Closed
wants to merge 85 commits into from
Closed

Merge 2.3 into master #10833

wants to merge 85 commits into from

Conversation

mrclay
Copy link
Member

@mrclay mrclay commented Mar 18, 2017

No description provided.

jdalsem and others added 30 commits November 9, 2016 01:40
fix(views): corrected syntax error in input/date
fix(core): Check existence of cache symlink without usage of readlink()
For string params, `serialize_parameters` outputs a string literal of PHP
code, and `addcslashes` was not appropriate for this task, particularly
around escapes in strings. While you can tell it to also escape escape
chars, a second pass would be needed.

The tests now `eval` the output just as the production code does, and
this also makes the tests easier to read.
chore: canComment inline with parent class
fix(web_services): handle string params with proper escaping
chore(admin): fix plugin dependencies styling issue
When a plugin is (de)activated, the updated plugin list now correctly
shows/hides links to settings pages, and the admin menu is updated
according to the active plugins.

Fixes Elgg#10656
…dler

Without this patch, fetches that occur in a done() handler would not show
the spinner because jQuery's "complete" handler (which fires after) always
stopped the spinner.
The `elgg/Ajax` module was auto-converting any request with `options.data`
to use the `POST` method. This makes sense for things like actions, which
may send a large amount of form data, but it caused `$vars` to not be
populated as expected because only `GET` params are injected.

If you specified `options.data` with these methods before, note the server
will no longer receive this data as `$_POST` on the server.

Fixes Elgg#10667
Relative paths to files that contain special characters in the name
will now be encoded with base64 to avoid malformatted URLs and
HMAC mismatches resulting from unescaped characters.
URLs generated prior to this change will continue working.

Refs Elgg#10608
fix(files): mitigate issues with special chars in file names
fix(ajax): elgg/Ajax view() and form() set $vars as expected
…users

River items about new discussions are once again visible to logged out users.
Discussion replies (but not the form) will be visible as well.

Replaces Elgg#10685
Removes cruft for older PHP versions.

Fixes Elgg#10689
fix(html): elgg_normalize_url() handles tel: links
fix(discussions): river entries are once again visible to logged out …
fix(views): elgg_view_field no longer leaves #type in attributes
fix(views): in table lists, rows now have IDs
jdalsem and others added 24 commits February 14, 2017 15:43
fix(access): use ignore access only when querying the database
chore(composer): update dependencies and regenerate lock
…paces

Our use of `filter_var()`/`FILTER_VALIDATE_URL` can now handle multibyte chars.

Previous Elgg versions passed through invalid URLs that contained spaces. Since
even core code created these URLs, we compromise by auto-encoding spaces rather
than rejecting those URLs.

Fixes Elgg#10771
If the destination URL has a hash, and the whole URL is identical
to the current page, we must force `reload()`.
Documents current practice and legacy issue for older systems.

Fixes Elgg#10778
docs(security): explains current password hashing
…casting

Metadata/annotation casting is now explained in the docs.

Deprecates `detect_extender_valuetype()` and moves its logic to a static
`ElggExtender` method.

Fixes Elgg#10749
fix(install): explicitly allow .well-known in rewrite rules
Devs who refactor `elgg_delete_river()` code to use `elgg_get_river()`
may be surprised that it doesn't support this option.

Fixes Elgg#10791
chore(river): warn devs that elgg_get_river() has no "views" option
Now uses a temporary files to store raw icon bytes

Fixes 10686
fix(js): make sure elgg.forward() always reloads the page
fix(output): elgg_normalize_url() again handles multibyte chars and spaces
perf(db): improved performance of disable/delete of an entity
deprecate(logging): removes warnings about metadata/annotation value casting
fix(twitter_api): do not feed remote URLs to icon resize API
@mrclay
Copy link
Member Author

mrclay commented Mar 18, 2017

Some fatal error in simpletests.

/* @var $subentity \ElggEntity */
if (!$subentity->isEnabled()) {
continue;
foreach (['owner_guid', 'container_guid', 'site_guid'] as $db_column) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove site_guid

'limit' => false,
];

foreach (['owner_guid', 'container_guid', 'site_guid'] as $db_column) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove site_guid

@jdalsem
Copy link
Member

jdalsem commented Mar 20, 2017

maybe my comments solve the simplecache fails

@jdalsem
Copy link
Member

jdalsem commented Mar 20, 2017

New version here: #10837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants