marijus
8e034a3b6b
fix recursive file permissions
2014-12-30 13:56:27 +01:00
friendica
2f650b74d3
Merge branch 'master' into trinidad
2014-12-29 23:58:14 -08:00
friendica
5cfe051139
initial trinidad checkin
2014-12-29 23:48:04 -08:00
RedMatrix
619733e297
Merge pull request #789 from pafcu/chanman
...
Don't show current channel separately in channel manager, highlight it i...
2014-12-30 08:57:37 +11:00
Stefan Parviainen
e69e59d260
Don't show current channel separately in channel manager, highlight it instead
2014-12-29 22:07:40 +01:00
friendica
3065650683
filter posts you author from unseen notifications - note there are other ways to do this, but involve some code complexity. This is easier to implement but may have a slight impact on the ping query performance. It's not horrid, just mentioning for the record.
2014-12-28 23:21:49 -08:00
RedMatrix
7b98a6fcb0
Merge pull request #772 from pafcu/chanman
...
Some work on the channel manager
2014-12-29 09:29:12 +11:00
RedMatrix
8d144396b1
Merge pull request #769 from pafcu/profiles
...
Redirect /profiles to default profile when multi_profiles is off. Fixes ...
2014-12-29 09:28:47 +11:00
friendica
50943f439c
issue #777 , make photo cache time configurable, read the comments.
2014-12-27 18:19:51 -08:00
Stefan Parviainen
40a327b68f
Allow quick access to mail and connections from Channel Manager
2014-12-27 14:06:09 +01:00
Stefan Parviainen
6a679d26ce
Fix #771 , add tooltips to mail and intros count in channel manager, always show counts (even when 0, makes it easier to understand what the icons are)
2014-12-27 13:36:05 +01:00
Stefan Parviainen
754fec9a54
Redirect /profiles to default profile when multi_profiles is off. Fixes #768
2014-12-27 12:46:59 +01:00
friendica
82d3c2a7e0
Merge https://github.com/friendica/red into pending_merge
2014-12-26 15:45:50 -08:00
Thomas Willingham
0130fb077f
Cruft left over from stuff we don't have anymore.
2014-12-26 16:59:52 +00:00
friendica
7ba92feabf
doc update
2014-12-26 00:13:22 -08:00
Thomas Willingham
5fd26eceb4
Pass sitename to apps
2014-12-22 15:39:04 +00: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
6d8214f96b
provide link to help for channel permission roles when creating a channel
2014-12-19 01:48:47 -08:00
friendica
9c445e9817
incorrect check for sys ownership
2014-12-19 00:28:36 -08:00
friendica
ab2d11b37e
mod/import: try ten times to create a unique webbie if the chosen one is in use.
2014-12-18 19:48:23 -08:00
friendica
2fcbb9c4b3
fix some directory anomolies
2014-12-16 18:33:16 -08:00
friendica
07e747ed0e
add divmore to directory entries
2014-12-16 17:29:16 -08:00
friendica
4d5f28f07a
Merge https://github.com/friendica/red into pending_merge
2014-12-16 14:29:38 -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
Thomas Willingham
d82c7c2067
Minor doco
2014-12-16 18:13:04 +00: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
5fac8e80de
Issue #739
2014-12-13 15:00:00 +00:00
Thomas Willingham
c91aa863d8
Missing ''
2014-12-10 21:56:44 +00:00
Thomas Willingham
81fdb1cdfc
Bring back 'no special theme for mobile'
2014-12-10 21:41:59 +00: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
934172c2fc
Merge pull request #724 from pafcu/suggestionsindir
...
Show suggestions in directory
2014-12-08 13:34:56 +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
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
c8818d8349
Suggestions in dir redux. Suggestions are now showed in directory if suggest=1 parameter is given to directory.
2014-12-07 13:40:21 +01:00
Stefan Parviainen
83ea120ac9
Revert "Revert "Directory shows channel suggestions by default""
...
This reverts commit bfde28f28e
.
2014-12-07 13:40:21 +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
78c37bc325
Put dir back - the fat lady didn't sing afterall.
2014-12-04 01:34:58 +00:00
Thomas Willingham
460d379e7e
Don't allow affinity of 0 in connedit.
2014-12-02 00:59:20 +00:00
Thomas Willingham
2aaa33c135
The other half of 'any theme for any device'. Closes #71
2014-11-30 18:57:58 +00:00
Thomas Willingham
d67c5a6ffd
Handle included txt files (ie, install doco) as BBCode, otherwise it strips all
...
white space. Was going to use Markdown, but lots of not-markdown gets parsed
then, so...
2014-11-30 00:36:30 +00:00
Habeas Codice
d3ffdbf2a4
Merge remote-tracking branch 'upstream/master'
2014-11-26 11:02:30 -08:00
Habeas Codice
1a57f3ed51
fix true toggle
2014-11-26 11:01:18 -08:00
friendica
ddc8557b69
hide online presence maps to DNT
2014-11-24 15:36:11 -08:00
friendica
756abd6678
add event export (this month) to event UI
2014-11-24 02:50:14 -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
friendica
d191e7c348
project roadmap
2014-11-23 14:51:04 -08:00
Habeas Codice
8ac3b938fd
added dbdriver to siteinfo json to better track affected sites
2014-11-22 13:27:52 -08:00
Habeas Codice
cf739c0361
Merge remote-tracking branch 'upstream/master'
2014-11-21 15:39:14 -08:00
Habeas Codice
db29dc6bff
implicit type conversion
2014-11-21 15:33:21 -08:00
friendica
e74a3926fe
yet another option for the homepage
2014-11-20 17:38:41 -08:00
Habeas Codice
c8af19c69c
Merge remote-tracking branch 'upstream/master'
2014-11-19 21:11:11 -08:00
Habeas Codice
92d0a9404f
Should fix issue #704
...
submitter please verify and close
2014-11-19 21:10:19 -08:00
friendica
50244f943d
minor photo flag issue - and some more whitespace edits
2014-11-19 16:29:35 -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
friendica
11f0b45a90
blog mode - turn the comment link into a button and group with the likes/dislikes
2014-11-18 16:58:36 -08:00
friendica
38d50cabd4
private mail buttons
2014-11-18 15:13:37 -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
fd10b49fbf
Merge pull request #699 from pafcu/master
...
Fix dirsearch with quoted single-word term
2014-11-19 08:55:06 +11:00
Stefan Parviainen
e0ab1e24e4
Directory shows channel suggestions by default
2014-11-18 19:42:13 +01:00
Stefan Parviainen
c8c061d0cf
Fix dirsearch with quoted single-word term
2014-11-18 13:48:22 +01:00
friendica
db3015e34e
allow members to set the per-item "show more" height (separately for network and matrix, display and search are system pages and therefore set at 400)
2014-11-17 23:48:03 -08:00
friendica
7e8f3e4dfb
requote ignore
2014-11-17 18:46:57 -08:00
RedMatrix
913dafc593
Merge pull request #698 from habeascodice/master
...
some sql fixes
2014-11-18 13:00:26 +11:00
Habeas Codice
e61dbf722d
implicit type conversion
2014-11-17 16:49:17 -08:00
Habeas Codice
d0e0a8fb27
implicit type conversion
2014-11-17 16:37:47 -08:00
Habeas Codice
4fa0df2927
another one
2014-11-17 16:01:17 -08:00
friendica
65a6121014
fix the update_unseen stuff on the channel page also
2014-11-17 15:43:03 -08:00
friendica
064b48fa71
Merge https://github.com/friendica/red into pending_merge
2014-11-17 15:27:18 -08:00
friendica
13a7637d9d
whitespace
2014-11-17 15:26:32 -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
Habeas Codice
96427a23a3
Merge branch 'master' of https://github.com/habeascodice/red
2014-11-17 15:15:02 -08:00
Habeas Codice
bcaa32a83a
fix boolean
2014-11-17 15:13:49 -08:00
RedMatrix
e59f7cc198
Merge pull request #697 from pafcu/master
...
Fix dirsearch parser to not get confused by logic terms in values and to ...
2014-11-18 08:49:54 +11: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
Stefan Parviainen
ece9819b4d
Fix dirsearch parser to not get confused by logic terms in names and to handle quoted single word names
2014-11-17 18:51:37 +01:00
friendica
b11ed7f88e
allow somebody to access the "home page content" (whatever that may be) even after logging in by including a home/splash argument. It appears that nothing else is required to provide 'sys' channel webpage contents except a link in the admin page to create them. There *may* be an issue with comanche theme selection but we'll cross that bridge when we come to it. Also thinking that we might want to map /home/foo to /page/sys/foo in the longer term scheme of things.
2014-11-16 22:46:52 -08:00
friendica
591f10e235
module cleanup
2014-11-16 19:08:10 -08:00
friendica
18cedf4def
blog/list mode display settings
2014-11-16 16:48:35 -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
Stefan Parviainen
c1b8608940
Switch to a better datetime picker widget
2014-11-16 13:56:45 +01:00
friendica
7e58bfe931
Merge https://github.com/friendica/red into pending_merge
2014-11-15 14:04:20 -08:00
friendica
f299922df3
minor changes to support forum mode
2014-11-15 14:03:41 -08:00
marijus
8b1e83128a
fix lost $sql_extra in recent sql query changes
2014-11-15 14:39:36 +01:00
RedMatrix
71237860c9
Merge pull request #691 from dawnbreak/master
...
Changed two strange looking places in boot.php.
2014-11-14 12:22:25 +11:00
Klaus Weidenbach
e8b77fbdff
Fixed a variable conflict in mod/xchan.php.
...
A variable $rr inside the foreachs was used twice.
Add translation to mod/xchan.php.
2014-11-14 00:45:25 +01:00
Habeas Codice
a2d9dd1882
violates new sql standards
...
missed during merge
2014-11-13 13:58:04 -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
friendica
a2cf1900c8
this should make all the 'sys' webpage design tools useable by the admin
2014-11-12 18:04:00 -08:00