Commit Graph

3046 Commits

Author SHA1 Message Date
friendica
8dc22c564a provide ability to change attachment/file permissions 2014-01-06 16:49:07 -08:00
friendica
e20fef3903 cleanup mod/filestorage before embarking on further changes to it 2014-01-06 13:37:25 -08:00
friendica
323fc1f9a5 fix photos/upload album selector 2014-01-06 02:54:08 -08:00
friendica
daf5daa2d3 disable web browser post inputs if no storage write permission 2014-01-05 19:25:56 -08:00
friendica
061894d37f reddav - basic mkdir support - needs more work to be robust 2014-01-05 16:00:05 -08:00
friendica
85ed9404f9 the web browser interface for DAV has now got zot 2014-01-05 14:12:53 -08:00
friendica
587c5d3e46 a few fixes to webpage editing 2014-01-04 13:44:43 -08:00
cvogeley
24850a4ea4 Merge pull request #254 from cvogeley/master
Webpage fixes for the moment without the fix for page not found after editing a webpage
2014-01-03 12:28:34 -08:00
Christian Vogeley
87ff495443 Revert "Fix page not found error after editing a webpage"
This reverts commit 575f2b3280.
2014-01-03 21:25:18 +01:00
friendica
475b24ca9e more dav work 2014-01-03 01:44:25 -08:00
friendica
a1c198814d basic browsing and file retrieval for webdav working - uploads not yet. A lot of permissions stuff is in place so it's marginally (but probably not completely) permission controlled 2014-01-02 17:49:39 -08:00
friendica
ad08561d84 some DAV tweaks before the next round of heavy lifting 2014-01-02 01:09:57 -08:00
friendica
76106e16d5 fix attachment rendering for preview 2014-01-01 21:09:12 -08:00
friendica
057d885baf return to working on red-dav; This is a bit of a slog at the moment and the basic framework isn't even close to working. This does break the working test we did have (which was never connected to the Red backend). Now we're starting to connect Red and DAV together intimately. There will probably be some twists and turns along the way as we get the information we need into all the class objects that need them. But the important part is that the RedDirectory and RedFile classes are loading without throwing white screens and from here we can use logging to figure out what the DAV front end is trying to do and what it is passing to the backend and hopefully figure out what it expects to do with the results. Unless you're a competent developer with a strong background in OOP and are helping develop this code, you should keep it an arm's length away from any production site and don't even think of enabling it. By default it is turned off. 2014-01-01 16:07:36 -08:00
Christian Vogeley
aafc40069b Confirm webpage deletion prompt 2014-01-01 16:18:39 +01:00
Christian Vogeley
575f2b3280 Fix page not found error after editing a webpage 2013-12-31 18:28:07 +01:00
Christian Vogeley
22e94d7d68 Correct wrong service class check for webpages 2013-12-31 16:03:25 +01:00
friendica
4c541bb680 expose profile things in the UI 2013-12-30 15:41:42 -08:00
friendica
0dd7d93674 basic edit and delete for things 2013-12-30 04:25:55 -08:00
friendica
6e81c332b7 group ACL control using tags (group must be "visible") 2013-12-29 23:47:19 -08:00
friendica
3f110567a1 handle exclusive tags and add to ACL 2013-12-29 16:30:11 -08:00
friendica
c03c0724ed basic support for exclusion tags - we just need to use the results to tweak the ACL. 2013-12-29 16:12:39 -08:00
friendica
f36be066af display_thing: it ain't much, but it's implemented. 2013-12-29 00:51:27 -08:00
friendica
1d0fddd39c things can now have (consistent sized) photos - plus I found a couple of issues with duplicate notifications and contact photos not getting an album name (it was crossed with filename). The last one doesn't matter as neither is used, but it was wrong so it has been corrected. Oh and thing photos weren't working at all because the form element name was different than what the module was looking for. But that had never been tested as I was waiting to get the import/resize finished. Next up for that module is display and deletion of things; but the priority is pretty low. 2013-12-28 13:28:49 -08:00
friendica
121ee48963 sslify - remove the redirect fallback - as it gets called occasionally and creates mixed content exceptions. Let's see how we go without it. Also a doc update. 2013-12-27 21:19:23 -08:00
friendica
c59688553c remove prettyphoto from core - this will affect the enhanced photo albums feature on the short term which has been disabled until we figure out how to make the setting per-theme instead of a core option. The library is still available in core (library/prettyphoto) currently but needs to be moved to theme js and loaded/accessed from there [for themes which use it]. Then the library will be removed. It appears that other lightboxes commonly use rel= to group photo albums. So we may provide a generic rel= tag in photo album templates so that the choice of lightbox or album viewer is not only a theme option but could also be accomplished with plugins. 2013-12-26 13:08:16 -08:00
friendica
f133218b33 don't include deleted folks in acl popup 2013-12-25 23:14:13 -08:00
friendica
9d9fc6e2dc mod_invite - don't generate errors for email addresses consisting of blank lines 2013-12-25 17:08:32 -08:00
friendica
eda7c24c4e improve the register text until the new register page is finished 2013-12-25 16:53:59 -08:00
friendica
66600ed2f8 try again 2013-12-25 04:06:26 -08:00
friendica
4ec569d6e7 sslify http links in media elements if you're on an https server 2013-12-25 02:45:22 -08:00
friendica
c1875bcc37 cut/paste error 2013-12-25 02:04:52 -08:00
friendica
fe00e9b261 extend the directory profiles a bit more 2013-12-25 01:57:04 -08:00
friendica
71dde7c687 use case-insensitive array search for matching directory keywords with your own 2013-12-23 22:56:32 -08:00
friendica
8194ade886 improve the directory popup a bit 2013-12-23 19:44:23 -08:00
friendica
b08d4cc1fe first cut at a directory popup. It's a bit annoying at the moment, so we'll have to make it less so. Also had second thoughts about the project homepage changes made yesterday. Just because a bunch of Reddit trolls can't get social networking out of their brain long enough to explore other technologies or even read the project page doesn't mean we should pander to them and explain how or why we either are or aren't a social network. 2013-12-23 17:24:25 -08:00
friendica
63a42480c7 add account_level, is_foreigner and is_member functions; convert all e2ee user input and prompts to hex to avoid javascipt's lame handling of quotes. !!This breaks all prior encrypted posts.!! 2013-12-23 15:13:09 -08:00
friendica
4517bdcff1 Merge https://github.com/friendica/red into zpull 2013-12-23 12:01:53 -08:00
friendica
45a4c649ed oops 2013-12-23 12:01:38 -08:00
Thomas Willingham
3ac659e9c5 Reduce life of xref cookie per Opinion 04/2012 on Cookie Consent Exemption.
Otherwise, we need to annoy everyone with cookie warnings if they access
a hub in the EU.
2013-12-23 04:58:12 +00:00
friendica
ca05565fcc one step closer to merging register and pubsites pages 2013-12-22 20:07:18 -08:00
friendica
dcc58dec00 Provide Terms of Service placeholder page (includes doc/SiteTOS.md) 2013-12-22 19:56:22 -08:00
friendica
1a42580ad4 remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code. 2013-12-22 18:37:39 -08:00
friendica
eff38538ee more (somewhat minor) but important cleanup for mod_photos so visitors with the correct permissions to add photos can also remove them 2013-12-22 17:44:14 -08:00
friendica
a9e225b38a issue deleting photos (attached item remained undeleted and became visible, though the photo was gone) 2013-12-22 17:30:49 -08:00
friendica
38df3f6404 make xref work 2013-12-22 16:53:26 -08:00
friendica
c1a85ccbec add ability to set created date/time from the api 2013-12-22 14:29:15 -08:00
friendica
30219b5bda Merge pull request #249 from cvogeley/master
New modal dialog for item expiry
2013-12-22 13:44:34 -08:00
Thomas Willingham
57bf80fff0 Achievements 2013-12-22 20:54:31 +00:00
Thomas Willingham
666586f332 xref 2013-12-22 20:51:49 +00:00
Christian Vogeley
870df76463 Merge remote-tracking branch 'upstream/master' into bootstrap
Conflicts:
	view/php/theme_init.php
