zotlabs
f840082aae
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-05 16:58:46 -07:00
Klaus Weidenbach
eeb9103e26
💡 correct some Doxygen syntax mistakes.
2017-05-05 00:23:57 +02:00
zotlabs
88149f56bb
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-04-26 20:11:12 -07:00
Mario Vavti
1c304eb8ba
make mastodon happy args
2017-04-26 22:16:23 +02:00
zotlabs
c904bd3a62
The rest of the library and backend changes to support client-side e2ee and deprecate previous uses of item_obscured.
2017-04-26 14:16:07 +02:00
zotlabs
803bff4043
smilies - add param to only list default emoticons
2017-04-26 14:09:45 +02:00
zotlabs
a342a5f8e0
smilies - add param to only list default emoticons
2017-04-25 16:36:37 -07:00
zotlabs
f1c6fd08c4
database upgrade
2017-04-23 20:28:04 -07:00
zotlabs
94f15e3551
The rest of the library and backend changes to support client-side e2ee and deprecate previous uses of item_obscured.
2017-04-20 20:19:15 -07:00
zotlabs
397fef519c
give the item_obscured flag a new lease on life by using it to designate third party client-side e2ee or binary content which can only be downloaded and not viewed directly on the web (as a side effect this also allows binary files to be submitted as activities/content). The content display is suppressed and replaced with a download button. This is unfinished but harmless to backport while work is in progress unless told otherwise. Future development will take care of the remaining loose ends.
2017-04-18 21:18:49 -07:00
zotlabs
9fb08fb502
make legal_webbie() pluggable - * this should not be merged with federated projects unless the federation drivers make use of the hooks.
2017-04-05 19:08:43 -07:00
zotlabs
a92256e1cb
legal_webbie() now provides different character rules depending on whether you federate or not. Added some comments in a few places that needed them.
2017-04-03 22:13:12 -07:00
zotlabs
a9cceea850
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-03-30 16:10:59 -07:00
Klaus Weidenbach
2e2f984c45
Add some documentation for import functions.
2017-03-30 23:06:00 +02:00
zotlabs
b03cd330e5
begin the process of using the relevant attach directory/path for photo albums instead of an album basename which may not be unique. Created an 'ellipsify()' function to shorten long names and keep the beginning and end intact
2017-03-29 14:09:19 +02:00
zotlabs
fa629841bd
input filter updates
2017-03-29 13:39:36 +02:00
zotlabs
0f7832dc30
code_allowed is a real mess. Start the cleanup by remving the account level code allow and limiting to specific channels only. This reduces the possibility of cross channel security issues coming into play. Then provide a single function for checking the code permission. This is only partially done as we often need to check against the observer or logged in channel as well as the resource owner to ensure that this only returns true for local channels which also own the requested resource.
2017-03-29 13:32:23 +02:00
zotlabs
8292553a20
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-03-27 14:11:25 -07:00
Klaus Weidenbach
f718e2b0db
⬆️ Update HTML Purifier library.
...
Updated HTML Purifier from 4.6.0 to 4.9.2 with better PHP7 compatibility.
Used composer to manage this library.
2017-03-26 00:41:27 +01:00
zotlabs
e5e0a6b31f
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-03-25 14:40:31 -07:00
zotlabs
bedc393425
begin the process of using the relevant attach directory/path for photo albums instead of an album basename which may not be unique. Created an 'ellipsify()' function to shorten long names and keep the beginning and end intact
2017-03-21 20:11:48 -07:00
Mario Vavti
a73ea134cd
re-add spaces between tags
2017-03-15 21:22:16 +01:00
Mario Vavti
aa33cacb62
style hashtags, mentions and categories. hide expand-aside button if not needed. css and class fixes
2017-03-15 16:42:55 +01:00
zotlabs
2c73b457ef
input filter updates
2017-03-14 17:07:29 -07:00
zotlabs
58aa0f3e1a
code_allowed is a real mess. Start the cleanup by remving the account level code allow and limiting to specific channels only. This reduces the possibility of cross channel security issues coming into play. Then provide a single function for checking the code permission. This is only partially done as we often need to check against the observer or logged in channel as well as the resource owner to ensure that this only returns true for local channels which also own the requested resource.
2017-03-13 16:19:47 -07:00
zotlabs
c93db2cd21
more cleanup
2017-03-09 14:31:54 -08:00
zotlabs
4c0c153b8f
move emoji emoticons (not reactions) to plugin
2017-03-05 16:18:09 -08:00
zotlabs
155844f142
reverse sort order
2017-03-02 23:02:44 -08:00
zotlabs
e58dc726c5
activity widget - like the forum widget but represents unseen activity by author. Still experimental until it can be tested with diaspora xchans, which may require additional urlencoding.
2017-03-02 17:32:43 -08:00
Klaus Weidenbach
503c368f9e
⬆️ 🔨 Upgrade PHP Markdown library.
...
The current version throws deprecated warning with PHP7.1 and PHPUnit.
Upgrade the Markdown library to the current PHP Markdown Lib 1.7.0.
Used composer to manage this library.
2017-02-27 23:40:29 +01:00
zotlabs
5db3b71c6a
strip possible quotes from attribute_contains() haystacks
2017-02-15 11:35:36 -08:00
zotlabs
07d92796d2
provide HTTP header parser which honours continuation lines and despite the fact that continuation lines have been deprecated - as they still exist in the wild.
2017-02-14 20:57:14 -08:00
zotlabs
732065bf13
channel export - use a selected list of functional data categories to export; this allows one to export single data sets instead of always exporting everything we know about
2017-01-31 15:28:25 -08:00
zotlabs
7b065365e0
consolidate hubloc storage
2017-01-30 15:01:22 -08:00
Hubzilla
96f196febd
add gen_link_id() function to selectively encode/decode the message-id component of /display/ links for message-ids that contain troublesome characters
2017-01-19 15:37:30 -08:00
zotlabs
c32bc9dda4
more integration of vcard and profiles
2017-01-15 19:51:14 -08:00
zotlabs
9ad44a2060
btlogger trace file logging not working as desired.
2017-01-10 17:37:41 -08:00
zotlabs
2312302dea
setup: check disabled functions more precisely than using a string match
2017-01-05 14:17:56 -08:00
zotlabs
f2bfdfdedd
provide separate logging (if configured) for btlogger which is used to catch really subtle issues which don't always leave an audit trail. Similar to dbfail.out, the file btlogger.out (if it exists and is write-able) will only log these unusual situations with backtraces so we can find the culprits.
2016-12-21 23:35:54 -08:00
zotlabs
350627988e
zidify private mail
2016-12-19 14:35:13 -08:00
zotlabs
cbffd32d8e
use absolute namespace in case this gets moved
2016-12-13 20:05:36 -08:00
zotlabs
0394a3e939
tag and mention handling in private mail (which required refactoring the bbcode cleanup stuff in mod_item)
2016-12-13 20:01:38 -08:00
zotlabs
e2660eaad3
fix the forum widget for forums with custom perms
2016-12-02 12:15:18 -08:00
zotlabs
3c302bae5a
move all the zid related stuff to one file
2016-11-13 20:22:01 -08:00
zotlabs
7763643f2e
zidify wiki content
2016-11-13 15:06:16 -08:00
zotlabs
66c07a8b33
reorganise emoticons
2016-11-06 20:31:37 -08:00
Klaus Weidenbach
7b41839ea8
[TASK] Update Doxyfile and fix Doxygen errors.
...
Updated Doxyfile to include new folders.
Add a list for @hooks tags.
Fixed some parsing problems for Doxygen.
2016-10-13 11:27:23 +02:00
zotlabs
6532972e61
additional array checking
2016-10-13 00:30:41 -07:00
zotlabs
48026efddf
consolidate duplicated code for creating table entries from an array
2016-10-12 22:12:58 -07:00
zotlabs
03aacc35b3
start on the API re-write
2016-10-11 16:13:52 -07:00
redmatrix
cef1aa6d1b
add some more stuff to admin/account_edit (service class, language, and techlevel if appropriate). Fix en-au and en-gb so they are listed as languages, and move language selector stuff to include/language.php instead of include/text.php; new file Zotlabs/Lib/Techlevels.php so we only need to write the selection array once.
2016-10-03 17:16:24 -07:00
Mario Vavti
57dc362d5d
whitelist button tag in htmlpurifier
2016-09-09 14:29:20 +02:00
Mario Vavti
1e8fec9385
add more foundation data- attributes
2016-09-08 11:22:58 +02:00
Mario Vavti
628187db16
upgrade foundation to version 6.2.3
2016-09-07 12:57:52 +02:00
redmatrix
fa8febbb31
some issues with saved search - tags and connection searches weren't being saved.
2016-08-31 21:57:08 -07:00
Andrew Manning
305e0538d2
Website export to cloud files works. Created new recursive copy function in attach.php.
2016-08-23 06:55:26 -04:00
Andrew Manning
f2e87a204d
Progress implementing zip file export
2016-08-17 21:25:50 -04:00
Andrew Manning
c98b91f514
Stash changes for merge with dev
2016-08-17 18:19:36 -04:00
redmatrix
3ba4b2c1c1
A bit of api cleanup. Don't get excited. This is like a 0.005% cleanup but you have to start somewhere.
2016-08-11 17:02:52 -07:00
redmatrix
ec3ca11d0d
bad code format
2016-08-09 16:59:35 -07:00
Mario Vavti
b959641ca8
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2016-08-03 21:17:08 +02:00
Mario Vavti
c50bfa07ca
multiple acl work
2016-08-03 21:16:57 +02:00
Andrew Manning
7c47557554
Improved UI. Removed logger statements.
2016-07-31 07:30:25 -04:00
Andrew Manning
f17f51a9c1
Merge remote-tracking branch 'upstream/dev' into website-import
2016-07-30 06:30:46 -04:00
Mario Vavti
9fa3956aa8
translate mime types to icons, update some icons, move file preview (upload progress) below table header
2016-07-28 10:28:48 +02:00
Andrew Manning
5a63ddd645
Merge remote-tracking branch 'upstream/dev' into website-import
2016-07-21 21:14:54 -04:00
Andrew Manning
99f7dd0fd4
Merge remote-tracking branch 'upstream/dev' into website-import
2016-07-20 05:38:19 -04:00
redmatrix
7524948a97
Merge branch 'dev' into perms
2016-07-18 16:10:41 -07:00
Mario Vavti
f44ca74e99
do not transform hashes to tags in [code=xxx] or [code] blocks
2016-07-18 13:48:09 +02:00
redmatrix
de4f9d68bd
Merge branch 'dev' into perms
2016-07-17 21:40:04 -07:00
Andrew Manning
99354ac576
Merge remote-tracking branch 'upstream/dev' into website-import-remote
2016-07-16 21:04:04 -04:00
Andrew Manning
e7b8531751
Stash changes to merge from dev
2016-07-16 21:02:13 -04:00
Andrew Manning
ff2f599142
Postpone remote folder import until filesystem mirroring matures.
2016-07-16 19:25:44 -04:00
redmatrix
f3eb9af046
more ZAT work
2016-07-14 19:43:47 -07:00
redmatrix
b3a785711c
deprecate/remove json_decode_plus
2016-07-13 22:11:06 -07:00
Andrew Manning
c5e534c0cb
Clearer import control interface
2016-07-10 07:21:52 -04:00
Andrew Manning
a338a97d5b
First draft of website import tools
2016-07-10 06:58:20 -04:00
redmatrix
cbf009a95d
cleanup
2016-07-05 16:56:40 -07:00
redmatrix
e5c66d94f2
relocate the cache class
2016-06-23 05:18:58 -07:00
redmatrix
cef77ce5bb
the xchan_query wasn't fully optimised as we were comparing quoted and unquoted strings when looking for duplicates
2016-06-22 19:22:59 -07:00
redmatrix
63423c8ee1
make sure the optimisations are reliable
2016-06-20 20:56:58 -07:00
redmatrix
ed16660867
code optimisation
2016-06-20 20:34:19 -07:00
redmatrix
2793086c0d
1. string update, 2. pretty print json blobs
2016-06-17 14:58:03 -07:00
redmatrix
a2a87fec54
code comments
2016-06-15 22:36:00 -07:00
redmatrix
1dc35db1fe
ignore case in language names and add 'js' as an alias for 'javascript'
2016-06-15 20:25:19 -07:00
redmatrix
854c23a751
This was the reason for the large line widths - an extra linefeed after each li element
2016-06-15 19:59:30 -07:00
redmatrix
fa48de33c2
provide syntax based [colour] highlighting on code blocks for popular languages. I'm not happy with the line height on the list elements but couldn't see where this was defaulted. This uses the syntax [code=xxx]some code snippet[/code], where xxx represents a code/language style - with about 18 builtins.
2016-06-15 19:44:15 -07:00
redmatrix
1ff9abe1b4
missing iconfig conversion
2016-06-13 21:16:36 -07:00
redmatrix
1e68d4fb75
deprecate the item_id table - replace with iconfig. A possibly useful function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication.
2016-06-13 19:58:24 -07:00
redmatrix
dd6718c2cd
provide a hover class for smiley emojis which renders them slightly larger on compatible devices when you single them out for inspection
2016-06-04 18:10:42 -07:00
redmatrix
bf438f67e1
the :tone variants are messed up, remove them
2016-06-04 17:13:55 -07:00
redmatrix
81f6511d34
return of the project smilie
2016-06-04 17:09:37 -07:00
redmatrix
a6012af00d
For emojis in posts, extend smilies and save a lot of duplication of effort
2016-06-04 17:06:12 -07:00
redmatrix
624f4641e2
missed an object -> obj conversion in prepare_body
2016-06-03 15:09:58 -07:00
redmatrix
f9075e2a2f
some initial emoji reaction work
2016-06-02 18:42:51 -07:00
redmatrix
a9d7acda27
the rest of the schema updates - WARNING: some third party plugins may fail; e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files.
2016-06-01 21:48:54 -07:00
redmatrix
b1259876bf
more db column renames
2016-05-31 21:45:33 -07:00
redmatrix
61304d80d2
track down some issues from the application logs
2016-05-26 18:45:47 -07:00
redmatrix
80f2ba640e
code cleanup
2016-05-24 20:49:23 -07:00
redmatrix
516c43ba15
more work associated with DBA and index.php shuffle
2016-05-24 17:54:45 -07:00