aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
Commit message (Collapse)AuthorAgeFilesLines
* :bulb: Improving Doxygen documentation.Klaus Weidenbach2017-11-031-2/+2
| | | | | Fix some Doxygen parsing errors. Improve hooks documentation.
* testing and bug fixes virtual profile groupszotlabs2017-02-121-0/+10
|
* issue #549, ACL has 'public' selected even when restrictive ACL is being used.zotlabs2016-10-171-2/+28
|
* [TASK] Update Doxyfile and fix Doxygen errors.Klaus Weidenbach2016-10-131-36/+37
| | | | | | Updated Doxyfile to include new folders. Add a list for @hooks tags. Fixed some parsing problems for Doxygen.
* move jotnets to jot and some cleanup (mostly whitespace)Mario Vavti2016-08-211-7/+0
|
* rename limited -> customMario Vavti2016-08-161-1/+1
|
* provide group options serverside and minor cleanupMario Vavti2016-08-151-107/+12
|
* move permissiondescription class to zotlabs/libredmatrix2016-07-111-3/+1
|
* more db column renamesredmatrix2016-05-311-2/+2
|
* remove the add others button for now - after some research it turned out not ↵Mario Vavti2016-05-251-1/+0
| | | | beeing so useful
* code cleanupredmatrix2016-05-241-4/+0
|
* whitespaceMario Vavti2016-05-191-1/+1
|
* provide an acl select option for only meMario Vavti2016-05-191-0/+2
|
* only show $showall_origin if permission_role is custom. it does not make ↵Mario Vavti2016-05-181-3/+3
| | | | much sense otherwise since the member is merely using a preset of permissions.
* change wording restricted -> custom selection and add a label to the selectMario Vavti2016-05-131-1/+2
|
* instead of radio buttons use select to choose between public and restricted ↵Mario Vavti2016-05-131-1/+1
| | | | acl. if restricted is selected acl is set to default. if there is no default acl will be set to self. if public is selected acl-list will be hidden and acl-info is visible.
* improve non-ACL option description in ACL dialogTreer2016-05-081-4/+23
|
* Unify permissions dialog for network posts, channel posts, and remote postsTreer2016-05-061-5/+32
| | | | | | * changes the warning from being about when a post is "sent" to when it's "shared", to match the Share button. * hyperlinks the "cannot be changed" part of the warning to the help file * adds some more content to the help file
* add help to some permissions dialogsTreer2016-05-051-3/+3
|
* Refine permissions dialog UITreer2016-05-041-5/+22
|
* static Appredmatrix2016-03-311-6/+6
|
* issue #241 (redmatrix issue 405)redmatrix2016-01-011-2/+2
|
* issue #239, provide 'Public' text on ACL selector when appropriate to do so.redmatrix2015-12-311-12/+14
|
* make jotnets modalredmatrix2015-11-081-0/+2
|
* convert the abook fieldsredmatrix2015-06-141-2/+1
|
* local_user => local_channelfriendica2015-01-281-3/+3
|
* PostgreSQL support initial commitHabeas Codice2014-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were 11 main types of changes: - UPDATE's and DELETE's sometimes had LIMIT 1 at the end of them. This is not only non-compliant but it would certainly not do what whoever wrote it thought it would. It is likely this mistake was just copied from Friendica. All of these instances, the LIMIT 1 was simply removed. - Bitwise operations (and even some non-zero int checks) erroneously rely on MySQL implicit integer-boolean conversion in the WHERE clauses. This is non-compliant (and bad programming practice to boot). Proper explicit boolean conversions were added. New queries should use proper conventions. - MySQL has a different operator for bitwise XOR than postgres. Rather than add yet another dba_ func, I converted them to "& ~" ("AND NOT") when turning off, and "|" ("OR") when turning on. There were no true toggles (XOR). New queries should refrain from using XOR when not necessary. - There are several fields which the schema has marked as NOT NULL, but the inserts don't specify them. The reason this works is because mysql totally ignores the constraint and adds an empty text default automatically. Again, non-compliant, obviously. In these cases a default of empty text was added. - Several statements rely on a non-standard MySQL feature (http://dev.mysql.com/doc/refman/5.5/en/group-by-handling.html). These queries can all be rewritten to be standards compliant. Interestingly enough, the newly rewritten standards compliant queries run a zillion times faster, even on MySQL. - A couple of function/operator name translations were needed (RAND/RANDOM, GROUP_CONCAT/STRING_AGG, UTC_NOW, REGEXP/~, ^/#) -- assist functions added in the dba_ - INTERVALs: postgres requires quotes around the value, mysql requires that there are not quotes around the value -- assist functions added in the dba_ - NULL_DATE's -- Postgres does not allow the invalid date '0000-00-00 00:00:00' (there is no such thing as year 0 or month 0 or day 0). We use '0001-01-01 00:00:00' for postgres. Conversions are handled in Zot/item packets automagically by quoting all dates with dbescdate(). - char(##) specifications in the schema creates fields with blank spaces that aren't trimmed in the code. MySQL apparently treats char(##) as varchar(##), again, non-compliant. Since postgres works better with text fields anyway, this ball of bugs was simply side-stepped by using 'text' datatype for all text fields in the postgres schema. varchar was used in a couple of places where it actually seemed appropriate (size constraint), but without rigorously vetting that all of the PHP code actually validates data, new bugs might come out from under the rug. - postgres doesn't store nul bytes and a few other non-printables in text fields, even when quoted. bytea fields were used when storing binary data (photo.data, attach.data). A new dbescbin() function was added to handle this transparently. - postgres does not support LIMIT #,# syntax. All databases support LIMIT # OFFSET # syntax. Statements were updated to be standard. These changes require corresponding changes in the coding standards. Please review those before adding any code going forward. Still on my TODO list: - remove quotes from non-reserved identifiers and make reserved identifiers use dba func for quoting - Rewrite search queries for better results (both MySQL and Postgres)
* remove log statementfriendica2014-10-151-2/+0
|
* missing event permissionsfriendica2014-10-151-1/+2
|
* cleanup some text where we said "public" or "visible to anybody on the ↵friendica2014-08-071-1/+1
| | | | internet" when that isn't necessarily true.
* only show jotnets when posting conversation itemsfriendica2014-06-141-2/+4
|
* bootstrapify aclselectormarijus2014-04-111-2/+8
|
* remove a couple of mysql reserved words from being used as table or row ↵friendica2013-12-221-1/+1
| | | | names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code.
* quite a bit of work on default acl permissions and various acl quirksfriendica2013-11-291-11/+11
|
* cleanupfriendica2013-03-101-35/+0
|
* start formatting for Doxygenfriendica2013-02-251-1/+1
|
* another sql error from the logsfriendica2013-02-081-1/+1
|
* function contact_selector is no longer in use, commented outMichael Meer2013-01-141-2/+2
|
* some work bringing acl_selectors into the modern erafriendica2013-01-051-18/+8
|
* the pioneers should at least have a current db - it will likely be some time ↵friendica2012-07-161-8/+2
| | | | before db updates go into this tree as many incompatible things are changing and cannot be automatically migrated, so it will probably mean frequent reinstalls.
* implement contact archivalfriendica2012-04-271-2/+2
|
* Merge branch 'master' of https://github.com/friendica/friendicaAlexander Kampmann2012-04-051-0/+0
| | | | | | Conflicts: include/config.php update.php
* Use tabindex to enable easy navigation in the dialog to write private mails; ↵Tobias Hößl2012-03-161-6/+8
| | | | Recipient -> Subject -> Text field (tabindex has to be set to the IFRAME element after TinyMCE started) -> Send button
* Enabled automated doc building. Changes:Alexander Kampmann2012-03-011-1/+6
| | | | | | | | -build.xml, phing build file -@package tags at acl_selector.php and db_update.php -added documentation and some IDE files to .gitignore -automated tool to find files that corrupt the doc build process -removed ansi characters from SSH1.php, docBlox could not handle them
* acl_selectors.php - Friendika -> FriendicaAbinoam P. Marques Jr2012-02-201-1/+1
|
* add remove_user hook (it looks like dreamhost changed all my file ↵friendica2012-01-181-0/+0
| | | | permissions, this will make a nasty commit)
* d* pmfriendica2011-12-061-1/+1
|
* diaspora admin toggle, update install guideFriendika2011-08-221-1/+1
|
* cleanupFriendika2011-08-071-2/+2
|
* New jot acl selectorFabio Comuni2011-07-191-2/+15
|