Commit Graph

28165 Commits

Author SHA1 Message Date
Hypolite Petovan 6b87494e73
Merge pull request #8695 from annando/no-parent
Replace "id = parent" checks with "gravity" checks
2020-05-27 09:07:33 -04:00
Hypolite Petovan ed39618da2 [frio] Move variable assignment where it belongs in asynchronous comment form submission callback 2020-05-27 09:05:46 -04:00
Hypolite Petovan df1c74bd33 Make "like" links one way
- Updated dolike() function to accept a "un-" switch
- [frio] Updated doLikeAction() function to call dolike() instead of having duplicated code
- Added boolean logic (with explanatory truth table) to smartly delete existing activities in Model\Item::performActivity
- Moved verb/activity parameter handling closer to their use in Model\Item::performActivity
- Updated all references to dolike() and doLikeAction() to include the "un-" switch
2020-05-27 08:41:13 -04:00
Hypolite Petovan e20d5ff0b5 Fix the event feature disabling logic in Object\Post
- Conditions on item network and dislike feature presence were mixed which could have led to unexpected behaviors
2020-05-27 08:41:12 -04:00
Hypolite Petovan 2d217129b9 Improve performance of asynchronous like/update
- Make the like module return earlier instead of outputting a full empty HTML page
- Update the force_update variable earlier to prevent spilling on multiple unrelated nav update calls
2020-05-27 08:41:10 -04:00
Hypolite Petovan 9ebb2c6527 Implement existing force query string parameter in mod/update_display
- Prevented single item display update when "like" interactions were removed because the item wasn't "unseen"
2020-05-27 08:28:09 -04:00
Hypolite Petovan 05c3d02854 Assign default protocol to new events
- This restores event interactions on the items
2020-05-27 08:23:15 -04:00
Michael 973abb6196 Replace "id = parent" checks with "gravity" checks 2020-05-27 12:19:06 +00:00
Hypolite Petovan 133de9b524
Merge pull request #8693 from annando/notice
Fix notice because of missing array item
2020-05-27 00:29:30 -04:00
Michael 465e1890b5 Fix notice because of missing array item 2020-05-27 03:19:17 +00:00
Hypolite Petovan 5c3607f69f
Merge pull request #8692 from annando/no-activity
Updated postupdate function
2020-05-26 23:04:03 -04:00
Hypolite Petovan 3a2bcb32a6
Merge pull request #8690 from annando/no-activity
The "item-activity" is removed
2020-05-26 22:20:35 -04:00
Michael 4d23de997a Updated postupdate function 2020-05-26 21:45:57 +00:00
Michael Vogel 1e23348635
Merge pull request #8686 from MrPetovan/bug/8685-frio-compose-disable-asynchronous
[frio] Disable unexpected asynchronous compose form submission
2020-05-26 22:28:46 +02:00
Michael Vogel 410cee4e48
Merge pull request #8687 from MrPetovan/task/8683-add-tab-notification-number
Add page title notification count display
2020-05-26 19:08:06 +02:00
Hypolite Petovan 7e37378c2a Add page title notification count display 2020-05-26 10:28:53 -04:00
Hypolite Petovan e6388a186f [frio] Disable unexpected asynchronous compose form submission 2020-05-26 10:28:30 -04:00
Michael ba9cf32f36 The "item-activity" is removed 2020-05-26 05:18:50 +00:00
Hypolite Petovan 609ae1869c
Merge pull request #8684 from annando/baseurl
Some more "baseurl" improvements
2020-05-24 17:34:14 -04:00
Michael 327cdf21ce Some more "baseurl" improvements 2020-05-24 20:40:00 +00:00
Tobias Diekershoff d6edb45cce
Merge pull request #8682 from keenanpepper/develop
Be more explicit regarding invitation_only in the doc.
2020-05-24 11:49:22 +02:00
Keenan Pepper 1581333dc4
Be more explicit regarding invitation_only in the doc. 2020-05-23 18:52:02 -07:00
Hypolite Petovan 669124e72f
Merge pull request #8678 from annando/gserver-detection-type
Improved server detection / gsid introduced
2020-05-22 10:25:37 -04:00
Michael 21ab11ac18 Only fetch the gsid when it had been empty before 2020-05-22 11:29:58 +00:00
Michael e27915a819 Centralized gsid generation 2020-05-22 10:10:24 +00:00
Michael Vogel aad3803eb9
Merge pull request #8677 from MrPetovan/bug/8672-frio-contact-double-wrapping
[frio] Fix double wrapping on all /contact/* pages
2020-05-22 08:01:08 +02:00
Michael a77b7793a8 Rearranged table order 2020-05-22 05:06:55 +00:00
Michael 07bad22fa4 Database structure updated 2020-05-22 05:00:55 +00:00
Michael 071505f024 Added documentation, simplified code 2020-05-22 04:52:43 +00:00
Michael 95b4f35a12 Improved server detection / gsid introduced 2020-05-22 04:19:32 +00:00
Hypolite Petovan 40b73fcf91 [frio] Fix double wrapping on all /contact/* pages 2020-05-21 23:14:24 -04:00
Michael Vogel 58f06a830f
Merge pull request #8671 from MrPetovan/bug/8623-relative-href
Add support for relative URL in HTML documents
2020-05-21 13:51:26 +02:00
Tobias Diekershoff 23894d820d
Merge pull request #8670 from MrPetovan/bug/8626-attach-empty-data
Fix wrong variable name in Model\Attach
2020-05-21 10:42:27 +02:00
Hypolite Petovan 04e8d5be2c Remove deprecated/implicit filter_var() flags in Network\Probe::ensureAbsoluteLinkFromHTMLDoc
- Suppresses a test breaking notice message in PHP 7.4
2020-05-21 02:27:33 -04:00
Hypolite Petovan 782218f781 Add tests for Network\Probe::getFeedLink 2020-05-21 00:25:48 -04:00
Hypolite Petovan 3ef987e4e1 Add new Network\Probe::ensureAbsoluteLinkFromHTMLDoc method
- Add supports for relative URL in href attributes to probe feed URL
2020-05-21 00:25:48 -04:00
Hypolite Petovan c2105f93d1 Remove duplicate curl call in Network\Probe::getFeedLink
- Add page body argument instead
- Expand method scope to allow tests
2020-05-21 00:25:48 -04:00
Hypolite Petovan 6fd13300cb Fix wrong variable name in Model\Attach
- Prevented attachment data from being retrieved from storage
2020-05-20 18:28:14 -04:00
Hypolite Petovan 95da30f395
Merge pull request #8668 from annando/annando/issue8663
Issue  8663: Prevent abusive behaviour when probing servers
2020-05-20 09:26:56 -04:00
Michael a77c0194dc Issue 8663: Prevent abusive behaviour when probing servers 2020-05-20 06:57:46 +00:00
Michael Vogel 37d95f7727
Merge pull request #8667 from MrPetovan/bug/8664-config-template-nofilter
Remove HTML escaping in config file template, add quote escaping
2020-05-20 08:19:35 +02:00
Hypolite Petovan 6d5437721e Remove HTML escaping in config file template, add quote escaping
- Allows HTML special characters and quotes in DB password
2020-05-19 21:07:55 -04:00
Hypolite Petovan aadaf032ee
Merge pull request #8665 from annando/update-vid
Update the "vid" field in the "update" process
2020-05-19 17:01:11 -04:00
Michael Vogel b7b6fae389
Update src/Model/Verb.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-05-19 22:42:01 +02:00
Michael eeda115e32 Adding some more verb handling 2020-05-19 20:32:15 +00:00
Michael 929455bd01 Update the "vid" 2020-05-19 20:28:27 +00:00
Hypolite Petovan ed3416dcec
Merge pull request #8661 from annando/verb-order
Ensure unified order of 'verb' records
2020-05-19 09:15:09 -04:00
Michael ef3dc72dca Ensure unified order of 'verb' records 2020-05-19 05:51:58 +00:00
Hypolite Petovan 3cc3bfe531
Merge pull request #8660 from annando/item-insert
Improved item insert functionality
2020-05-18 19:35:26 -04:00
Michael e09965fcc5 Simplified code 2020-05-18 22:34:47 +00:00