2013-12-22 14:31:27 +01:00
Christian Vogeley
25a533bd72 New modal dialog for item expiry 2013-12-22 14:21:57 +01:00
friendica
7e7b5bfa49 last remaining files to be Comanchified with the exception of mod_admin. Though I should probably take a third look to see if anything else uses widgets.
In fact - it appears that the flattrwidget does.
2013-12-22 02:16:45 -08:00
friendica
0366991b45 appears that I missed a few files for Comanchification. so here's mitem. 2013-12-22 02:04:55 -08:00
friendica
d32bbaf599 split private messages into two modules - "message" is just for message lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly. 2013-12-21 23:47:44 -08:00
friendica
aa312f72bf comanchify mod_directory. Two modules remaining. Actually three because message needs to be split. 2013-12-20 12:43:04 -08:00
friendica
a084a3fa47 comanchify mod_search - we've got three modules left to Comanchify: admin, directory and message - each of which introduces "interesting challenges" 2013-12-20 01:39:42 -08:00
friendica
2c0fbc508e comanchify connedit, group 2013-12-19 23:56:37 -08:00
friendica
bccc20f38c default photo issue, and connections page showing deleted accounts. Also show last updated on connedit page 2013-12-19 19:16:46 -08:00
friendica
6c2ea59cde give doc/help alternate mimetype support 2013-12-19 17:44:30 -08:00
friendica
564f431551 comanchificate mod_photos 2013-12-19 17:36:31 -08:00
friendica
7c81889b33 make default profile photo configurable - should be functional but needs admin ui 2013-12-19 16:33:36 -08:00
friendica
825492407e more comanche 2013-12-19 02:35:45 -08:00
friendica
b28a37c38e more comanche 2013-12-19 02:25:44 -08:00
friendica
125543aded more comanche migration 2013-12-19 02:16:14 -08:00
friendica
2089a1379a provide git revision in siteinfo if possible and if not instructed otherwise 2013-12-18 18:29:53 -08:00
friendica
1a4c91ccf5 Add App::poi to store the "person of interest" for a given page. This is so we can comanchificate the vcard_from_xchan widget -- it will pick up the target xchan from the page environment. 2013-12-18 14:53:18 -08:00
friendica
38fd8410eb split off mod_connections into mod_connections & mod_connedit - lots of links to fix 2013-12-18 01:00:08 -08:00
friendica
1780684c57 split mod/connections for comanchification 2013-12-17 20:26:08 -08:00
friendica
1d82d93078 Merge https://github.com/friendica/red into zpull 2013-12-17 16:36:23 -08:00
friendica
44ead61339 authtest: do a better job of success/failure indication 2013-12-17 16:35:22 -08:00
zottel
b3e3073b99 JS-less display 2013-12-17 12:23:39 +01:00
friendica
50731fa6a6 bring back the collection edit sidebar widget on the connection edit page until I sort out Comanche on that page. 2013-12-16 13:34:34 -08:00
friendica
a7a775a718 install redbasic during setup so that at least one theme is registered. Otherwise none of the display settings seem to work very well. 2013-12-16 00:25:08 -08:00
friendica
5a3a72604b some re-work of mod_sources 2013-12-15 20:59:52 -08:00
friendica
731ab80ac2 set system.projecthome to 1 if you want the project page for a home page. There was a bit of re-org of mod/home, which might alter the behaviour for some existing sites. Basically we're not showing a login box at all if you've got home.html - there should be a login link in th nav bar. If you haven't defined anything at all we'll fall back to the old behaviour but still allow the home contents to be set via plugin. 2013-12-15 15:37:51 -08:00
friendica
0272ab4cd9 Provide a fallback channel to probe for magic-auth when we have no prior communications with a site.
This will be a system channel if one exists, otherwise any channel will do. We'll try to use the first
valid channel on the site because that was probably created when the site was installed and is the
closest thing to a system channel we've got.
2013-12-15 14:36:43 -08:00
friendica
db11f5af78 missed this 2013-12-14 17:06:50 -08:00
friendica
d14e2db6b4 make home.html fullpage mode - make directory search work for non-logged in, but leave off suggest and invite 2013-12-14 17:03:37 -08:00
friendica
c00f0d4b28 a couple more comanche conversions 2013-12-14 13:26:40 -08:00
friendica
0215043826 prepare for Comanchification of mod_photos 2013-12-13 13:30:33 -08:00
friendica
941f81eb30 check that every invocation of htmlspecialchars has the right arg list 2013-12-12 02:01:42 -08:00
friendica
b3fe221b7f issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments. 2013-12-11 23:13:36 -08:00
friendica
b4e1e8a4a4 The affinity tool is not a "traditional" widget. But it is nevertheless a widget. It just makes fewer page layout decisions which are hard-coded. If you want to shrink it down and put it on the sidebar in your theme, go for it. 2013-12-11 19:43:41 -08:00
friendica
c57b6745e8 Merge https://github.com/friendica/red into zpull
Conflicts:
	view/theme/redbasic/css/style.css
