6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
...
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:44:13 +01:00
293436e5fd
Some rewrites:
...
- max_proccesses_reach() and maxload_reached() (why no _ behind max?) are called
both way, static and with object reference.
- this is strongly discouraged and should be avoided as its support (in PHP) may
be dropped in future releases.
- used $a = get_app(); to encapsulate code (even when the function does
currently the same, it may be changed later)
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:16:36 +01:00
Michael Vogel
abb827b784
Merge remote-tracking branch 'upstream/develop' into 1610-performance
2016-10-20 08:44:19 +00:00
rabuzarus
8064ff6ecb
update to fullCalendar 3.0.1, frio: cal list view, frio: cal month hover
2016-10-16 16:04:53 +02:00
Michael Vogel
e5c7ce0902
Use "last-item" in the contact table instead of an expensive sql query
2016-10-14 05:45:32 +00:00
Michael Vogel
41613ec55d
Bugfix: Fixed two bad sql queries
2016-08-29 18:40:40 +00:00
f344813054
events with no finish should not export it to ical
2016-08-20 16:16:19 +02:00
rabuzarus
e352458ef0
pub calendar - permission clean up and docu
2016-06-23 10:07:13 +02:00
rabuzarus
2cac69ca86
cal export && public calendar - even better permissions testing
2016-06-22 13:50:47 +02:00
rabuzarus
8cc5dd35e8
cal export && public calendar - fix permissions
2016-06-22 00:39:52 +02:00
rabuzarus
71c9f562ae
move the cal addon (exporting calendars) to core
2016-06-20 23:31:49 +02:00
rabuzarus
7495a34b32
implement a public calendar for vistors of someones profile page
2016-06-19 22:04:34 +02:00
Michael Vogel
b7f2858486
Issue 2277: changes to events are now distributed.
2016-05-22 18:16:47 +02:00
Fabrixxm
aec8a1883e
let autoloader include files for HTMLPurifier
2016-02-09 11:08:26 +01:00
rabuzarus
088b075bba
event_form: use [map] tag to embedd a map
2016-01-30 05:12:27 +01:00
Michael Vogel
8395f67351
Events on Diaspora now looking okay.
2015-10-17 09:41:58 +02:00
Michael Vogel
7f9711ffe6
Delete event when the item is deleted
2015-10-17 01:25:25 +02:00
Michael Vogel
fcc185a182
Unsure to store the guid with new events
2015-10-16 23:50:34 +02:00
fabrixxm
fc54ee2928
Fix stupid typo in include/event.php
...
That leads to blank events page
2015-05-18 09:54:43 +02:00
fabrixxm
19ee5797fa
add map to events
2015-05-15 21:10:43 +02:00
Michael Vogel
ed1dce93d6
Usage of /display/(guid) as path instead of /display/(user)/(id)
...
Bugfix for adding tags to photos
2014-07-22 00:36:20 +02:00
Michael Vogel
6e7bd68ebb
More "LIMIT 1" removed - and some other SQL improvements.
2014-03-11 23:52:32 +01:00
friendica
fbaca4b742
event summary/title
2012-06-25 20:55:27 -07:00
Tobias Hößl
dfef0ec84d
Add two hooks, event_created and event_updated. One Bugfix for the <id>...</id> tag ($uri was never defined). Commented out the parse_event() function - its never called and would lead to a program abortion due to a broken require_once at the beginning
2012-05-29 19:03:30 +00:00
Alexander Kampmann
355c42cb30
Merge branch 'master' of https://github.com/friendica/friendica
...
Conflicts:
include/config.php
update.php
2012-04-05 13:39:15 +02:00
Tobias Hößl
35128ef2c9
Avoid a Notice
2012-02-27 22:01:17 +00:00
Tobias Hößl
4b1de0f538
Avoid some notices
2012-02-26 20:43:51 +00:00
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
2012-01-18 16:21:30 -08:00
Friendika
01164c8c2f
fix various html parse errors
2011-10-20 16:48:07 -07:00
Friendika
278433eac7
origin flag handling, and bug #137 - provide timezone conversion for events posted across to Diaspora
2011-10-17 14:52:03 -07:00
Friendika
b721fabc3c
show lock icon on private events
2011-07-27 02:21:55 -07:00
Friendika
c17890ab62
privacy settings on event item not propagated correctly
2011-07-26 22:40:11 -07:00
Friendika
6e5532149a
missing minutes in event listings
2011-06-30 23:27:16 -07:00
Friendika
8ffcd4323b
never enough comments
2011-06-23 18:56:24 -07:00
Friendika
a15bd91d17
don't update an event that hasn't changed.
2011-06-23 18:25:33 -07:00
Friendika
a66083b3e4
imported event should not have wall flag set
2011-06-16 18:11:00 -07:00
Friendika
cee63c7a0d
preserve original timezone adjust selection when editing events
2011-06-14 21:44:27 -07:00
Friendika
c379774300
add some whitespace in event html
2011-06-14 21:22:52 -07:00
Friendika
5105b3febc
event calendar links, editing
2011-06-14 19:48:37 -07:00
Friendika
05eb9ceaba
avoid returning events from getting posted again
2011-06-13 20:42:37 -07:00
Friendika
d5fdd4287d
event sharing, cont.
2011-06-13 19:06:49 -07:00
Friendika
8aaf55c1e6
event item
2011-06-09 20:02:48 -07:00
Friendika
67021c132a
event communication basics
2011-06-09 16:24:29 -07:00
Friendika
d371241e66
events
2011-06-09 00:58:45 -07:00
Friendika
df8ac668b8
more calendar work, undo strict_privacy flag to use different approach
2011-06-08 21:06:02 -07:00
Friendika
e2f1540f25
events, continued. Also better regex matching accounting for empty elements
2011-06-07 22:13:07 -07:00
Friendika
33fe26ecb0
more progress on events
2011-06-07 20:10:43 -07:00
Friendika
c1b2e90e37
basic saving of events
2011-06-06 22:27:38 -07:00
Friendika
9f51233451
event listings
2011-06-06 20:17:36 -07:00
Friendika
4c629e274b
begin event module
2011-06-05 23:10:07 -07:00
Friendika
4e8a97f30a
bug #38 posts and photos only visible to friends if so configured
2011-05-28 00:42:01 -07:00
Friendika
b0c383a6d0
begin event module
2011-05-27 21:01:30 -07:00