aboutsummaryrefslogtreecommitdiffstats
path: root/include/menu.php
Commit message (Collapse)AuthorAgeFilesLines
* PHP 8 fixesMax Kostikov2021-04-181-1/+1
|
* move from build_sync_packet() to Libsync::build_sync_packet()Mario2020-04-091-1/+3
|
* hubzilla core issue #1218zotlabs2018-06-101-0/+5
|
* call zidify_links() when formatting bbcode for internal consumptionzotlabs2016-12-191-1/+1
|
* sql: limit 1 for UPDATE and DELETE is not supported by the SQL standard and ↵Florian Steinel2016-10-271-1/+1
| | | | | | postgresql (see: https://www.postgresql.org/message-id/flat/1291109101.26137.35.camel%40pcd12478 )
* /storeurl/cloudurl/redmatrix2016-08-011-1/+1
|
* add a few more path macros to portable menu elements (channelurl, pageurl, ↵redmatrix2016-07-311-2/+8
| | | | storeurl and baseurl)
* issue #336redmatrix2016-03-311-3/+3
|
* static Appredmatrix2016-03-311-3/+3
|
* retry the move of AccessList to composer format (one or more third-party ↵redmatrix2016-02-211-2/+2
| | | | plugins will likely break as a result)
* Revert "move accesslist class to namespace"redmatrix2016-02-201-2/+2
| | | | This reverts commit a9711895cf254a0ca34b1e3f7c8e75bb832e6973.
* move accesslist class to namespaceredmatrix2016-02-201-2/+2
|
* debugging menu syncredmatrix2015-09-081-2/+1
|
* menu import and syncredmatrix2015-09-081-1/+12
|
* more work on AccessList integrationredmatrix2015-08-271-1/+1
|
* start conversion to AccessList objectredmatrix2015-08-271-16/+16
|
* should not redefine $var in the function callMario Vavti2015-05-291-1/+1
|
* fix menu render for menu item edit - menu previewMario Vavti2015-05-291-1/+5
|
* some fixes to make menu sharing work and expose it in the ui.Mario Vavti2015-05-291-6/+4
|
* parse errorredmatrix2015-05-281-2/+2
|
* another case of committing with unsaved changes in a second windowredmatrix2015-05-281-2/+4
|
* add menu_created, menu_edited fields to DBredmatrix2015-05-281-4/+31
|
* menu encoding for sharing/exchangeredmatrix2015-05-271-0/+39
|
* uid > channel id to make submenus visible for observersMario Vavti2015-05-101-3/+3
|
* provide ability to create submenusMario Vavti2015-05-101-1/+19
|
* provide wrap variable for comanche menusMario Vavti2015-05-071-2/+5
|
* attach an id to menues, allow $menu_title to be empty, if no custom menu ↵Mario Vavti2015-04-191-6/+8
| | | | class is provided use default redbasic classes
* Introduce wrap variable in comanche blocks (if set to none the block will ↵Mario Vavti2015-04-191-44/+8
| | | | not be wrapped in a div), fix menu item permissions (it was not possible to set them visible for everybody) and a typo
* local_user => local_channelfriendica2015-01-281-2/+2
|
* PostgreSQL support initial commitHabeas Codice2014-11-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* show bookmarks menu only if we have any bookmarks alreadymarijus2014-09-201-0/+10
|
* comanche: provide an option to add a menu class for different theming ↵friendica2014-02-251-1/+2
| | | | choices on some menus (e.g. horizontal, tabbed, etc.)
* edit bookmarksfriendica2014-02-181-1/+1
|
* from olivier: use double quotes in js strings, updated FR translationfriendica2014-02-071-1/+2
| | | | from me: provide future ability to have an optional edit link/icon next to menus (such as bookmarks)
* order menu_list by description, not namefriendica2014-02-071-1/+1
|
* allow bookmarks to use richtextfriendica2014-02-051-1/+4
|
* bookmarks - mop up and go homefriendica2014-02-041-1/+1
|
* bookmarkingfriendica2014-02-041-12/+15
|
* fix the search for system bookmarksfriendica2014-02-041-3/+9
|
* Add switch to allow menus to be used as bookmark collectionsfriendica2014-02-021-1/+1
|
* cleanup include/menu in preparation for the next phase of bookmarkingfriendica2014-01-271-41/+9
|
* some more bookmark infrastructure plus a doc updatefriendica2014-01-181-9/+44
|
* finish ACL's in personal menusfriendica2013-12-071-12/+58
|
* set menu_channel_id before we use it in a queryMichael Johnston2013-09-141-3/+2
|
* let me edit menu_desc even if menu_name has not changedMichael Johnston2013-09-141-2/+4
|
* really truly bare-bones comanchefriendica2013-08-281-0/+1
|
* menu management is now functional with the exception of acl's (and of course ↵friendica2013-08-131-1/+3
| | | | a way to display the menus you create, and probably a bit more input sanity checking)
* menu management complete (as opposed to menu *content* management, which is ↵friendica2013-08-131-0/+23
| | | | not). As usual, this means functionally complete - as theming and presentation have been left for those more suited to the task.
* a bit more work on menusfriendica2013-08-131-0/+8
|
* more menu manage functions - should be everything we need to get startedfriendica2013-08-111-0/+187
|