Michael
48ec65eb4b
Fix the "ago" date (with "received at") for other themes than frio
2019-12-26 19:51:36 +00:00
Michael
3d701dd459
Only show the difference between posting and receive date when there is a difference
2019-12-03 07:23:01 +00:00
Michael
02875df596
Show the received date along with the creation date of posts
2019-11-29 06:24:02 +00:00
Michael
fc94cad5f2
Pinned posts now work for visitors in the intended way
2019-11-08 06:52:44 +00:00
Michael
ed58af25a5
show pinned items
2019-11-07 06:53:18 +00:00
Michael
cf56992444
We can now pin our own posts
2019-11-07 05:39:15 +00:00
Hypolite Petovan
03bf1dcbd3
Move Object\Image static methods to Util\Images
...
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Philipp Holzer
edf006905b
Move (last) get_cats_and_terms to Content\Item::determineCategoriesTerms()
...
- Added incomplete test
2019-10-23 02:48:46 +02:00
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
...
- With tests
2019-10-23 02:05:11 +02:00
Hypolite Petovan
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
Michael
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
Michael
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
Michael
9cbf320c86
Issue 7563: Use icons instead of names on posts
2019-08-28 06:38:35 +00:00
Michael
5a1a5a54dc
Delivery count now counts the failed delivery attempts as well
2019-08-20 07:39:13 +00:00
Hypolite Petovan
b9ab613777
Merge branch 'master' into develop
2019-06-23 17:40:52 -04:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00
Hypolite Petovan
01e71254d9
Replace defaults() calls on $_SESSION by Core\Session calls
...
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Philipp Holzer
059b813090
Add PhpDoc / Code Standards
2019-05-20 19:14:39 +02:00
Philipp Holzer
1e36c68e48
Moving Search to Core, Refactor Objects
2019-05-20 18:42:27 +02:00
Philipp Holzer
419cc81ef1
renaming
2019-05-19 05:13:06 +02:00
Philipp Holzer
e00f110ef1
Move mod/dirfind to src/Module/DirFind
2019-05-19 04:28:16 +02:00
Philipp Holzer
09c44f96fd
Moving Model call outside Object Namespace
2019-04-05 07:53:54 +02:00
Michael
a0fddca407
Display if an item is reshared
2019-04-02 05:38:42 +00:00
Philipp Holzer
c2fd579916
typo
2019-03-22 22:56:57 -04:00
Philipp Holzer
8237e73e26
Adding REAMDEs to directories
2019-03-22 22:56:57 -04:00
Michael
ea40308048
Fixing automention
2019-03-19 22:07:53 +00:00
Michael
694cf50509
Fix mentions - again
2019-03-11 06:41:48 +00:00
Michael
337a3bb1aa
Fix for the automatic mentioning
2019-03-10 05:41:40 +00:00
Hypolite Petovan
5f2a66e66c
Add check for EXIF data existence in Object/Image
...
- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-467121955
2019-03-08 22:09:41 -05:00
Hypolite Petovan
e51f2cea0d
Add implicit mentions to explicit mentions default text
2019-02-23 17:32:12 -05:00
Hypolite Petovan
34bc0b0c97
Add potential debug display of implicit mentions in frio
...
- Refactored conversation() by removing extraneous intermediary variables
2019-02-23 17:32:11 -05:00
Hypolite Petovan
7320c5e8e8
Normalize Contact::magicLinkByContact method name
2019-02-23 17:32:10 -05:00
Michael
7703875b55
Fixes "Undefined property: Friendica\App::$queue"
2019-02-23 16:08:02 +00:00
Michael
08d92d7ad8
Automatically adding mentions in the network stream hadn't really worked
2019-02-21 20:42:00 +00:00
Hypolite Petovan
256e845c5d
Merge pull request #6641 from nupplaphil/config_followup
...
Config FollowUp
2019-02-17 17:56:31 -05:00
Philipp Holzer
0a7861da65
Dependency of callstack moved one layer up
2019-02-16 23:17:10 +01:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Hypolite Petovan
d7dbc632f8
Improved comment hiding interaction
...
- Remove global window.showMore and window.showFewer
- Improve global showHideComments function
- Remove frio-specific showHideComments function
2019-02-14 22:24:34 -05:00
Michael Vogel
c7308d98fa
Merge pull request #6614 from MrPetovan/task/6552-add-explicit-mentions
...
Add explicit mentions to ActivityPub/Diaspora comments
2019-02-10 00:52:40 +01:00
Hypolite Petovan
7c58944449
Add "delivery done" label
2019-02-08 23:19:26 -05:00
Hypolite Petovan
9887f2c3d0
Toggle explicit mentions in comment boxes with explicit_mentions config
2019-02-08 23:07:36 -05:00
Michael
71fe689aae
Some small notice prevented
2019-02-06 07:30:31 +00:00
Michael
a7963fe18a
AP: Automatically send follow requests for reshared items
2019-01-30 21:33:23 +00:00
Michael
f226464acc
Don't auto mention yourself or forums, don't do it in the firstlevel post
2019-01-30 03:36:24 +00:00
Michael
e38eebe529
Standards
2019-01-28 22:06:28 +00:00
Michael
d259007f11
Removing the parameter
2019-01-28 21:53:13 +00:00
Michael
d40b2792b6
Display mentioned users and in the comment box by default
2019-01-28 21:22:03 +00:00
Hypolite Petovan
64847e7cc8
Fix types in doc blocks/prototypes
2019-01-23 09:06:58 -05:00
Hypolite Petovan
b161bd1dfa
Improve get_responses() prototype
2019-01-21 11:37:05 -05:00
Hypolite Petovan
ce177f22c8
Fix doc blocks and return value type
2019-01-21 11:36:01 -05:00
Hypolite Petovan
ad9c67663d
Move Contact::Page_* constants to User::PAGE_FLAGS_*
2019-01-21 10:55:37 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
af9067a381
Update PHPDoc in mod/
2019-01-21 10:39:27 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
Hypolite Petovan
6538a8eaca
Add delivery queue display in frio and vier
...
- Add new $item.owner_self and $item.delivery keys for display
- Add new sub/delivery_count.tpl template
2019-01-21 09:39:13 -05:00
Hypolite Petovan
dea1a98a5d
Fix various documentation issues/unused variables
2019-01-21 09:33:24 -05:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
69a73678eb
Merge pull request #6226 from annando/oembed-array
...
Ignoring OEmbed array values
2018-12-02 19:16:13 -05:00
Michael
58b614bea1
Ignoring OEmbed array values
2018-12-02 21:36:46 +00:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Michael
4f9f86e310
We are now escaping many template fields
2018-11-25 18:56:26 +00:00
Hypolite Petovan
03de5c018f
Fix ignore link showing for anonymous users
2018-11-23 01:25:38 -05:00
Michael
aa1882fd99
Sanitize the OEmbed data before processing it
2018-11-21 07:07:24 +00:00
Michael
43079bfaf8
Several default features are now in the core
2018-11-18 20:13:46 +00:00
Michael
e2ea4a3dc3
Allow to delete every post, even public ones
2018-11-17 22:56:28 +00:00
Michael
6ad082a710
Improved delete text to clarify AP comment delete behaviour
2018-11-15 06:36:06 +00:00
Adam Magness
5276c28a78
link_compare calls
...
implement compareLink function.
2018-11-08 10:46:50 -05:00
Adam Magness
7cb9138201
Move another function
...
move get_plink to Item class, and also fix up getApp since we extend BaseObject
2018-11-07 07:19:39 -05:00
Adam Magness
e537f7d017
Function calls
...
update function calls to new class
2018-11-06 21:16:27 -05:00
Philipp Holzer
6e10bdf361
Move random Digits to Crypto class
2018-11-05 21:02:54 +01:00
Jonny Tischbein
b66bcb20da
Redirect to previous page after NON-AJAX Post delete via second parameter in /item/drop
2018-10-31 20:09:44 +01:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
9c9ebfc7c9
Merge pull request #6013 from JonnyTischbein/issue_comment_media_link_prompt
...
[frio] Add media / link prompt in comments
2018-10-24 12:17:58 -04:00
Jonny Tischbein
d2b5f77be9
Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards
2018-10-24 16:20:10 +02:00
Jonny Tischbein
d0c43c5597
Add prompt for link and media in comment + remove video symbol
2018-10-23 19:50:19 +02:00
Hypolite Petovan
ca9cad3491
Move hook-related methods from Core\Addon to Core\Hook
2018-10-22 16:50:54 -04:00
Michael
8e11f055b1
Improve PR 5984: better check for remote users as well
2018-10-21 21:56:46 +00:00
Michael
9b387a226c
Fix webmentions and microformats ("redir" only for logged in users)
2018-10-21 20:23:08 +00:00
Hypolite Petovan
ec0d3a6eac
Merge pull request #5946 from JonnyTischbein/move_include_security
...
Move and Split include/security
2018-10-19 08:55:08 -04:00
Jonny Tischbein
f3fc1f36ca
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
2018-10-17 21:30:41 +02:00
Jonny Tischbein
05be2db725
Move include/security tp /src/Core/Authentication and /src/Util/Security
2018-10-17 14:19:58 +02:00
Jonny Tischbein
be2e6c3929
Fix Issue #5896 by setting static return for edit_post to display item page (kind of revert parts of #5774 )
2018-10-16 19:14:55 +02:00
Philipp Holzer
ffbc688797
Curl Response Refactoring
...
- refactored Network::getCurl()
- replaced every Network::getCur() execution with a Curl Response
2018-10-10 21:50:13 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Michael
9fbaaa1481
We now can show "Friendica (AP)" as network name
2018-10-05 19:26:20 +00:00
Michael
834422d52f
Merge remote-tracking branch 'upstream/develop' into ap1
2018-09-24 21:48:40 +00:00
Hypolite Petovan
a6996601d5
Merge pull request #5789 from friendica/master
...
Update develop from master-2019.09
2018-09-23 18:55:20 -04:00
Michael
6df6d82427
We can now like and dislike
2018-09-23 08:52:07 +00:00
Jonny Tischbein
807ad14521
calculate form return_url for post and message instead of using SESSION var
2018-09-19 23:55:29 +02:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Michael
380eeaab88
Still there had been notices - must have a good camouflage
2018-08-31 05:08:22 +00:00
Michael Vogel
edcd0a3744
Issue 4960: Ignoring and blocking of contacts should work again ( #5657 )
...
* Issue 4960: Ignoring and blocking of contacts should work again
* Renamed functions
* This function should be renamed as well.
* We now have a frontend to block and ignore public contacts
* Hide some parts for public contacts
* Removed notices, public contact is now accessible from dirfind as well
* We now show contact conversations and contact posts
* We now use a new conversation mode
* The update functionality is disabled until it will work completely
* Fixing tabs chaos
* Update after posts on the contacts page will now work
* Show connect link
2018-08-25 09:48:00 -04:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
Michael Vogel
276abfaba6
Issue 5158: Ignore all threads, even public ones ( #5588 )
...
* Issue 5158: Ignore all threads, even public ones
* Remove some notice
* Now it really should work
* Using "defaults"
2018-08-08 22:32:11 +02:00
Roland Häder
4d39164c1e
[WIP] Rewrite to Proxy class: ( #5507 )
...
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
will do this for us
- renamed those proxy_*() functions to better names:
+ proxy_init() -> Proxy::init() (public)
+ proxy_url() -> Proxy::proxifyUrl() (public)
+ proxy_parse_html() -> Proxy::proxifyHtml() (public)
+ proxy_is_local_image() -> Proxy::isLocalImage() (private)
+ proxy_parse_query() -> Proxy::parseQuery() (private)
+ proxy_img_cb() -> Proxy::replaceUrl() (private)
* Ops, need to set $a here ...
* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule
* Ops, no need for own instance of $a when self::getApp() is around.
* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module
* No instances from utility classes
* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`
* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.
* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.
* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00
Roland Häder
4a22710b3b
Moved global PAGE_* to Profile class ( #5500 )
...
* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class
* Fixed more rewrites from plain (global namespace) PAGE_* to Friendica\Models\Profile class
* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes
* CR request:
- moved ACCOUNT_TYPE_* constants from boot.php to Contact::ACCOUNT_TYPE_*
* Just copy-pasted this code from boot.php, needs to be changed to `const ACCOUNT_TYPE_FOO = x;`
* Ops, melting brain cells here ... :-/
2018-07-27 19:25:57 -04:00
Hypolite Petovan
df917251ff
Fix undefined oembed properties
...
- Add Object\OEmbed class
2018-07-24 07:56:27 -04:00
Hypolite Petovan
d09ab35816
Fix getimagesizefromstring() read errors
2018-07-24 07:54:12 -04:00
Michael Vogel
ca2c316de0
Some removed notices when viewing events ( #5483 )
2018-07-24 07:51:50 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Michael Vogel
5af9596dde
New item field "Post-type" and new table "permissionset" ( #5408 )
...
* "post-type" replaces "bookmark" and "type"
* Removed some more type
* Added index to permission set
* The permission set is now stored
* The permission set is now removed upon expiry
* Post update now stores the permission set
* New file
* Permissions are now sorted
* Changed documentation
2018-07-19 09:52:05 -04:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Michael
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
Michael
69db696ab1
Improve test behaviour
2018-07-08 05:29:06 +00:00
Michael
271b6cb8f9
Hopefully this fixes the tests
2018-07-08 05:10:45 +00:00
Michael
4d35e228c4
More item abstraction / making remote deletion work again
2018-07-07 18:14:16 +00:00
Michael
80f9a45cba
Fix: Twitter reshares hadn't been shown as this
2018-07-02 21:15:54 +00:00
Michael
717ca0b7eb
Use already fetched data for magiclink
2018-07-02 05:41:55 +00:00
Michael
b03db4643f
The fetch function now centrally controls the content
2018-06-24 10:48:29 +00:00
Michael
4714cb746b
Use the item functions at many more places
2018-06-18 20:36:34 +00:00
Michael
77c423ec04
Don't allow deletion of public posts
2018-06-13 19:19:17 +00:00
Michael
3f07d01dd1
Get rid of unneeded or redundant fields
2018-06-03 07:42:56 +00:00
Michael
723b5ae803
Use MagicLinkbyId when possible
2018-06-02 08:28:01 +00:00
Michael
8a34895a23
Use magicLink whenever possible
2018-06-02 08:05:06 +00:00
Michael
885f2b52d1
Merge remote-tracking branch 'upstream/develop' into public-redir
2018-06-02 06:18:45 +00:00
AndyHee
2b25bd48d4
Improved distinction between delete and remove
2018-06-02 12:40:41 +07:00
AndyHee
a75d28e521
Rewording label
2018-06-02 11:23:27 +07:00
Michael
ae8d7267a0
"redir" is now centralized and works with the public contact
2018-06-01 06:46:34 +00:00
Michael
c9f55f6b3d
Show "Remove from your screen" or "delete" depending of the impact of the deletion
2018-05-15 21:06:34 +00:00
Tobias Diekershoff
17dda0fc43
dont delete but remove from your stream
2018-05-13 11:10:34 +02:00
Michael
ed664b1091
For feed items show the avatar of the local user
2018-05-09 21:09:16 +00:00
Hypolite Petovan
9b052b5ea8
Fix count() warning in Object\Post
2018-04-23 00:02:18 -04:00
Hypolite Petovan
34fd442821
Rename social.disable_cw pconfig to system.disable_cw
2018-04-04 23:08:48 -04:00
Hypolite Petovan
41db5f0912
Display content warning as title if collapsing is deactivated
2018-04-04 23:08:48 -04:00
Michael Vogel
bfc2bda9b6
Merge pull request #4682 from MrPetovan/task/4681-nsfw-add-hashtag-only-hiding
...
Move suppress_tags config usage to template
2018-03-25 22:26:17 +02:00
Hypolite Petovan
daffc27061
Move suppress_tags config to template
...
- Add new item.suppress_tags template variable
- Fix template formatting
2018-03-25 00:38:23 -04:00
Hypolite Petovan
13f58abe05
Add parameter check in Image::getInfoFromURL
2018-03-24 20:03:28 -04:00
Michael
a3af6807ac
Improved resource id creation
2018-02-20 10:02:07 +00:00
Hypolite Petovan
cea80c78e4
Replace remaining functions in include/datetime by Temporal methods
...
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
0bee706e51
Add Temporal::local() shorthand for Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Hypolite Petovan
30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
...
Move pgettext to src
2018-01-24 11:48:55 -05:00
Michael
19c039242c
It is now possible again to like yourself
2018-01-24 06:39:21 +00:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
3b0f69599e
Updat tt() calls
...
update function calls for tt()
2018-01-22 18:03:26 -05:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Michael
7b3e334f06
"save to folder" and "mark" can't work on global items
2018-01-18 20:54:40 +00:00
Michael
2df44eb084
Liking of your own stuff wasn't possible/enable dislike for Diaspora
2018-01-18 20:16:14 +00:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
4fb2547df8
Update function calls
...
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Hypolite Petovan
5fc4927764
Improve dba::selectFirst calls
...
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Michael Vogel
d23c1c0da7
Merge pull request #4194 from MrPetovan/task/fix-scrutinizer-issues
...
Replace dba::select(limit => 1) by dba::selectFirst()
2018-01-10 22:16:02 +01:00
Hypolite Petovan
b007f586dd
Merge pull request #4201 from annando/commenting-on-tags
...
Commenting on postings from tags on the network page does work now
2018-01-10 16:13:53 -05:00
Michael
0ef83b2383
Commenting on postings from tags on the network page does work now
2018-01-10 21:08:23 +00:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Adam Magness
a3ef9e35ec
Update functions and calls
...
Update function names and calls.
2018-01-09 22:42:04 -05:00
Michael
e12b6e01a2
Best "uid" for sending comments, refresh after commenting might work now
2018-01-07 17:14:43 +00:00
Michael
592ef50e41
Dropping is now possible as well
2018-01-07 11:59:54 +00:00
Michael
a157966bb9
Disable editing of public items / Reshare of community items is now possible
2018-01-05 13:48:06 +00:00
Hypolite Petovan
722782d553
Remove unused parameter in can_write_wall()
2018-01-04 12:21:13 -05:00
Hypolite Petovan
6e71a84075
Merge pull request #4160 from annando/community
...
We now are having a global items page
2018-01-04 11:50:45 -05:00
Michael
174a1bb54b
Commenting on community timelines is now possible
2018-01-04 10:02:56 +00:00
Adam Magness
e37640c44c
Move Photos to xrc
...
Move photos from include to Model\Photo class
2018-01-03 21:01:41 -05:00
Michael
3ffea2cd2c
We now have a global page for all global entries from the network.
2018-01-03 13:27:43 +00:00
Michael
6925299e5a
Merge remote-tracking branch 'upstream/develop' into community
2018-01-03 01:15:27 +00:00
Hypolite Petovan
7d40f22a2e
Review: Simplify boolean assignment in Object\Post
2018-01-02 08:36:35 -05:00
Hypolite Petovan
e8e2e41d73
Fix formatting and PHP notices in Object\Post
...
- Use x() and defaults() to fix undefined indexes
- Simplify boolean variable assignments
- Simplify sprintf(t()) structures
2018-01-02 08:18:19 -05:00
Michael
5afedb28d4
You can now comment on the community page
2017-12-23 07:33:51 +00:00
Michael
cdce9b48ab
Added documentation
2017-12-20 10:34:42 +00:00
Michael
b457ed6876
Preparation for being able to comment every public item
2017-12-19 17:15:56 +00:00
Hypolite Petovan
a6a2c578f9
Add new common Image::scale() method
...
- Fix undefined variable $type
2017-12-17 15:35:07 -05:00
Hypolite Petovan
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Michael
14d4ffbe7a
And now for the third bugfix to PR 4036
2017-12-08 06:32:14 +00:00
Michael
79c841a260
Bugfix to PR 4036
2017-12-08 05:44:43 +00:00
Hypolite Petovan
3772cf7544
Move Object\Conversation to Object\Thread
...
- Move Object\Item to Object\Post
2017-12-07 23:57:37 -05:00
Hypolite Petovan
a42595a30c
Move Object\Contact to Model\Contact
2017-12-07 23:56:12 -05:00
Hypolite Petovan
6b60b89385
Move Object\Profile to Model\Profile
2017-12-07 23:55:05 -05:00
Hypolite Petovan
3fc3e67b70
Separate Object\Photo into Model\Photo and Object\Image
...
- Renamed a bunch of functions to shorter or clearer names
2017-12-07 23:54:51 -05:00
Hypolite Petovan
79ed1568b6
Fix class Object\Item not found in Object\Post
2017-12-07 23:50:38 -05:00
Hypolite Petovan
4b0f83a12b
Finish renaming Object\Item to Object\Post
2017-12-07 23:50:38 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Hypolite Petovan
70d047ba8e
Move Object\Conversation to Object\Thread
...
- Move Object\Item to Object\Post
2017-12-07 09:05:23 -05:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -05:00
Hypolite Petovan
d4ca30a6db
Move Object\Profile to Model\Profile
2017-12-07 08:57:35 -05:00
Hypolite Petovan
52bddd580c
Separate Object\Photo into Model\Photo and Object\Image
...
- Renamed a bunch of functions to shorter or clearer names
2017-12-07 08:56:11 -05:00
Michael
6510df4b51
Update the public key for public contacts if the key was empty before
2017-12-07 06:51:38 +00:00
Michael
e5c2b7a243
Don't archive "self" contacts
2017-12-05 21:29:33 +00:00
Michael
a206f6d832
Only a newline
2017-12-04 19:37:36 +00:00
Michael
360e39ca5b
unmark for archival
2017-12-04 19:36:08 +00:00
Michael
3bb53967f4
Merge remote-tracking branch 'upstream/develop' into archive-contact
2017-12-04 19:05:53 +00:00
Michael
ca41e9154d
Archive and unarchive contacts
2017-12-04 19:04:50 +00:00
Adam Magness
b1d16fbdf7
Update use statements
...
update use statements for rename to singular.
2017-12-04 09:04:36 -05:00
Adam Magness
6e5471def3
Rename to singular
...
Rename and update references. Standards and a require_once.
2017-12-04 09:01:27 -05:00
Adam Magness
2f0da29c75
Features to src
...
Move Features to class in Friendica\Content namespace. Update function calls and references.
2017-12-04 08:33:49 -05:00
Hypolite Petovan
b0dcfc2724
Add class methods derived from include/user functions
...
- Add User::create
- Add User::sendRegisterPendingEmail
- Add User::sendRegisterOpenEmail
- Add Contact::createSelfFromUserId
2017-12-03 22:27:49 -05:00
Michael Vogel
2ca03acb45
Merge pull request #3986 from MrPetovan/task/admin-block-list
...
Admin remote contact block list
2017-12-02 22:09:04 +01:00
Adam Magness
2b121779a6
Salmon move to src
...
Salmon class, update function name and function calls. Some standards as well.
2017-12-02 09:32:45 -05:00
Hypolite Petovan
843ec842c3
Merge branch 'develop' into task/admin-block-list
2017-12-01 21:39:20 -05:00
Adam Magness
508ce4a5be
Use Exception
...
use exception
2017-12-01 18:47:52 -05:00
Hypolite Petovan
ff459441cf
Merge branch 'develop' into task/admin-block-list
2017-12-01 00:48:13 -05:00
Hypolite Petovan
5fd4086fdc
Add block/unblock methods to Contact class
2017-12-01 00:41:26 -05:00
Hypolite Petovan
0ae6f571da
Merge pull request #3982 from zeroadam/Photo-#3878
...
Photo to src
2017-11-30 20:33:48 -05:00
Adam Magness
d04d2cb838
Static
...
update functions and check calls.
2017-11-30 13:51:04 -05:00
Adam Magness
cddadb4b17
Object error
...
Uncaught Error: Using $this when not in object context
2017-11-30 07:48:47 -05:00
Adam Magness
00ad255540
Replace function
...
Replace function used by addon
2017-11-30 07:40:20 -05:00
Adam Magness
7938decff3
Private to public
...
change function to public as it's called from elsewhere
2017-11-29 18:37:32 -05:00
Adam Magness
0373056448
Review and Use statements
...
use statements and review changes.
2017-11-29 17:29:11 -05:00
Michael
0982b0413b
Bugfix for "Call to undefined function best_link_url()"
2017-11-29 21:27:39 +00:00
Michael
fe348acb49
Small fixes to "nogroup"
2017-11-29 20:59:06 +00:00
Adam Magness
eb148cad55
Missed use dba
...
added use dba
2017-11-29 13:04:58 -05:00
Adam Magness
0091d318e5
Function names
...
Update function names and corresponding function calls
2017-11-29 12:17:12 -05:00
Adam Magness
54827e7fed
Photo to src
...
Move Photo to Friendica\Object namespace and replace require_once statments with use statements.
2017-11-29 07:52:27 -05:00
Michael
8bffee43b3
Threads are now always enabled.
2017-11-28 18:54:39 +00:00
Michael
9612496e9e
The function "template_escape" doesn't exist anymore.
2017-11-27 06:44:49 +00:00
Michael
abc0b90fa9
getpostsbyurl hadn't worked
2017-11-24 22:15:35 +00:00
Michael
4a4be4d664
Fix some SQL problems
2017-11-24 07:44:02 +00:00
Adam Magness
9df0457340
whitespace
...
remove whitespace
2017-11-23 20:59:00 -05:00
Adam Magness
130e02ddef
Review
...
null_date and spaces at end of line
2017-11-23 19:22:30 -05:00
Adam Magness
6ea8b0441b
More Review
...
put back some q( calls and change some integer to boolean
2017-11-23 08:15:38 -05:00
Adam Magness
9409010d2d
Review dba updates
...
updates based on review comments.
2017-11-22 23:32:24 -05:00
Adam Magness
f5d682fe0a
Review updates
...
Updates based on review.
2017-11-22 23:13:12 -05:00
Adam Magness
c25578a2e2
Cleanup
...
Clean up messy commits.
2017-11-22 16:29:47 -05:00
Adam Magness
a8b6052c5a
Contact Standards
...
Some updates for Contact
2017-11-22 09:02:55 -05:00
Hypolite Petovan
ec02af593d
Change called method names
...
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0
Add Contact Object
...
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00
Hypolite Petovan
f43aaf5227
Move Item and Conversation from Core to Object
...
- Move BaseObject from Core\ to Friendica\
2017-11-19 16:50:49 -05:00