Stefan Parviainen
686b6ee118
Use grouped select field for timezone selection
2015-01-01 14:44:50 +01:00
Stefan Parviainen
7bf7f8180d
Revert "Revert "Language names via intl library.""
...
This reverts commit 4f35efa0ba
.
2014-12-31 10:42:08 +01:00
RedMatrix
4f35efa0ba
Revert "Language names via intl library."
2014-12-31 10:43:19 +11:00
RedMatrix
009b05b3b6
Merge pull request #796 from pafcu/profeditfix
...
Don't show links to edit alternate profiles if multi_profiles is disable...
2014-12-31 10:22:30 +11:00
RedMatrix
7b0b0dd76f
Merge pull request #794 from pafcu/lang
...
Language names via intl library.
2014-12-31 10:21:53 +11:00
RedMatrix
4a82967639
Merge pull request #791 from pafcu/notifications
...
Improved notifications
2014-12-31 10:21:38 +11:00
Stefan Parviainen
2444a3f9d9
Don't show links to edit alternate profiles if multi_profiles is disabled
2014-12-30 21:33:20 +01:00
marijus
4edc9a696b
design fixes for photos, files and random fixes
2014-12-30 21:04:48 +01:00
Stefan Parviainen
b54bbf0fb8
Update function doc, return language code if language is not recognized
2014-12-30 20:34:26 +01:00
Stefan Parviainen
9cab8ae58a
Language names via intl library. Fixes #773
2014-12-30 20:29:31 +01:00
Stefan Parviainen
e6a3ea2c95
Make showing wall posts, intros and private messages under Notices optional
2014-12-30 15:27:33 +01:00
marijus
8e034a3b6b
fix recursive file permissions
2014-12-30 13:56:27 +01:00
RedMatrix
b7d2b9c1ef
Merge pull request #778 from pafcu/loginredir
...
Redirect to login page on failed login. Fixes #628
2014-12-29 09:29:23 +11:00
pafcu
0b79445b57
Merge pull request #779 from pafcu/audio
...
Make spaces work in [audio] and [video]. Fixes #774
2014-12-28 12:30:20 +02:00
Stefan Parviainen
fffc7dffba
Fix typo
2014-12-28 11:28:54 +01:00
Stefan Parviainen
f08ee3bab9
Make spaces work in [audio] and [video]. Fixes #774
2014-12-28 11:22:58 +01:00
Stefan Parviainen
426ac22e12
Redirect to login page on failed login. Fixes #628
2014-12-28 09:26:30 +01:00
marijus
cafc1b64b0
some more mime-type -> icon for filebrowser
2014-12-27 14:28:02 +01:00
marijus
0cb0c2b1bf
more work on files
2014-12-27 10:10:56 +01:00
friendica
ca0c310b65
change PERMS_CONTACTS to PERMS_SPECIFIC in permission roles so that individual connections can be revoked instead of this being inherited and un-changeable
2014-12-26 00:09:34 -08:00
friendica
b171ea23e4
cleanup bb2diaspora - was getting crufty
2014-12-23 14:18:27 -08:00
friendica
8db34ac826
diaspora formatting improvements (getting too many xx-large posts)
2014-12-22 20:54:22 -08:00
friendica
ee89ff5124
some improvements in api direct messages
2014-12-22 18:26:11 -08:00
friendica
f66df5e137
direct messages in api have some issues, not properly ported from friendica originally. Here's a start.
...
I think at best they may return encrypted gibberish currently, but let's work through them one at a time.
2014-12-22 18:05:34 -08:00
Stefan Parviainen
83eb7a10e2
Option to check that a random profile works before returning it
2014-12-22 22:57:58 +01:00
Stefan Parviainen
bd2be2b10c
Fix feature check in apps (missing parenthesis), allow multiple requires (comma separated)
2014-12-22 17:52:30 +01:00
friendica
d3830aea96
provide last successful poll run time (using relative time) in siteinfo so that we can tell folks that have no idea what we're talking about that their poller definitely isn't running and this is probably why nothing works correctly.
2014-12-21 18:40:25 -08:00
friendica
b840c27995
Merge https://github.com/friendica/red into pending_merge
2014-12-21 14:45:46 -08:00
friendica
2b3cc585a2
fix double encoding of homepage in profile activity - not as straight-forward as it looked
2014-12-21 14:43:06 -08:00
marijus
27d786c979
files: make mod/filestorage.php load via ajax and some design work. work in progress...
2014-12-21 20:11:30 +01:00
Stefan Parviainen
fe80dbb3a7
Access list of smilies over JSON
2014-12-20 17:33:35 +01:00
friendica
0f0f12a453
allow a variety of latitude/longitude delimiters since nobody can agree on them.
2014-12-17 16:11:21 -08:00
friendica
cc0df5bc24
ability to generate arbitrary map with [ map=lat/lon] and also free form location using [ map]somewhere[/map] but the second one currently has no plugins available to generate it.
2014-12-17 14:12:19 -08:00
friendica
b9dc23844c
make unique hub filter more robust and straight-forward so it's easier to understand and debug since it's such a critical piece of the delivery chain
2014-12-17 11:57:16 -08:00
friendica
4e1dbc13d4
Merge https://github.com/friendica/red into pending_merge
2014-12-17 01:56:17 -08:00
friendica
eebb6f23fb
critical notifier fix to make diaspora delivery work reliably again. If everything breaks revert or debug.
2014-12-17 01:50:43 -08:00
marijus
e1999ada58
fix label of preview button
2014-12-17 10:01:22 +01:00
marijus
dfb15e4a7b
fix editing of posts
2014-12-17 09:50:55 +01:00
friendica
2fcbb9c4b3
fix some directory anomolies
2014-12-16 18:33:16 -08:00
friendica
789e025eab
Add [ map ] element to bbcode, no closing tag. Requires a map generator plugin (like openstreetmap which was just updated) and also requires that the author has browser location enabled.
2014-12-16 15:50:20 -08:00
friendica
5b49211035
edit and preview removed from additional features and turned into core functionality (always enabled).
2014-12-16 14:28:07 -08:00
friendica
7bee4e5997
build a channel based thread viewing link when in list_mode and when using the channel module, which will disable list_mode (this was checked in yesterday) for the benefit of viewing threads with the correct identities and comment permissions instead of relying on the semi-random uid chosen by mod/display when viewed by an authenticated remote_user().
2014-12-16 14:12:40 -08:00
friendica
17e27d0d87
add Thomas's Diaspora repair script as include/fixd.php - altered so it can be re-run if necessary with a count of remaining hublocs to be fixed. Some sites are down so it probably can't ever get to zero. The check for a null join is quite an expensive query. It could block your DB for a couple minutes while it runs.
...
Also some preliminary work on a means to take the channel module out of list/forum mode if a specific mid is requested.
2014-12-16 00:25:41 -08:00
friendica
2e990743e7
Merge https://github.com/friendica/red into pending_merge
2014-12-15 14:37:57 -08:00
friendica
f28103d595
wall tags
2014-12-15 14:37:31 -08:00
Thomas Willingham
c6d0695edf
Issue #743
2014-12-15 19:32:28 +00:00
Thomas Willingham
204a2c94cd
Undo accidental reversion included in last checkin
2014-12-15 15:59:47 +00:00
Thomas Willingham
372b7b1405
Doco: How to write foreign doco in how to write doco doco.
2014-12-15 15:56:00 +00:00
Thomas Willingham
049f08e6ad
Merge pull request #744 from pafcu/searchhelp
...
Add hint on how to use search box
2014-12-15 14:53:25 +00:00
friendica
1780ba5e7d
don't remove obsolete hublocs that have no sitekey - it will remove all kinds of other hublocs it isn't supposed to (e.g. diaspora).
2014-12-14 22:54:27 -08:00
Stefan Parviainen
ce88f0ab6a
Add hint on how to use search box
2014-12-14 18:40:59 +01:00
Klaus Weidenbach
233903c844
Add security logger to RedDAV.
...
Some smaller clean ups whitepsaces and tabs, use PHP_EOL, Doxygen, etc.
2014-12-14 01:50:56 +01:00
Thomas Willingham
7a19bd7fb3
Merge branch 'master' of https://github.com/friendica/red
2014-12-13 20:22:40 +00:00
Thomas Willingham
3867081503
Let Diaspora hublocs come back by allowing discover_by_webbie() to carry on if
...
and look for a hubloc even if an xchan is found.
You'll probably need to loop through the missing ones manually.
2014-12-13 20:20:55 +00:00
Thomas Willingham
76fdfb7ef5
Merge pull request #738 from pafcu/moreids
...
Add some ids to nav elements
2014-12-13 16:40:13 +00:00
Stefan Parviainen
513efc8928
Add some ids to nav elements
2014-12-12 16:27:45 +01:00
friendica
452d275b5e
don't import to sys channel from self-censored authors
2014-12-12 00:26:07 -08:00
friendica
7f1a42340a
Merge https://github.com/friendica/red into pending_merge
2014-12-10 16:26:36 -08:00
friendica
58067c24fc
block adult channels from inclusion in public content feeds
2014-12-10 16:24:31 -08:00
Thomas Willingham
ad2c8a4cb7
Provide censorship.
2014-12-10 15:34:18 +00:00
marijus
242713ebef
show clear browser location button only if use browser location option is set and minor css fixes
2014-12-09 15:09:19 +01:00
Stefan Parviainen
97d1072f9b
Make it clear that title and categories are optional
2014-12-08 16:49:48 +01:00
Thomas Willingham
81f3b20610
Merge pull request #726 from pafcu/tagsinotherchannels
...
Show tags in other channels profile field to make it easier to navigate ...
2014-12-08 13:43:06 +00:00
Thomas Willingham
99b5bef68e
Merge pull request #723 from pafcu/diropts
...
Directory sorting as a dropdown, forum filter as checkbox, option to sor...
2014-12-08 13:31:34 +00:00
Thomas Willingham
a007426965
Merge pull request #727 from dawnbreak/docu
...
Some Doxygen comments and small cleanups.
2014-12-08 13:19:46 +00:00
Christian Vogeley
10d5f0eed7
small change
2014-12-07 23:29:23 +01:00
Christian Vogeley
406e97c9ad
Remove channel cloud files from file system when
...
the channel is removed
2014-12-07 21:20:52 +01:00
Klaus Weidenbach
63646a1440
Some Doxygen comments and small cleanups.
2014-12-07 19:27:14 +01:00
Stefan Parviainen
62dabecf97
Show tags in other channels profile field to make it easier to navigate to the channels
2014-12-07 16:19:22 +01:00
Stefan Parviainen
647311db3e
Directory sorting as a dropdown, forum filter as checkbox, option to sort oldest first
2014-12-07 12:31:12 +01:00
Thomas Willingham
f1367cb9f9
Missing include if photo album widget called from not-the-photos page.
2014-12-04 21:52:22 +00:00
friendica
8e4e56b566
can't reset public to false because it may have been passed in as true and this would be wrong and cause even more subtle bugs. Reset to whatever value was passed in.
2014-12-01 18:59:38 -08:00
Thomas Willingham
def10df816
Somewhat subtle process_delivery() bug - $public was not being reset if a sys
...
channel is reached but then the loop iterated over another channel.
2014-12-01 19:09:50 +00:00
Thomas Willingham
5087d783b7
Whitespace. Stupid £#@£@$ editor.
2014-11-29 22:06:04 +00:00
Thomas Willingham
bc5a4f19d0
Fix abook_toggle_flag from postgres stuff
2014-11-29 22:01:09 +00:00
Thomas Willingham
f852a1f228
Issue #713 Arguably, we shouldn't allow poking yourself and stuff either
...
but I like that, so...
2014-11-29 02:34:49 +00:00
friendica
98b88d7d2f
ical output wasn't using 24-hour time
2014-11-24 18:46:14 -08:00
friendica
e9ba2ba600
theme the observer tags so they stick out like a sore thumb. Too much bad juju.
2014-11-24 18:02:36 -08:00
friendica
ddc8557b69
hide online presence maps to DNT
2014-11-24 15:36:11 -08:00
friendica
53dc9cf2eb
basic vcalendar formatting support
2014-11-23 20:29:34 -08:00
friendica
79e5c2456b
add link to search forums in the directory
2014-11-23 18:54:33 -08:00
friendica
5bb794cc28
allow directory searches to be filtered by (public forums) and/or (! public forums)
2014-11-23 18:22:19 -08:00
friendica
38aa8204cc
Merge https://github.com/friendica/red into pending_merge
2014-11-23 14:51:20 -08:00
Habeas Codice
8ac3b938fd
added dbdriver to siteinfo json to better track affected sites
2014-11-22 13:27:52 -08:00
friendica
86b6861aae
Merge https://github.com/friendica/red into pending_merge
2014-11-22 12:26:33 -08:00
friendica
b16f938830
random block widget
2014-11-22 12:26:04 -08:00
Habeas Codice
ab5bf1b7d6
prevent database hackery from leaking over the wire
2014-11-22 11:54:40 -08:00
Habeas Codice
ecb86dd6b2
somehow missed this one
...
was causing problems with pickup messages originating from postgres servers
2014-11-22 09:26:46 -08:00
Habeas Codice
cf739c0361
Merge remote-tracking branch 'upstream/master'
2014-11-21 15:39:14 -08:00
Habeas Codice
b224f8056c
new system config reserved_channels
...
prevents members from creating channels in a reserved list
2014-11-21 15:35:59 -08:00
friendica
f17ef6aa90
allow the photo_rand widget to access photos from any channel (useful if the widget is used in sys-generated pages). You still need permission.
2014-11-20 19:33:08 -08:00
friendica
03a457ed83
more logging for zot_feed anomalies
2014-11-20 18:44:16 -08:00
friendica
bf04568ef0
more directory tuning to ignore things we already know we can't possibly update
2014-11-20 18:36:48 -08:00
friendica
695abdcbd0
directory: don't try and sync a directory update that points to a hubloc we already know is dead and buried.
2014-11-20 18:29:28 -08:00
friendica
e74a3926fe
yet another option for the homepage
2014-11-20 17:38:41 -08:00
friendica
6cb9ee7499
Merge https://github.com/friendica/red into pending_merge
2014-11-20 15:35:14 -08:00
friendica
afd8b2ddf2
random photo widget
2014-11-20 15:34:49 -08:00
Habeas Codice
5ad79e3f04
Merge remote-tracking branch 'upstream/master'
2014-11-20 11:16:13 -08:00
Habeas Codice
e3b0b5ed52
implicit boolean, formatting
2014-11-20 04:55:01 -08:00
friendica
78cb87343c
friendica commenters are currently shown using "Diaspora" app. Try and fix this where we can.
2014-11-20 02:54:55 -08:00
friendica
18cae8a78c
change logging of some troublesome or noisy bits so we can figure out what is really going on
2014-11-19 19:22:22 -08:00
friendica
50244f943d
minor photo flag issue - and some more whitespace edits
2014-11-19 16:29:35 -08:00
friendica
7fec939c23
couple of fixes:
...
- significantly increase the content availability on the discover channel
- fix the button group on the blog/list mode which made the border on a single comment button a bit wonky
2014-11-19 14:41:24 -08:00
friendica
4893e64c1e
there's still a permission issue delivering a public post directly to the sys channel (on the local system), but this puts the local sys channel in the public delivery chain and fixes an issue with unseen counts showing on the discover page (where you can't do anything about it).
2014-11-19 00:56:05 -08:00
friendica
efcbcd6f88
add sys channel to public recips if scope public
2014-11-18 20:34:47 -08:00
friendica
3224848bad
turn the "adult photo flagging" (which prevents a particularly flagged photo from showing up in your top level albums) into a feature so it doesn't clutter the normal photo edit form. This feature was a quick hack and needs more work; but it could be important to somebody.
2014-11-18 19:02:28 -08:00
RedMatrix
bfde28f28e
Revert "Directory shows channel suggestions by default"
2014-11-19 09:15:24 +11:00
RedMatrix
3917880673
Merge pull request #702 from pafcu/master
...
Directory shows channel suggestions by default
2014-11-19 09:06:36 +11:00
RedMatrix
f137f50e3b
Merge pull request #701 from habeascodice/master
...
minor postgres fixes
2014-11-19 08:55:18 +11:00
Habeas Codice
7d0659bb2b
postgres fixes
2014-11-18 11:43:00 -08:00
Stefan Parviainen
e0ab1e24e4
Directory shows channel suggestions by default
2014-11-18 19:42:13 +01:00
friendica
af9015c8ed
place holder
2014-11-17 18:29:57 -08:00
friendica
064b48fa71
Merge https://github.com/friendica/red into pending_merge
2014-11-17 15:27:18 -08:00
friendica
c0ad4763b3
add unseen count and way to mark unseen to list mode. Also fix automatic mark of unseen so as to work with list mode.
2014-11-17 15:18:06 -08:00
RedMatrix
5aba2e82df
Merge pull request #695 from pafcu/master
...
Switch to a better datetime picker widget
2014-11-18 08:33:04 +11:00
friendica
cd404f5710
remove old timers
2014-11-16 20:33:50 -08:00
friendica
b3383a2547
speed things up a wee bit
2014-11-16 20:23:22 -08:00
friendica
cbaee76dd9
"list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page)
2014-11-16 16:19:24 -08:00
friendica
1c249a5b06
some poller optimisations and a fix for undefined (empty) dbtype which shows up as a mysql error that 'rand' isn't found.
2014-11-16 15:51:42 -08:00
Stefan Parviainen
c1b8608940
Switch to a better datetime picker widget
2014-11-16 13:56:45 +01:00
friendica
f299922df3
minor changes to support forum mode
2014-11-15 14:03:41 -08:00
RedMatrix
f864e3d7d8
Merge pull request #693 from habeascodice/master
...
Add bitwise xor to db_getfunc()
2014-11-14 13:06:07 +11:00
Habeas Codice
ee38bebbd6
Add bitwise xor to db_getfunc()
2014-11-13 17:57:21 -08:00
friendica
edda931197
mysql driver - in debug mode for statements that return true/false report the sql along with the result so we can match it to an offending statement. This has bugged me for some time but never got around to fixing it until now.
2014-11-13 16:34:36 -08:00
friendica
b5da015789
put timeout code in place but don't turn it on.
2014-11-13 15:34:35 -08:00
Habeas Codice
ac27db22c1
Merge remote-tracking branch 'upstream/master'
...
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
2014-11-13 13:06:31 -08:00
Habeas Codice
1a5a5c7edb
PostgreSQL support initial commit
...
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)
2014-11-13 12:21:58 -08:00
Klaus Weidenbach
fc2bf4c29b
Some Doxygen documentation.
...
Add some more Doxygen formating for boot.php and dba_driver.php.
Cleaning a bit up, too.
2014-11-13 00:00:50 +01:00
marijus
1ed144b83c
make search and advanced search use the same input form
2014-11-12 10:27:13 +01:00
friendica
4b9ec6645b
cleanup
2014-11-11 20:44:43 -08:00
friendica
b5af667985
slow progress on sys publishing, making sure all the data we need is in the places we need it but validate it anyway
2014-11-11 19:29:30 -08:00
friendica
570577a990
a couple of places where we need to look for a sys channel euid.
2014-11-11 18:05:50 -08:00
friendica
06e5d0798c
and urlencode that.
2014-11-11 16:09:45 -08:00
friendica
09b09dedbc
Most directory searches are POST. get_query_args() only handles GET so that had to be fixed or page 2 of directory search results wouldn't match the search.
2014-11-11 16:06:16 -08:00
friendica
325b269b22
the code is a bit crufty, but this should fix issue #687
2014-11-11 01:05:29 -08:00
friendica
0a84b45793
Merge https://github.com/friendica/red into pending_merge
2014-11-10 19:22:23 -08:00
friendica
d432f4ccd5
issue #683 - don't linkify homepage field without validating
2014-11-10 19:20:23 -08:00
RedMatrix
7cd06b736a
Merge pull request #685 from zzottel/master
...
set channel_w_stream to 0 for forum roles
2014-11-11 13:40:46 +11:00
friendica
5619902776
indicate public forums in directory results (there will be some [possibly considerable] lag time before existing forums are correctly tagged).
2014-11-10 17:44:02 -08:00
friendica
6209465233
add public forum identification to libzot. No attempt is made to identify other types of forums or weird custom channel permissions. If the channel is auto-accept and taggable, it's a public forum.
2014-11-10 15:21:04 -08:00
zottel
e7b634f81d
set channel_w_stream to 0 for forum roles
2014-11-10 12:25:35 +01:00
Stefan Parviainen
24bdf58d2b
Use consistent terminology for channel directory
2014-11-09 09:37:06 +01:00
friendica
55f64c3736
tgroup_check - decrypt if obscured before checking body text for reshares
2014-11-07 13:06:56 -08:00
friendica
961049f5fa
revert that bit
2014-11-07 12:16:13 -08:00
friendica
c4a07010f7
visible flag reversed
2014-11-06 18:05:02 -08:00
friendica
1fbd1a79c7
Provide a way to mark photos as adult and hide them from the default album view. Still need a button or setting to enable "unsafe viewing". This has no effect anywhere but in the album views. They can still be viewed by flipping through the individual photos with 'prev' and 'next'. We probably need a comprehensive strategy for how to deal with n-s-f-w photos in albums so consider this a band-aid which requires additional work and integration with other facilities which access these photos. It is entirely optional.
2014-11-06 17:27:28 -08:00
zottel
1f35d9432f
don't overwrite $x (contains import_xchan result) with role permissions
2014-11-06 17:24:05 +01:00
friendica
a23435540e
make sure the "tagcloud" actually shows hashtags. So we don't confuse folks with categories.
2014-11-06 01:32:47 -08:00
friendica
4057e82bb4
category tagblock
2014-11-06 01:24:04 -08:00
friendica
1237957dd5
logging changes, untranslated string
2014-11-05 21:02:33 -08:00