Mario Vavti
17e7b276f6
we also need nofinish in the object. css fices
2015-11-26 14:45:22 +01:00
Mario Vavti
f80aff4a65
also catch the other object
2015-11-26 13:28:31 +01:00
Mario Vavti
c7cbd41c16
first iteration on the event item
2015-11-26 12:26:27 +01:00
Mario Vavti
3ea84d7eab
some basic event styling
2015-11-25 22:55:07 +01:00
redmatrix
2844f276b9
Document the additional content export options
2015-09-24 16:57:17 -07:00
redmatrix
b553ffd55d
timezone tweaks
2015-09-23 20:59:19 -07:00
redmatrix
508969a183
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-07 20:29:13 -07:00
redmatrix
c39e3613a8
create event sync packets
2015-09-07 20:28:02 -07:00
redmatrix
d256e8e9f2
edited event showing bad signature and null_date for edit timestamp
2015-08-24 01:46:54 -07:00
redmatrix
7688bf3f21
support ical priority
2015-08-20 22:24:33 -07:00
redmatrix
49c4aa1a54
cleanup of task widget - make jquery workflow a bit smoother
2015-08-20 20:40:42 -07:00
redmatrix
afbbc9cd72
more work on tasks
2015-08-20 18:43:01 -07:00
redmatrix
a322254f2a
do ical export before checking logged in channel
2015-08-20 04:51:03 -07:00
redmatrix
fd7b668a16
add carriage return to newlines for exported events (rfc2445:4.1)
2015-08-20 02:07:51 -07:00
redmatrix
a4caaefd32
event integration improvements
2015-08-19 16:50:32 -07:00
redmatrix
4e3d295c90
import and export tasks (calendar todo items)
2015-08-18 19:06:50 -07:00
redmatrix
1a4a921528
provide module for importing yearly content dumps
2015-08-17 21:40:40 -07:00
redmatrix
c1a953f960
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
util/messages.po
2015-07-31 15:45:13 -07:00
redmatrix
6f9771768d
event parse cleanup
2015-07-30 22:49:43 -07:00
redmatrix
acc9a8e43b
escape $ in events
2015-07-30 22:29:10 -07:00
redmatrix
d5a40cac25
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
several dav fixes
Conflicts:
include/items.php
2015-07-30 17:11:16 -07:00
redmatrix
1097cd2583
minor cleanup
2015-07-29 19:01:25 -07:00
redmatrix
b1ceb33ae0
Merge branch 'vobject'
...
Conflicts:
include/event.php
2015-07-29 18:59:28 -07:00
redmatrix
00fa2e2fe8
convert ics import to sabre/vobject
2015-07-29 18:57:52 -07:00
redmatrix
e3f605e242
PRIVACY: imported events
2015-07-29 16:30:00 -07:00
redmatrix
4c83e9b6b4
initial work on using sabre as a vcalendar parser
2015-07-28 21:55:28 -07:00
redmatrix
03756c65fc
make superblock block a channel if it's an owner as well as the current author; add @hostname to event hashes to make their use in vcalendar more RFC compliant
2015-07-28 17:55:21 -07:00
redmatrix
3269d4632f
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
util/messages.po
2015-07-27 18:01:20 -07:00
redmatrix
85f546e691
crude but more or less functional event import from thunderbird ics files
2015-07-26 22:44:49 -07:00
redmatrix
9e6aea7382
backend code for importing events from "simple" ics calendar files.
2015-07-26 21:39:46 -07:00
redmatrix
c90f14c066
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
doc/to_do_code.bb
2015-07-21 17:13:48 -07:00
redmatrix
3ec6a431b6
ics calendar export - commas need to be escaped
2015-07-21 17:07:16 -07:00
redmatrix
a6cb90c81c
Merge branch 'master' into tres
...
Conflicts:
include/Import/refimport.php
include/activities.php
include/attach.php
include/event.php
include/externals.php
include/identity.php
include/items.php
include/notifier.php
include/photos.php
include/taxonomy.php
include/zot.php
mod/channel.php
mod/connedit.php
mod/events.php
mod/item.php
mod/like.php
mod/manage.php
mod/mood.php
mod/ping.php
mod/poke.php
mod/subthread.php
mod/tagger.php
mod/thing.php
2015-05-14 18:02:29 -07:00
redmatrix
475dc7b686
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
boot.php
include/api.php
include/enotify.php
2015-05-13 17:07:12 -07:00
redmatrix
d6f98e6511
product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons.
2015-05-13 16:01:00 -07:00
redmatrix
25b599a4bd
convert ITEM_WALL from bitfield to standalone
2015-05-06 21:03:33 -07:00
friendica
6679734135
Merge branch 'master' into tres
...
Conflicts:
include/Contact.php
include/ItemObject.php
include/api.php
include/attach.php
include/diaspora.php
include/dir_fns.php
include/enotify.php
include/event.php
include/expire.php
include/items.php
include/notifier.php
include/notify.php
include/photos.php
include/taxonomy.php
include/text.php
include/widgets.php
include/zot.php
mod/admin.php
mod/channel.php
mod/dirsearch.php
mod/display.php
mod/editwebpage.php
mod/events.php
mod/home.php
mod/item.php
mod/manage.php
mod/mood.php
mod/network.php
mod/page.php
mod/photos.php
mod/ping.php
mod/post.php
mod/thing.php
mod/viewsrc.php
view/css/mod_events.css
2015-04-23 19:49:41 -07:00
friendica
3eeea9d8f0
force event obj_type on update
2015-04-20 17:02:45 -07:00
Klaus Weidenbach
42c820029e
Fixed two wrong variable usages in event.php.
...
I just checked the code, not the functionality.
2015-03-29 21:16:21 +02:00
friendica
29436081a8
slow progress removing bitfields on item table
2015-01-21 16:06:25 -08:00
friendica
98b88d7d2f
ical output wasn't using 24-hour time
2014-11-24 18:46:14 -08:00
friendica
53dc9cf2eb
basic vcalendar formatting support
2014-11-23 20:29:34 -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
0ebfee8f87
wrong permalink on remote events
2014-10-23 01:36:40 -07:00
friendica
ed847a91f6
add categories to events
2014-09-07 22:14:28 -07:00
friendica
913fd1d22e
numerous event fixes - mostly related to editing an event
2014-07-06 22:31:39 -07:00
friendica
c034cb5d71
make system generated birthday events un-commentable since comments won't go where you think.
2014-06-03 13:45:35 -07:00
friendica
2386bc4d00
bring back birthdays
2014-06-02 17:49:19 -07:00
friendica
3821efb99e
issue #477
2014-06-01 01:30:34 -07:00
friendica
832cbbec15
testing new event code
2014-05-29 21:25:19 -07:00
friendica
6e0cc25a90
more work on new event code
2014-05-29 19:48:54 -07:00
friendica
dac7f68914
event_addtocal function for storing received events
2014-05-29 17:52:11 -07:00
friendica
a3487efd57
start to tie in the new event logic
2014-05-29 17:09:14 -07:00
friendica
118b4c88bd
split event storage into two bits - separate the event storage from the associated item storage
2014-05-29 16:23:20 -07:00
friendica
a00103b7df
better event management
2014-05-07 22:23:43 -07:00
friendica
55fe471ce8
version update
2014-03-11 15:29:26 -07:00
friendica
db8ebc9f37
some minor cleanup on plinks for some very subtle permissions issues
2014-01-09 15:45:17 -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
3e5414cf35
provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!
2013-09-10 19:06:06 -07:00
friendica
0999b88a48
Merge https://github.com/friendica/red into zpull
2013-03-21 18:29:08 -07:00
friendica
ddf5bf8968
rename 'uri' (and parent_uri) to 'mid' (and parent_mid) since these no longer remotely resemble uri's and are actually message_id's. This change is potentially destabilising because it touches a lot of code and structure. But it has to get done and there's no better time than the present.
2013-03-21 18:25:41 -07:00
Michael Johnston
fea2f9ac9b
small fixes for events
2013-03-21 21:07:38 -04:00
friendica
26499981b6
cleanup
2013-03-10 20:39:27 -07:00
Michael Johnston
41cd10f903
some fixes related to events
...
- add backticks around column "desc" in sql query
- fixed query for data passed to showEvent
- showEvent was picking up on id from item instead of id from event
- fixed references to author info in template
2013-03-07 02:07:51 -05:00
friendica
ea3940c4b0
start formatting for Doxygen
2013-02-25 17:09:40 -08:00
friendica
127b605f32
preserve event item[uri] if present
2013-01-20 15:36:04 -08:00
friendica
45be26dd81
more heavy lifting on API - though need to re-visit events and give them all message_ids from the origination site.
2013-01-19 22:21:00 -08:00
friendica
af066d7383
mopping up the events issues so I can move on to other stuff
2013-01-16 03:18:32 -08:00
friendica
a9f4a47a35
import events (not just event posts) from zot
2013-01-16 00:59:43 -08:00
friendica
ddd8a0e062
still some bugs but events are happening again.
2013-01-15 20:13:25 -08:00
friendica
275fa6e1d2
events backend heavy lifting - the new structure is slowly emerging.
2013-01-15 17:59:49 -08:00
friendica
ed275cd40d
slow progress on events, one step forward, one step back.
2013-01-15 16:48:59 -08:00
friendica
da188214c3
events are still buggered and aren't anywhere close to working, but not buggered quite as much as before.
2013-01-07 15:12:16 -08:00
friendica
794c92a8fb
wall posts now display - address book structure revamp started
2012-10-10 17:58:56 -07:00
friendica
e124c9fa5c
Can't see any posts currently - after the big shakeup, but we can now post top level activities and store them.
2012-10-03 22:28:19 -07:00
friendica
f7c6a6ff90
item table rename parent-uri, target-type, object-type (more to come later)
2012-08-15 22:33:37 -07: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