zotlabs
7354b30068
convert message-id to uuid
2018-09-04 20:59:11 -07:00
zotlabs
9beda708de
Change main router request variable from 'q' to 'req'. This is necessary to implement search in the twitter api addon, because twitter requires use of the variable 'q'.
2018-08-26 23:35:29 -07:00
zotlabs
bc06233d10
Merge branch 'red'
2018-08-20 22:24:44 -07:00
zotlabs
df26fec1b3
hubzilla core issue #1262
2018-08-17 21:21:02 -07:00
zotlabs
64196dd2a7
article summaries and some other stuff
2018-08-15 18:56:18 -07:00
zotlabs
f4f610f1a3
more backporting for zot6
2018-08-14 18:19:34 -07:00
zotlabs
12f4787b67
issue with mdpost addon and archive.org links which contain a full url as a path/query component
2018-08-13 23:11:10 -07:00
zotlabs
b484441438
sync fixes
2018-07-22 23:06:45 -07:00
zotlabs
cf03855f65
more import work
2018-07-22 22:18:58 -07:00
zotlabs
f8ed09b3fa
Merge branch 'red'
2018-07-18 18:55:28 -07:00
zotlabs
5ce50d0a2e
mangled urls on redirects
2018-07-18 17:05:38 -07:00
zotlabs
564aa2f134
pass render options to code highlight
2018-07-16 18:12:03 -07:00
zotlabs
2cc6ca0f88
update the photo item_obj format to AS2+
2018-07-16 16:46:20 -07:00
zotlabs
cc90f71230
trim features (e2ee and bookmarks)
2018-07-08 22:28:15 -07:00
zotlabs
29d973f848
move group to lib
2018-07-03 16:40:54 -07:00
zotlabs
40ab482ada
various fixes
2018-07-01 21:07:35 -07:00
zotlabs
1b1d9e502c
Merge branch 'red'
2018-06-25 21:02:44 -07:00
zotlabs
66fc12c928
crc32 is potentially reversible
2018-06-25 13:33:23 -07:00
zotlabs
f66fb8e2a8
SECURITY: logging: hash the session_id in case somebody posts log snippets from active sessions; also provide a hashed process_id if using a daemon process (with no session) for easier tracking of related log events
2018-06-25 13:20:12 -07:00
zotlabs
3aa9bcac85
Merge branch 'red' into merge
2018-06-17 19:30:38 -07:00
Mario
9c5df51141
some work on mod group
2018-06-17 16:58:12 +02:00
zotlabs
3b0469a277
finish migrating their_perms (except for federation addons)
2018-06-07 19:44:09 -07:00
zotlabs
9232351cb2
Merge branch 'master' into zapp
2018-06-04 17:47:34 -07:00
zotlabs
e1b85a361c
photos not syncing properly if destination is a postgres site
2018-06-04 16:36:13 -07:00
zotlabs
89f16c81dd
fix conflict
2018-06-03 17:59:41 -07:00
zotlabs
4524d241a2
Merge branch 'master' into zapp
2018-06-03 17:58:24 -07:00
Mario Vavti
a42ff1e6d4
missing $perm_sql
2018-06-03 13:27:06 +02:00
Mario Vavti
a32626e489
add the archived flag
2018-06-02 22:42:20 +02:00
Mario Vavti
8189408190
finalize filters and forum notifications
2018-06-02 22:11:11 +02:00
Mario Vavti
9fcb3bf2e8
first cut on restructuring the previously called network tabs
2018-05-30 14:02:58 +02:00
zotlabs
b88a683127
zot communications
2018-05-28 19:42:40 -07:00
zotlabs
aa57887dd5
Merge branch 'master' into zapp
2018-05-26 15:13:57 -07:00
zotlabs
c9fb4fd070
start sorting the permission debacle
2018-05-23 22:50:33 -07:00
zotlabs
afb29176a4
deal with db failure gracefully
2018-05-23 02:33:46 -07:00
zotlabs
21230fb39a
Merge branch 'master' into zapp
2018-05-20 20:44:20 -07:00
zotlabs
a9e81abcf9
more z6 work
2018-05-20 20:42:31 -07:00
Mario Vavti
0bc2a4f603
fix issues with attachment labels
2018-05-19 11:04:34 +02:00
zotlabs
b1629db876
checkin lots of recent zap/zot6 work
2018-05-18 03:09:38 -07:00
zotlabs
301e405769
fine tuning the refactored tag/mention code
2018-05-14 18:27:12 -07:00
zotlabs
d9759ba63c
more refactor tags/mentions
2018-05-14 17:20:25 -07:00
zotlabs
356c7003f2
We're no longer setting a backup ACL for private mention typos.
2018-05-13 15:50:42 -07:00
zotlabs
50796079fa
loose ends discovered while fixing hubzilla #1166
2018-05-09 17:09:38 -07:00
Mario Vavti
34f6d9f714
missing basetag
2018-05-04 13:54:12 +02:00
zotlabs
b52e9731e3
tagging changes: + (old style forum mentions), and underscore space replacement are no longer supported.
2018-05-03 20:14:58 -07:00
zotlabs
285781b887
hubzilla issue #1151 - activitypub mention gets bookmarked
2018-05-02 13:49:22 -07:00
zotlabs
7b445a5b39
where possible strip zid parameter from links that get pasted into posts so that they will get a correct zid when rendered
2018-04-26 20:27:14 -07:00
zotlabs
7b9946079f
function doc update
2018-04-25 23:10:08 -07:00
zotlabs
f923d21df3
some tagging work
2018-04-25 18:41:19 -07:00
zotlabs
63e8f1f36b
undo_post_tagging - don't waste a connection query if we're undoing a hashtag and not a mention.
2018-04-25 02:26:37 -07:00
zotlabs
8face5a66c
make tag autocomplete less scary looking in the editor. If this works out we can simplify and get rid of a huge amount of spaghetti tag logic.
2018-04-24 15:32:24 -07:00
zotlabs
b688dc3995
minor tweak to utf8 usernames after some testing of the underlying encode/decode funations. This probably isn't critical and I do not have a failure case but just trying to cover all bases.
2018-04-23 19:10:35 -07:00
zotlabs
a2e0706d55
relax restrictions to the design tools menu to allow those with write_pages permission; this doesn't fix the underlying modules though as there are some potential security issues at the moment.
2018-04-18 17:26:05 -07:00
zotlabs
c53f788cc8
add alt_pager to mod_moderate, remove legacy $a parameter from all occurrences of alt_pager
2018-04-17 23:36:35 -07:00
zotlabs
fc7d9c235c
minor code optimisation
2018-04-17 22:23:28 -07:00
Mario Vavti
04935f139d
fix xchan_query() for anon comments
2018-04-09 14:28:41 +02:00
zotlabs
e864679942
private forum mentions
2018-04-04 18:53:06 -07:00
zotlabs
f748139606
allow the link target attribute to be modified in bbcode() from much further up the call stack in prepare_page() which will usually refer to a local item.
2018-04-04 16:33:11 -07:00
zotlabs
33bb89729c
hubzilla issue #1019 - punycode urls on connedit page when displaying locations
2018-03-29 02:26:25 -07:00
zotlabs
2fc3f381ac
php strpos() empty needle warning when a term entry has no url
2018-03-25 21:48:42 -07:00
zotlabs
ab1d47b36f
unicode/emoji usernames. Warning: experimental feature, unstable, untested, disabled by default, use at your own risk, may not federate to other platforms and protocols. May not clone correctly. Bug reports which neglect to include detailed roubleshooting information and patches/pull requests will be ignored.
2018-03-12 20:54:55 -07:00
zotlabs
b38ce967f3
sort settings/featured
2018-03-02 12:41:50 -08:00
zotlabs
5277e79fa2
change undo_post_tagging() to emit quoted tags rather than using underscore replacement if they contain spaces.
2018-02-26 20:30:36 -08:00
zotlabs
afe2ba3690
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-02-26 16:45:04 -08:00
zotlabs
f83b7c2d52
issues with delivery of edited posts to forums
2018-02-26 15:46:29 -08:00
Mario Vavti
c618bfc607
mark connections where we do not have post_comments permissions with an no entry sign.
2018-02-24 19:42:39 +01:00
zotlabs
f15fd93f90
implode can take its arguments in either order, but let's try to be consistent
2018-02-04 17:01:59 -08:00
zotlabs
cc0cd0b292
more generalisation of commonly used code constructs
2018-02-01 17:17:23 -08:00
zotlabs
4eead1c688
typo from previous checkin and partial fix to hubzilla #965 - show any connection without comment permission as archived in contact_block().
2018-01-26 13:42:53 -08:00
Klaus Weidenbach
aa63c23839
💡 Add source documentation from recent conversations.
...
There have been some conversations in the last weeks which explained
several parts of the code, so add it to the source code documentation.
Also some other small source code documentation improvements.
2018-01-05 01:38:20 +01:00
zotlabs
59779f2a0e
reverse the logic so we zidify by default
2017-12-16 15:14:28 -08:00
zotlabs
b1e191ce21
don't zidify all permalinks, only zot permalinks
2017-12-16 15:10:43 -08:00
zotlabs
a99ebd42ec
change to bbcode calling parameters: important: will require pulling addons;
...
also some extra checking of server headers in upload functions
2017-11-23 15:21:50 -08:00
zotlabs
250d947667
cloud tiles: use folder-o for folders and set the icon colour to something a bit less harsh than the link colour for system icons. Dark solid blue folders are a bit overwhelming, as is the default text_colour (black)
2017-11-19 21:51:21 -08:00
zotlabs
ab363e3132
improve the icon mappings for cloud tile view
2017-11-16 19:58:09 -08:00
zotlabs
9b19e40a74
hubzilla issue #901 - unicode characters in urls tripping up url regexes - these regexes have been modified to accept unicode "letters" which may preclude emojis and control sequences and symbols in url links; but should suffice for most legal URLs containing language context "text" glyphs.
2017-11-09 21:26:18 -08:00
Mario Vavti
cdaf5f3fc0
fix issues with diaspora xchans
2017-11-02 08:44:46 +01:00
zotlabs
52c1f79f2e
acl encoding issues
2017-10-23 17:52:17 -07:00
zotlabs
623dfa1384
purify user-supplied filenames in some cases. Probably not needed but it's the right thing to do.
2017-10-09 15:13:25 -07:00
zotlabs
58155864cb
urlencode hashes from mod_acl
2017-10-03 15:36:56 -07:00
zotlabs
741af8c164
extend activity_match to work with arrays
2017-09-24 22:41:14 -07:00
zotlabs
1650d79862
tagging changes - provides ability to mention a forum by using !forumname as well as the traditional red style (@forumname+). This should probably not be advertised on a wide scale until after a critical mass of sites have updated to a version containing these changes. This adds yet another option type to the ACL module which probably needs refactoring soon since it is turning into option type spaghetti.
2017-09-24 19:45:19 -07:00
zotlabs
8b7ab90836
Merge branch 'master' into tagging
2017-09-24 16:59:56 -07:00
zotlabs
61d9b34929
use mimetype text description rather than technical name in dropdown choices, found bug in mimetype selection option code
2017-09-19 23:30:52 -07:00
zotlabs
d37e6b9271
more tag stuff
2017-09-17 23:54:29 -07:00
zotlabs
654139933f
tagging changes
2017-09-17 23:28:58 -07:00
zotlabs
0e6d84e207
add option to mimetype selector so you can change the element name in case you end up with two of these suckers on the same page
2017-09-12 23:25:19 -07:00
zotlabs
5e99295bf6
wiki mimetype selection
2017-09-12 22:32:31 -07:00
zotlabs
4d794103be
testing owa
2017-09-07 18:09:31 -07:00
zotlabs
842a041a88
remove period from characters allowed in username, as this will mess up URL based content-type negotiation. It was previously disallowed but permitted a month or two ago after seeing Diaspora started allowing it. It's OK if they have it, but we can't; as many of our urls are based on username and theirs are primarily based on uid.
2017-09-05 16:38:55 -07:00
zotlabs
be097bf415
issue with mentions and xchans with @ or /
2017-08-30 16:24:26 -07:00
zotlabs
77267e049a
use iso 8601 "Zulu" for log timestamps so it can be easily processed with fail2ban
2017-08-29 20:47:49 -07:00
zotlabs
e2b6464f83
escape 'http' inside code blocks so it doesn't trigger an oembed
2017-08-29 20:07:26 -07:00
zotlabs
9b87940ed2
remove easter egg
2017-08-15 18:49:08 -07:00
zotlabs
fce68f1a39
add rel=noopener to all external target _blank links
2017-06-13 18:29:08 -07:00
zotlabs
dfc0d4cf59
move code syntax highlighting to plugin
2017-05-30 19:50:41 -07:00
zotlabs
bfad624528
re-arrange a few functions
2017-05-30 18:36:19 -07:00
zotlabs
b15a5f03e6
work through the diaspora_v2 outgoing status posts
2017-05-28 19:17:46 -07:00
zotlabs
3a00140797
remove php version checks for older ( < 5.4) code incompatibilities
2017-05-23 21:20:40 -07:00
zotlabs
1c8c7479b8
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-22 03:51:58 -07:00
Mario Vavti
b62463107c
smileybutton fixes
2017-05-19 10:48:04 +02:00
zotlabs
1de1b58a08
consolidate email validation checks
2017-05-11 19:01:04 -07:00
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