aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
Commit message (Collapse)AuthorAgeFilesLines
* dont suggest anything here it explains itselfMario Vavti2015-04-141-1/+1
|
* some more on webpagesMario Vavti2015-04-141-12/+15
|
* move style to style.cssMario Vavti2015-04-101-3/+3
|
* make r# work better with different font sizesMario Vavti2015-04-101-3/+3
|
* that didn't work out well - let's do this insteadfriendica2015-04-081-27/+16
|
* fix selector when sys channel activefriendica2015-04-081-0/+13
|
* system channel always has allow_code privilegesfriendica2015-04-081-6/+19
|
* Fix Design Tool navigation for sys channel.Klaus Weidenbach2015-04-061-6/+16
| | | | Fix creating menu for sys channel.
* Correcting reported Doxygen syntax warnings.Klaus Weidenbach2015-03-291-149/+182
| | | | | | | Fixed wrong Doxygen syntax and add some of the available FIXME to Doxygen documentation. Updated Doxygen configuration to add also all capital letter tags. Adding some more Doxygen documentation.
* comanche: move 'webpage' declaration to the first parser pass so it is set ↵friendica2015-03-251-2/+2
| | | | when content loads.
* catche edge case of tag "@abcdef +1", which tags the first entry in your ↵friendica2015-03-241-6/+15
| | | | abook, regardless of abcdef. This holds true for other similar patterns as well.
* improve performance of the zotfeed queriesfriendica2015-03-231-3/+7
|
* add loadtime search to channel and fix it for home. display and search need ↵friendica2015-03-211-2/+1
| | | | further investigation
* make the channel item query match recent changes to network item query (and ↵friendica2015-03-181-1/+1
| | | | some slightly older changes in display item query), and allow '@' in linkified urls.
* openid cleanupfriendica2015-03-161-7/+5
|
* Some cleanups.Klaus Weidenbach2015-03-131-13/+16
| | | | | | Fixed dbesc_identifier(), but it is not used yet. Corrected some other variable names and variable initialization before using them.
* support rel=me on channel "homepage" urlfriendica2015-02-241-2/+2
|
* issue #896friendica2015-02-121-2/+4
|
* get_rel_link broken - also weekly doc updatesfriendica2015-02-061-1/+1
|
* garbage in garbage outfriendica2015-02-031-2/+2
|
* issue #889 private tags for forums no longer recognised after tag refactor a ↵friendica2015-02-021-0/+3
| | | | few weeks back. This solution is not optimal as it also leaves you in the privacy ACL in some cases and not in others but it restores the previous functionality
* add multipart/mixed to getIconFromType()marijus2015-02-011-0/+1
|
* local_user => local_channelfriendica2015-01-281-10/+10
|
* move userReadableSize() and getIconFromType() from ↵marijus2015-01-271-0/+71
| | | | /include/RedDAV/RedBrowser.php to include/text.php and add template for mod/sharedwithme
* Call sslify with an extra path element so files keep their namesAlexandre Hannud Abdo2015-01-251-1/+2
| | | | | | | The main motivation for this is when saving images one doesn't need to inspect and manually input the file's actual name. There might be other benefits, perhaps in automated downloads.
* Fix some issues with tagging.Stefan Parviainen2015-01-161-16/+13
|
* ignore bbcode open tag (left bracket) in hash and mention tag regexes and ↵friendica2015-01-141-2/+2
| | | | turn it into a tag delimiter
* provide a setting to control ALLOWCODE permissions at the channel level - it ↵friendica2015-01-131-4/+4
| | | | isn't always appropriate to apply this to all channels in an account.
* Allow tags in mail, many profile fields, and admin infoStefan Parviainen2015-01-131-1/+1
|
* Refactor mention code to make it more reusableStefan Parviainen2015-01-121-0/+30
|
* include channel clones in PM deliveries (also some whitespace edits)friendica2015-01-081-15/+15
|
* lines reversed in handle_tag()friendica2015-01-061-2/+2
|
* Revert "Revert "Language names via intl library.""Stefan Parviainen2014-12-311-1/+1
| | | | This reverts commit 4f35efa0bad4ae6489b63f3eebafe6542d654094.
* Revert "Language names via intl library."RedMatrix2014-12-311-1/+1
|
* Language names via intl library. Fixes #773Stefan Parviainen2014-12-301-1/+1
|
* fix double encoding of homepage in profile activity - not as ↵friendica2014-12-211-0/+1
| | | | straight-forward as it looked
* Access list of smilies over JSONStefan Parviainen2014-12-201-31/+38
|
* allow a variety of latitude/longitude delimiters since nobody can agree on them.friendica2014-12-171-1/+3
|
* ability to generate arbitrary map with [ map=lat/lon] and also free form ↵friendica2014-12-171-0/+6
| | | | location using [ map]somewhere[/map] but the second one currently has no plugins available to generate it.
* Add [ map ] element to bbcode, no closing tag. Requires a map generator ↵friendica2014-12-161-0/+14
| | | | plugin (like openstreetmap which was just updated) and also requires that the author has browser location enabled.
* Add security logger to RedDAV.Klaus Weidenbach2014-12-141-216/+193
| | | | Some smaller clean ups whitepsaces and tabs, use PHP_EOL, Doxygen, etc.
* Show tags in other channels profile field to make it easier to navigate to ↵Stefan Parviainen2014-12-071-0/+256
| | | | the channels
* new system config reserved_channelsHabeas Codice2014-11-211-1/+6
| | | | prevents members from creating channels in a reserved list
* Merge remote-tracking branch 'upstream/master'Habeas Codice2014-11-131-2/+20
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: boot.php include/dba/dba_driver.php include/diaspora.php include/follow.php include/session.php include/zot.php mod/photos.php mod/ping.php
| * cleanupfriendica2014-11-111-0/+3
| |
| * slow progress on sys publishing, making sure all the data we need is in the ↵friendica2014-11-111-1/+1
| | | | | | | | places we need it but validate it anyway
| * a couple of places where we need to look for a sys channel euid.friendica2014-11-111-0/+7
| |
| * and urlencode that.friendica2014-11-111-2/+2
| |
| * Most directory searches are POST. get_query_args() only handles GET so that ↵friendica2014-11-111-1/+9
| | | | | | | | had to be fixed or page 2 of directory search results wouldn't match the search.
* | PostgreSQL support initial commitHabeas Codice2014-11-131-7/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)