aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* ignore current contact on friend suggestion pickerFriendika2011-06-271-4/+15
|
* new contact_selector function to provide more fine-tuned selection options.Friendika2011-06-231-0/+99
|
* friendika-z initial implementationFriendika2011-06-231-0/+2
|
* adjust acl_selector max name length to prevent div overflowFriendika2011-06-021-1/+1
|
* more indicators of public visibilityFriendika2011-05-191-1/+1
|
* lots of facebook fixesFriendika2011-04-261-4/+2
|
* show email contacts in acl selectorFriendika2011-04-181-2/+5
|
* ability to edit image permissionsFriendika2011-03-091-1/+1
|
* don't truncate names across multi-byte char sequencesFriendika2011-02-241-2/+2
|
* app not definedFriendika2011-02-131-0/+2
|
* post permission hooksFriendika2011-02-091-0/+22
|
* readjust name length limits - acl selectorFriendika2011-01-311-1/+1
|
* truncate names in acl selectorFriendika2011-01-311-2/+5
|
* limit privacy ACL's to networks which can handle privacyFriendika2011-01-301-8/+9
|
* add google buzzFriendika2010-11-211-2/+2
|
* view directory cleanupFriendika2010-11-151-0/+138