2013-12-11 15:32:25 -08:00
friendica
06c81e189f Merge pull request #239 from git-marijus/master
make empty notes saveable as well
2013-12-11 15:35:54 -08:00
friendica
2c02f57f27 remove hidden and deleted channels from viewconnections 2013-12-11 15:04:09 -08:00
friendica
40e2900326 comanchify all the simple cases - those that only load a profile. Rework permission checks for the profile sidebar so that it is all done internally. Remove crepair which we aren't using. 2013-12-11 14:54:36 -08:00
Thomas Willingham
d93ba783f5 Don't let nobody set an xconfig in safe search. 2013-12-11 15:35:19 +00:00
marijus
48610a85dc make empty notes saveable as well 2013-12-11 11:25:20 +01:00
friendica
652959678f cleanup and Comanchification of mod_profile 2013-12-10 23:27:17 -08:00
friendica
5279f3bf6f issue #237 - when manually changing an uploaded photo URL in a post to an invalid URL that happens to not throw an error, it affects the ability to parse the URL to see if it's a local image and correct permissions. The correct way to do this is to change the '-2' to '-1' if you want 640 instead of 320 and '-0' if you want the original size - which is not likely to win you many friends if it happens to be a 42 megapixel photo. We might have limits in place to prevent monster photos from destroying everybody's streams, but many services you export the post to will probably not. 2013-12-10 20:48:54 -08:00
friendica
e5ea4a009b mod channel is now Comanchified 2013-12-10 20:36:11 -08:00
friendica
0043ef66b6 mod_network is now running under Comanche. Yay. 2013-12-10 00:25:32 -08:00
friendica
e873f6e95e we're almost ready to turn on comanche for mod_network. All the widgets are done. 2013-12-10 00:05:31 -08:00
friendica
ed9f108722 comanchify the savedsearch widget 2013-12-09 21:20:55 -08:00
friendica
aaf21e8924 slight mod of connections widgets 2013-12-09 18:31:13 -08:00
friendica
70a81d6ad5 Merge branch 'master' of https://github.com/git-marijus/red
Conflicts:
	view/theme/redbasic/css/style.css
