aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Don't recognise hashtags starting with #, e.g. ###friendica2014-10-151-2/+2
|
* template for searchbox and some more work on saved searchesmarijus2014-10-081-19/+17
|
* trying to call mod/magic on rss resources - which have no hubfriendica2014-09-221-1/+5
|
* better way to deal with effective_uidfriendica2014-09-221-1/+9
|
* prevent red#matrix smilie replacements from tripping over each other.friendica2014-09-081-2/+3
|
* extra_query_args() restricted to $_GET only. $_REQUEST was adding cookies ↵friendica2014-09-061-4/+5
| | | | and this is undesired and potentially a security issue.
* ajax workfriendica2014-09-061-0/+14
|
* improved logging if you're using php54 or laterfriendica2014-09-041-2/+8
|
* various rss fixesfriendica2014-08-311-0/+5
|
* Revert - see comments.Thomas Willingham2014-08-261-3/+3
|
* HTML doesn't work without ACCOUNT_ROLE_ALLOWCODE, so don't offer itThomas Willingham2014-08-261-2/+3
| | | | as an option.
* profile edit - missing visibility and drop link on non-default profiles, ↵friendica2014-08-211-4/+4
| | | | re-arrange order of replacing red#matrix smilie so it works correctly, accept a post with body content of '0' which was interpreted by x() as nothing (was treated as integer).
* provide an overt indication that a post/comment was edited.friendica2014-08-181-2/+4
|
* don't subdue archived connections in viewconnectionsfriendica2014-07-161-2/+3
|
* subdue archived connections in group editor and don't show at all in ↵friendica2014-07-161-2/+2
| | | | contact_block()
* rename friendica_smartyfriendica2014-07-131-1/+1
|
* added A NAME/ID to whitelist in HTMLpurifier. That means we can now make ↵jeroenpraat2014-07-111-0/+1
| | | | vintage indexes in web pages.
* for non-post items (e.g. photos, events, whatever) add mention tags ↵friendica2014-06-301-0/+25
| | | | explicitly to the output rendering since they may not be present in the post body.
* use consistent capitalisation in the item actions menufriendica2014-05-291-1/+1
|
* fix search to use in appfriendica2014-05-221-2/+2
|
* show hidden connections in contact block if and only if the observer is the ↵friendica2014-05-081-4/+14
| | | | profile owner
* Unfortunate omissionfriendica2014-04-261-3/+1
|
* better mapping of visible connectionsfriendica2014-04-141-8/+6
|
* remove extra tag loggingfriendica2014-04-121-1/+1
|
* don't match quote remnantsfriendica2014-04-121-1/+5
|
* let normal hashtags be quoted strings alsofriendica2014-04-121-1/+12
|