Andrew Manning
9b13db1c48
Merge branch 'dev' into oauth2
2018-03-05 20:06:47 -05:00
zotlabs
59a2057fa0
fix some issues with friend suggestions on standalone sites with no 'suggestme' volunteers. This wrongly pulled up a site directory suggesting everybody on the site. While a better outcome than finding nobody, this does not fit with our ethical design goals. If there are no friends of friends, we will only suggest those who volunteer to be on the default suggestion list. Also do not attempt to load poco data from dead sites.
2018-03-04 17:40:38 -08:00
zotlabs
be6619d9c0
bugfix: unable to reset profile fields to defaults in admin/profs by emptying the textarea
2018-03-04 15:29:10 -08:00
Andrew Manning
058f7277b5
Merge branch 'dev' into oauth2
2018-03-04 06:45:07 -05:00
zotlabs
471c3c4d06
add dummy f= arg to suggestion urls, use directory version of suggest for newmember link instead of the suggest module as the UI is prettier.
2018-03-03 15:54:13 -08:00
zotlabs
ca1022675c
There was no pdl for mod_thing; add one because it's only a link away from profile creation and remains on that page until you go elsewhere and new members may need help to find their way out
2018-03-03 15:19:39 -08:00
zotlabs
4c69c56797
string change "Channel added" -> "Connection added"
2018-03-02 14:09:59 -08:00
zotlabs
b38ce967f3
sort settings/featured
2018-03-02 12:41:50 -08:00
zotlabs
dcfe9bc64f
background work for caldav integration continued, modify mod_follow to allow it to be called from ajax without redirecting.
2018-03-02 01:03:14 -08:00
zotlabs
1620691cbe
add federation property to webfinger
2018-03-01 16:38:14 -08:00
zotlabs
01015bc0d5
several email validation issues
2018-02-28 21:15:26 -08:00
zotlabs
2b910eb5aa
Create one and only one 'registration successful, check your email' popup.
2018-02-28 20:31:06 -08:00
zotlabs
14e14c6c92
provide new member widget which sits beneath the notifications for the first 60 days after an account creation.
2018-02-28 19:49:33 -08:00
zotlabs
1c07880c01
important bugfix: if logged in locally and mod_display returns nothing owned by your uid, retry with known public uids rather than issue 'permission denied'. Affects the ability to view search results for otherwise public posts 'in context'.
2018-02-28 18:01:51 -08:00
Andrew Manning
39fe80a196
Merge branch 'dev' into oauth2
2018-02-28 20:47:14 -05:00
zotlabs
6c60be9e8d
rename Addon/Feature settings to addon settings [string change]
2018-02-27 19:51:29 -08:00
zotlabs
be5187718c
provide usage hint on addon settings page to save each panel before opening another. [String change, not for 3.2]
2018-02-27 19:34:51 -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
87079e8071
require directory servers to be using some modern form of encryption; which means we only currently have 2.
2018-02-26 16:39:12 -08:00
Andrew Manning
45e0fc6802
Successful OAuth2 sequence demonstrated with the test vehicle, including an authenticated API call using an access_token.
2018-02-26 18:16:43 -05:00
Andrew Manning
e3095ce6b2
Merge branch 'dev' into oauth2
2018-02-25 08:36:52 -05:00
Andrew Manning
70b8f3240f
An authorization token is received, but I had to modify the Request class in vendor/bshaffer/oauth2-server-php/ to accept $_REQUEST instead of $_POST.
2018-02-25 08:36:40 -05:00
Mario Vavti
673cf8d35e
Merge remote-tracking branch 'mike/master' into dev
2018-02-25 13:01:23 +01:00
Mario Vavti
fed61c082c
do not overwrite abook flags if we are not owner
2018-02-25 13:00:43 +01:00
zotlabs
3153129e2e
make the profile photo image picker work correctly with multiple profiles.
2018-02-24 13:20:59 -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
Andrew Manning
497ebca54f
Merge branch 'dev' into oauth2
2018-02-24 06:48:56 -05:00
Andrew Manning
64ee42fc3d
Add channel ID to user_id in clients table. Added TODO comments about dynamic client registration protocol.
2018-02-24 06:48:30 -05:00
zotlabs
e6f9f284bf
open_pubstream logic was messy and wrong
2018-02-23 22:12:29 -08:00
zotlabs
59dafb610d
style the 'use existing' button a wee bit
2018-02-23 19:36:46 -08:00
zotlabs
2d91aed183
use embed photos javascript widget to select existing photos for profile and cover photos
2018-02-23 19:23:17 -08:00
zotlabs
048a636315
Usability and member experience: remove street address info from the default basic profile fields, mention that the site banner can be full HTML, mention on the techlevel setting that this also controls what additional features may be visible.
2018-02-23 12:44:07 -08:00
zotlabs
8f95b8a824
handle error logging in on cloud page (post method not implemented), politely ask viewer to refresh the page rather than alert 'unknown error'.
2018-02-22 21:54:28 -08:00
Andrew Manning
70719c67d3
Merge branch 'dev' into oauth2
2018-02-22 15:10:20 -05:00
Andrew Manning
43fca182e3
The authorization step with client registration and authorization code retrieval working. Might not conform perfectly to OAuth2 spec, but it is a start.
2018-02-22 15:10:05 -05:00
Mario Vavti
80ce2def46
also sort by id to not make mysql change the queryplan if offset is > 0 after recent index changes
2018-02-22 12:01:53 +01:00
zotlabs
2d69b419ff
move Zotlabs\Zot\Verify to Zotlabs\Lib\Verify as part of the z6 re-org
2018-02-21 20:59:30 -08:00
Andrew Manning
8e5c1135c3
Merge branch 'dev' into oauth2
2018-02-20 21:11:59 -05:00
Andrew Manning
89a825cd03
OAuth2TestVehicle module can create and delete oauth2 database tables.
2018-02-20 21:11:38 -05:00
zotlabs
ce8349662d
Add 'Validate' button to new_channel page and disable submit until validated. This is to get around the issue that clicking submit without ever focusing and blurring the nickname field won't actually submit the form but only provide validation. It needs to be clicked again to submit. The first click processed the blur but remained on the page with no feedback. If somebody has better workarounds, please provide. The goal is to ensure that the name and the nickname are both validated before we can submit.
2018-02-20 17:20:35 -08:00
git-marijus
b56633e1d6
Merge pull request #980 from dawnbreak/dev
...
Refactor OAuth2Server a bit.
2018-02-19 11:11:08 +01:00
Andrew Manning
7d0c1bb737
Created test vehicle module oauth2test
2018-02-18 20:24:41 -05:00
Klaus Weidenbach
4a5d1076ed
Refactor OAuth2Server a bit.
2018-02-17 01:49:01 +01:00
zotlabs
4e6072fb29
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-02-16 16:42:45 -08:00
zotlabs
f492f808f4
refactor of the DB update system. Updates are now stored individually in Zotlabs/Update/_nnnn.php and are objects; so only the pending updates need to be loaded and executed rather than all historical updates. There is one single number (DB_UPDATE_VERSION) representing the current version and it is EQUAL TO the last known update. A dummy update _1201 was created to address the difference in counting behaviour; it will be executed on the next change of DB_UPDATE_VERSION as well as the next update. The database config values are also loaded from disk on every update immediately before setting the update lock in order to reduce timing conflicts and race conditions.
2018-02-16 12:42:02 -08:00
Mario Vavti
547ef772ab
Merge remote-tracking branch 'mike/master' into dev
2018-02-16 20:47:20 +01:00
zotlabs
27cd26ec1e
extend the oauth2 storage driver so that we can use our own channel table
2018-02-15 18:47:56 -08:00
Mario Vavti
9e251a1abc
some more DB tuning.
2018-02-15 19:24:15 +01:00
Mario Vavti
45b42cbc1c
Merge remote-tracking branch 'mike/master' into dev
2018-02-15 09:00:52 +01:00
zotlabs
c11ebd12d5
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-02-14 15:37:35 -08:00
zotlabs
465d89129c
provide option to block the public stream unless authenticated, since there could be legal issues with unmoderated content
2018-02-14 15:32:33 -08:00
Mario Vavti
0336082920
Merge remote-tracking branch 'mike/master' into dev
2018-02-14 10:29:36 +01:00
zotlabs
24da5d82db
Merge branch 'share'
2018-02-13 20:09:55 -08:00
zotlabs
64809dd277
turn shares into activities - make certain to pull addons or JSON-LD will chuck a wobbly
2018-02-13 20:07:57 -08:00
zotlabs
6ca3442ba3
defperms: bad query
2018-02-13 12:13:37 -08:00
Mario Vavti
d826515ba8
since we only save the parent mid in notify we must look for thr_parent when dealing with likes
2018-02-13 11:01:58 +01:00
zotlabs
fd81a4bdc4
initial share refactor
2018-02-12 21:43:04 -08:00
zotlabs
0f8d2d4e58
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-02-11 19:36:37 -08:00
zotlabs
63107f5b2f
second part of hubzilla issue #972
2018-02-11 18:17:17 -08:00
zotlabs
07d33a1183
use new forum tag style in forum search postings
2018-02-11 15:34:34 -08:00
zotlabs
5a9ea29614
hubzilla issue #975 (searching for title as well as body could present a performance issue, so perhaps the tradeoffs should be debated)
2018-02-09 14:08:29 -08:00
Mario Vavti
6cc3294395
finally fix channel query
2018-02-09 20:36:14 +01:00
Mario Vavti
5f229d81e9
use distinct in channel item query and minor notification cache improvement
2018-02-09 14:06:59 +01:00
Mario Vavti
661c20e452
more db and queries finetuning
2018-02-08 09:47:49 +01:00
zotlabs
cadd958339
remove mobile_detect (outdated and unmaintainable)
2018-02-05 18:06:25 -08: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
Mario Vavti
9d55a254dc
this will fix the cards query and keep the rest intact
2018-02-04 22:37:30 +01:00
Mario Vavti
3cc756f302
remove some never used indices which prevented our item queries to find the right query execution plan in mysql and adjust some queries to optimze the result
2018-02-04 20:42:40 +01:00
zotlabs
dd35cad62a
some feed cleanup
2018-02-01 19:52:40 -08:00
zotlabs
c92bb6176a
more separation of complex code into separate functions
2018-02-01 15:09:51 -08:00
zotlabs
0e2c539d93
remove logging
2018-01-29 19:57:43 -08:00
zotlabs
4f24cc7377
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-01-29 18:57:15 -08:00
zotlabs
668f56807a
unable to delete accounts using tickboxes on admin/accounts - make all the action names consistent
2018-01-29 17:43:11 -08:00
zotlabs
8d479aa1c7
redirect to the email_validation page if login was attempted after account creation but prior to successful verification. This presents the link to resend the verification email and/or allows you to enter it.
2018-01-29 16:58:55 -08:00
zotlabs
e4eff6a32b
fix workflow for form based email validation when auto_channel_create is in effect. Eventually we will need to rework the workflow logic because it is getting a bit tangled.
2018-01-29 02:41:45 -08:00
zotlabs
c1e44c0f54
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-01-28 21:43:50 -08:00
zotlabs
56d1614ea6
provide a default video image if nothing else is available. Allow sites to change it.
2018-01-28 20:35:05 -08:00
zotlabs
c3e365ef47
Surface the ability to change the landing page after channel creation and create a 'go' module to present several possible things to do at this point. Change the default from 'settings' to 'profiles' so that the focus is more on you rather than the software configuration.
2018-01-28 15:56:31 -08:00
Klaus Weidenbach
82f19e6278
Fix a PHP7.2 warning when a channel has no cards.
2018-01-28 21:38:25 +01:00
Mario Vavti
a86b260f73
query optimisations for notifications - use a specific index only
2018-01-28 12:09:47 +01:00
zotlabs
21f464a557
Guranteed somebody will paste the verification link and not the token, especially before all the translations are completed. But even then...
2018-01-27 15:20:43 -08:00
Mario Vavti
423274b923
Merge remote-tracking branch 'mike/master' into dev
2018-01-28 00:18:29 +01:00
Mario Vavti
6c4054c20b
fix syntax error
2018-01-27 23:55:44 +01:00
zotlabs
69099a2732
registration testing
2018-01-27 14:16:52 -08:00
zotlabs
d99a51e5b7
typo
2018-01-27 13:41:37 -08:00
Mario Vavti
843d631111
Merge remote-tracking branch 'mike/master' into dev
2018-01-27 22:25:46 +01:00
Mario Vavti
2e4e56f7cc
if startpage is /hq redirect all notifications links to /hq and minor notifications and hq fixes
2018-01-27 22:23:47 +01:00
zotlabs
bd0f63980b
Usability improvements to registration/verification workflow. This requires additional testing.
2018-01-27 12:51:48 -08:00
zotlabs
660079bd2a
Issue with configurable site age limit, vagueness when informing about email validation policy; added email validation resend ability and the option to input a verification code at a webpage though both require additional work to provide these abilities.
2018-01-26 12:16:47 -08:00
Mario Vavti
503b2225f0
Merge remote-tracking branch 'mike/master' into dev
2018-01-24 11:17:25 +01:00
Mario Vavti
e3a6b0012e
implement caching of notifications in browser session storage
2018-01-24 11:16:51 +01:00
zotlabs
304085606f
some code cleanup and simplification in mod_like
2018-01-23 20:03:17 -08:00
zotlabs
5d4110375a
add units to css
2018-01-23 16:44:11 -08:00
zotlabs
4b7947d98c
replace image cropping library
2018-01-23 16:36:56 -08:00
zotlabs
4cfd7b65fb
siteinfo embellishments
2018-01-22 20:07:08 -08:00
zotlabs
5967360991
hubzilla issue #920 - unable to delete permission groups with space in name
2018-01-22 16:49:45 -08:00
zotlabs
c994f26dbd
preserve reverse date sort in mod_search after changes
2018-01-21 18:11:04 -08:00
zotlabs
a4588af0f8
mod_search: fix the group by mess
2018-01-21 17:06:38 -08:00
Mario Vavti
a0e1a8e0a2
Merge remote-tracking branch 'mike/master' into dev
2018-01-18 13:20:23 +01:00
Mario Vavti
23a20ba6a5
raise the queue threshold default from 300 to 3000
2018-01-18 11:30:33 +01:00
zotlabs
eb86ffefbf
provide local pubstream option (content from this site only).
2018-01-17 21:30:19 -08:00
zotlabs
f1afb0ddfe
simplify dir_tagadelic dramatically
2018-01-17 20:10:49 -08:00
Mario Vavti
9aadcb0bd4
Merge remote-tracking branch 'mike/master' into dev
2018-01-16 08:55:42 +01:00
zotlabs
82306682c6
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-01-15 21:49:48 -08:00
zotlabs
03f692f24f
surface the article feature
2018-01-15 21:46:27 -08:00
Mario Vavti
746ea5a369
fix some regressions with permission roles
2018-01-15 11:34:42 +01:00
Mario Vavti
d868ebe4ba
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2018-01-15 08:56:41 +01:00
zotlabs
91db66b32d
move markdown-in-posts/comments feature to plugin
2018-01-14 18:22:58 -08:00
Andrew Manning
ef11b3eb2b
Added minimum registration age to /admin/site settings page
2018-01-14 15:02:43 -05:00
Mario Vavti
8970d30c93
Merge remote-tracking branch 'mike/master' into dev
2018-01-14 07:42:58 +01:00
zotlabs
75285fd452
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-01-13 15:55:04 -08:00
zotlabs
eb3e43feec
cleanup of last fix
2018-01-13 14:08:15 -08:00
zotlabs
08bea83c03
unexpected openssl result
2018-01-13 13:45:33 -08:00
zotlabs
8892568652
improve owa logging
2018-01-13 12:24:55 -08:00
Mario Vavti
2c5b6cf8dc
update to bootstrap 4 beta3
2018-01-12 22:03:06 +01:00
Mario Vavti
f2ec84fb13
typo
2018-01-12 16:03:41 +01:00
Mario Vavti
51d791d824
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2018-01-12 15:54:41 +01:00
Mario Vavti
db08e2cea0
mod hq: stick to show latest unseen toplevel post on load
2018-01-12 15:54:27 +01:00
git-marijus
07b67963f1
Merge pull request #951 from dawnbreak/docu
...
💡 Add source documentation from recent conversations.
2018-01-12 10:15:43 +01:00
Mario Vavti
47c14d3ca1
Merge remote-tracking branch 'mike/master' into dev
2018-01-12 09:16:56 +01:00
zotlabs
6a8c583220
expose settings for site sellpage and site location
2018-01-11 14:29:00 -08:00
zotlabs
468e976a88
OpenWebAuth: can fail after site re-installs; this may need to be pushed forward to master
2018-01-11 12:15:38 -08:00
Mario Vavti
25a63dc413
continue working on hq
2018-01-11 10:58:46 +01:00
zotlabs
c09bab466a
hubzilla issue #945 continued: We previously blocked directory keywords when searching the local directory as it produced errant results and included results from the entire directory space (an issue that was resolved satisfactorily by that fix sometime in the past). As a result of issue #945 this was reworked so that we should return correct results for keywords when searching either the local directory or a standalone directory.
2018-01-10 15:32:04 -08:00
zotlabs
dfb75840b8
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2018-01-08 14:51:16 -08:00
zotlabs
62f0266f46
scrutinizer issues: none worthy of including in 3.0, there will likely be a few hundred more before all is said and done.
2018-01-08 14:45:21 -08:00
Mario Vavti
0600817ef7
fix regression in app categories
2018-01-08 11:11:17 +01: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
ada578e7e3
issues with feed parameters
2018-01-02 14:04:43 -08:00
zotlabs
ce38350e00
this should finish up hubzilla issue #113
2017-12-31 14:45:42 -08:00
zotlabs
3fadedcc54
test of new affinity preset code (post 3.0)
2017-12-30 22:48:06 -08:00
zotlabs
e095cb8113
possibly fix hubzilla #673 (prev/next buttons on connedit can show deleted connections). We cannot actually determine that a connection has been deleted (this is typically accomplished by removing the abook record), but we can determine if the corresponding xchan has been deleted.
2017-12-30 15:35:18 -08:00
zotlabs
1fcf59ff94
cleanup
2017-12-28 15:16:50 -08:00
zotlabs
5cfb63da50
a different (hopefully better) implementation of affinity presets, but not for 3.0 because strings have changed.
2017-12-28 15:12:20 -08:00
zotlabs
38646fe0e1
Make affinity widget settings work. It's entirely possible they never did work correctly. I'm not comfortable over-riding the network_page_default config in this way but this is the way I've always set the affinity and it has worked just fine for me for several years and there haven't been any other requests to extend the network page default options.
2017-12-28 14:06:30 -08:00
Mario Vavti
fe960d7c28
notifications: only handle item otype notify_ids
2017-12-18 12:46:37 +01:00
Mario Vavti
5c5fc0a62f
only use effective uid if we deal with sys channel content
2017-12-15 08:51:05 +01:00
Mario Vavti
26b92c8564
fix another PHP7.2 warningg
2017-12-14 22:41:11 +01:00
zotlabs
494ce9b872
hubzilla #475 continued - show photos in root folder. Part of Andrew's fix for this wasn't in my repository and hopefully won't conflict; as it appears to have been lost somewhere. It also needed a small change to the folder permissions check.
2017-12-12 14:18:34 -08:00
zotlabs
d4bb6c17d1
auto promote beginner (techlevel 0) accounts to level 1 after they show signs of active participation.
2017-12-10 16:41:03 -08:00
zotlabs
85b7c90637
strip acct: from OWA auth to API endpoints
2017-12-07 18:56:26 -08:00
zotlabs
4c08d7c480
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-12-06 14:30:00 -08:00
zotlabs
ffaab27e77
synchronise an attach_move operation to clones
2017-12-06 14:20:17 -08:00
Mario Vavti
a604236d89
missed a spot while resolving merge conflict
2017-12-06 12:40:27 +01:00
Mario Vavti
44cb68a356
resolve merge conflict
2017-12-06 09:12:28 +01:00
zotlabs
b7ca2b41cc
mod_cloud: provide a themed page with an error notification on errors instead of an obtuse XML error structure
2017-12-05 18:20:38 -08:00
zotlabs
8451ee20c9
disallow backslashes in wiki and wiki-page names
2017-12-05 16:33:24 -08:00
zotlabs
d4acf41192
explain what happened here
2017-12-04 21:39:53 -08:00
zotlabs
24d256e253
fix mod display and others that require a non-zero profile_uid for updates
2017-12-04 21:18:10 -08:00
zotlabs
cb39d9435d
We only require one Update module. The rest are superfluous.
2017-12-04 15:14:58 -08:00