2013-12-09 15:45:52 -08:00
marijus
76d8501d67 saved search icon work and bugfixes for #tags not beeing deletable and save button showing if saved search is disabled 2013-12-10 00:32:49 +01:00
friendica
f85cba10eb notes widget 2013-12-09 15:27:46 -08:00
friendica
75ebf06131 some work on modularising the default profile photo so we can make them site selectable. Also red != friendica so we don't need all these friendica logos taking up space 2013-12-09 14:05:52 -08:00
zottel
c20f207cde enable JS-less display of channel 2013-12-09 13:30:35 +01:00
friendica
00f4ee2717 migrate follow widget to comanche and remove obsolete mod/intro.php 2013-12-09 00:12:44 -08:00
friendica
082ac67778 suggestion widget tweaked to make it comanche capable. Remove old versions of specs that are so obsolete it isn't funny. Zot protocol reference is in red's github wiki, and in the code. We should move the github copy to /doc once it is updated to match the code. There's no point in documenting dfrn in the red code base. 2013-12-08 20:08:50 -08:00
friendica
8959487f1c transition to $a->set_widget in /network on the short term - long term this will be in view/pdl files 2013-12-08 16:16:54 -08:00
friendica
d32e05fb5e starting on the journey to comanche everywhere - beginning with widget conversions. There are approximately 20 which need to be wrapped for accessibility to comanche. 2013-12-08 16:04:28 -08:00
friendica
30d110b498 Merge pull request #228 from tobiasd/nologin
add option to hide login form from homepage
2013-12-08 13:33:35 -08:00
friendica
48c650c715 improve editing ability of webpages - acls, photos, location, page link title, etc. 2013-12-07 15:20:12 -08:00
friendica
6dc157a9f9 finish ACL's in personal menus 2013-12-07 13:05:17 -08:00
friendica
08bbab9a06 show a clean url in the hovertip for suggested friends 2013-12-06 22:54:21 -08:00
friendica
6d3aebb483 add suggestions to a couple of other pages 2013-12-06 21:45:36 -08:00
friendica
f45b06ffa0 suggestion widget 2013-12-06 21:40:01 -08:00
friendica
e70b0d4e20 need include/conversation for events now 2013-12-06 20:01:32 -08:00
Tobias Diekershoff
6c6c8a2451 add option to hide login form from homepage 2013-12-06 12:00:43 +01:00
friendica
5382f607d9 yeah - that's what I'm going to do. we'll just keep system notifications. If somebody wants web pages for the others we'll start fresh. It's easier than starting with curfty friendica code that doesn't work anymore and will never work without starting over. 2013-12-06 00:11:15 -08:00
friendica
1aa79d9ee6 some code cleanup - gad I forgot what a mess the "other" notifications tabs (everything but system) were in. Maybe I'll just remove them so we can start over. 2013-12-06 00:02:39 -08:00
friendica
78d19f3395 move profile tabs and network/matrix tabs to include/conversation 2013-12-05 21:00:14 -08:00
friendica
fefdd24b2c Merge https://github.com/friendica/red into zpull 2013-12-05 20:40:51 -08:00
friendica
7ae371d286 couple of errant SQL queries 2013-12-05 20:40:27 -08:00
friendica
28ac593e67 remove some cruft 2013-12-05 20:34:39 -08:00
friendica
5282bf69b5 Merge pull request #223 from zzottel/master
Make it possible to change collection visibility without changing name.
2013-12-05 19:31:42 -08:00
friendica
b3f6220226 make some "selection-is-selected" classes work again 2013-12-05 19:23:30 -08:00
friendica
1c3c3c64bc issue #224 2013-12-05 19:07:59 -08:00
friendica
38577cf26c issue #225 2013-12-05 18:17:16 -08:00
friendica
539988b62f couple of additional checks 2013-12-05 15:55:14 -08:00
friendica
d66d8ff524 mod_authtest --- magic-auth diagnostic for those that are too freaking important to read logs or code and expect others to be able to debug complex authentication transactions with no information beyond "it didn't work". This will provide a transaction report including both sides of the exchange that you can paste into a bug report and that a developer can actually figure out where in the transaction that things went wrong and maybe even be able to then figure out why. 2013-12-05 15:40:50 -08:00
zottel
0e9df93a69 Make it possible to change visibility without changing name. 2013-12-05 13:44:31 +01:00
friendica
cc1e906825 generate a small amount of entropy to avoid duplicate notifications from essentially simultaneous deliveries. 2013-12-04 23:54:46 -08:00
friendica
13feafce17 add poco and follow to default xchan creation 2013-12-04 18:30:14 -08:00
friendica
d8903f09f5 include re-organisation and more doco, post_to_red fix ampersands in categories 2013-12-04 00:19:29 -08:00
friendica
7187c493e1 add hooks to zot-finger and import_xchan 2013-12-03 17:55:10 -08:00
friendica
f57909d190 on successful magic-auth, put remote_service_class and remote_hub into the session 2013-12-03 16:31:05 -08:00
friendica
6c321be03c reorganise a few included functions - notably identity related functions 2013-12-03 15:35:13 -08:00
friendica
645e897852 more work on magic-auth 2013-12-02 19:06:54 -08:00
friendica
e0f4a76856 magic-auth re-factor 2013-12-02 17:35:44 -08:00
friendica
d9f67876dc refactor magic-auth 2013-12-02 15:15:02 -08:00
friendica
3fdc3515b5 some work on events permissions 2013-12-01 23:49:52 -08:00
friendica
92f60ef51f get rid of deprecated post_url() function 2013-12-01 19:52:18 -08:00
friendica
194c1e7abc file corruption 2013-12-01 19:29:11 -08:00
friendica
71e67f6347 document the ping packet - and remove the ancient rusty brown square default profile photos. 2013-12-01 19:02:36 -08:00
friendica
fa5366bb95 don't magic-auth against a deleted channel 2013-12-01 17:18:09 -08:00
friendica
77186fa7cd magic auth fix plus doco 2013-12-01 17:12:29 -08:00
friendica
b1e775a7a1 zot documentation inline in the code where we need it most. 2013-12-01 16:11:18 -08:00
friendica
1c5f98440d quite a bit of work on default acl permissions and various acl quirks 2013-11-29 14:09:21 -08:00
friendica
df66c510c9 allow zot-info to return results for address= with webbies or naked nicknames 2013-11-29 00:57:47 -08:00
friendica
d1ab865ccf make the template processor (e.g. replace_macros) pluggable 2013-11-28 19:17:45 -08:00
friendica
64b467ea98 reduce the likelihood that a given channel will have 30-40 valid hublocs with the same hubloc_url. 2013-11-27 02:51:16 -08:00
friendica
7aa7f0f4eb allow editing posts on connectors that support edits 2013-11-26 15:50:30 -08:00
friendica
fe9162395a sort out the preview icons 2013-11-25 14:54:14 -08:00
friendica
cbe096dd90 wp-to-red: now supports editing, titles, and native permalinks 2013-11-25 14:20:57 -08:00