Hypolite Petovan
488f4dcaa4
Handle rare case where contact doesn't exist in Model\Group::getIdsByContactId
...
- Address https://github.com/friendica/friendica/issues/11632#issuecomment-1193953621
2022-07-25 12:07:42 -04:00
Roland Häder
8fc710f82a
Continued:
...
- added more type-hints
- added some missing documentation
- Return the result from DBA::delete() to let other methods know about it
2022-06-18 17:22:50 +02:00
marcin mikołajczak
0209892631
Apply suggestions
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-20 14:10:57 +01:00
marcin mikołajczak
9c6f6bcb95
API: add list members editing
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-19 23:22:54 +01:00
Michael
49dd97e5fd
User lower case
2022-02-17 21:51:47 +00:00
Michael
1b6b6bcc6d
Renamed function
2022-02-17 07:53:24 +00:00
Michael
e394143148
Private forums are now working via ActivityPub
2022-02-12 18:38:36 +00:00
Michael
5b46b41226
New function to add group members from a forum
2022-02-09 21:34:25 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Hypolite Petovan
8bfe877629
Add backward compatibility with user contacts in Module\Group
2021-11-26 09:48:37 -05:00
Michael
eb1b2256a0
Removed and replaced deprecated functionalities
2021-11-07 14:00:47 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
470a47647a
Small performance improvements, new view for future use
2021-03-06 05:47:49 +00:00
Michael
1792046a4f
post/thread views are renamed, search bugs fixed
2021-02-22 19:47:08 +00:00
Michael
4157db5473
"item" is replaced by "post-view" / postupdate check added
2021-01-17 20:32:13 +00:00
Michael
d785af23c1
Display number of group members in contact widget
2020-10-07 06:19:09 +00:00
Michael
0007da8630
EOL removed
2020-07-23 06:25:01 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
ebf60cee33
Enable meta groups in Model\Group::getIdsByContactId
...
- Don't return early if contact isn't part of any group in PermissionSet::get
2020-01-20 07:32:47 -05:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Hypolite Petovan
64c8855407
Allow special groups in default user permissions
...
- Use ACLFormatter in ACL::getDefaultUserPermissions
- Remove ACL::fixACL
- Add return value to Contact::pruneUnavailable
2020-01-05 17:09:14 -05:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
Michael
fd706cf9a7
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
2019-12-02 23:04:11 +00:00
Hypolite Petovan
5feeffbe79
Use network field instead of protocol in Group::expand
...
- contact.protocol field isn't systematically populated
2019-08-11 16:41:00 -04:00
Hypolite Petovan
f010beaa95
Fix formatting in Model\Group
...
- Improve logging call
- Replace removed App->getDatabase call
2019-07-29 20:31:50 -04:00
Hypolite Petovan
361958ad04
Replace removed Contact::select by Contact::selectToArray
...
- Add explicit DBA::close in Model\Group
2019-07-29 20:31:49 -04:00
Hypolite Petovan
3e6018b3f2
Add meta protocol group for private post support
2019-07-29 20:31:48 -04:00
Hypolite Petovan
4e427f615b
Only include natively supported protocol contacts in meta-groups
2019-07-29 20:31:48 -04:00
Hypolite Petovan
0579252362
Add user meta-groups for followers and mutual contacts
...
- Both Group::expand and Item::enumeratePermissions now have a user id parameter to expand meta-groups
2019-07-29 20:31:46 -04:00
Hypolite Petovan
7ab986bc97
Move group module to src/
2019-02-23 17:32:40 -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
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
dea1a98a5d
Fix various documentation issues/unused variables
2019-01-21 09:33:24 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Michael
b08e5ab41b
Issue 6259: Suppress contact group widget only on network page
2018-12-14 06:33:57 +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
a3a2147def
Don't show the group filter where there is only one
2018-11-24 12:10:30 +00: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
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -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
Hypolite Petovan
756a4f1111
Fix remaining instances of "contacts"
2018-10-14 18:02:54 -04:00
Michael Vogel
dc3d2d5988
"dba" is now "DBA". This hadn't been respected at some places ( #5655 )
...
* "dba" is now "DBA". This hadn't been respected at some places
* Cleaning up unneeded stuff
2018-08-23 09:51:58 -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
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00