aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
Commit message (Collapse)AuthorAgeFilesLines
* when creating an event from a post in our stream, if the original post was ↵redmatrix2016-02-251-0/+11
| | | | private, set the event permissions to "just me". If it was a public event, set the event permissions to the channel default permissions.
* Provide Zotlabs\Project and System class for querying details about the ↵redmatrix2016-02-181-1/+1
| | | | project/version info. Move these out of /boot.php
* various issues from the forumsredmatrix2016-01-171-1/+1
|
* we also need nofinish in the object. css ficesMario Vavti2015-11-261-0/+2
|
* also catch the other objectMario Vavti2015-11-261-0/+5
|
* first iteration on the event itemMario Vavti2015-11-261-0/+5
|
* some basic event stylingMario Vavti2015-11-251-10/+12
|
* Document the additional content export optionsredmatrix2015-09-241-1/+4
|
* timezone tweaksredmatrix2015-09-231-6/+10
|
* Merge https://github.com/redmatrix/redmatrix into pending_mergeredmatrix2015-09-071-1/+15
|\
| * create event sync packetsredmatrix2015-09-071-0/+14
| |
* | edited event showing bad signature and null_date for edit timestampredmatrix2015-08-241-1/+7
| |
* | support ical priorityredmatrix2015-08-201-7/+19
| |
* | cleanup of task widget - make jquery workflow a bit smootherredmatrix2015-08-201-2/+2
| |
* | more work on tasksredmatrix2015-08-201-0/+24
| |
* | do ical export before checking logged in channelredmatrix2015-08-201-1/+1
| |
* | add carriage return to newlines for exported events (rfc2445:4.1)redmatrix2015-08-201-31/+31
| |
* | event integration improvementsredmatrix2015-08-191-0/+11
| |
* | import and export tasks (calendar todo items)redmatrix2015-08-181-5/+203
| |
* | provide module for importing yearly content dumpsredmatrix2015-08-171-0/+11
| |
* | Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-07-311-2/+14
|\| | | | | | | | | Conflicts: util/messages.po
| * event parse cleanupredmatrix2015-07-301-2/+8
| |
| * escape $ in eventsredmatrix2015-07-301-2/+8
| |
* | Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-07-301-32/+80
|\| | | | | | | | | | | several dav fixes Conflicts: include/items.php
| * minor cleanupredmatrix2015-07-291-14/+1
| |
| * Merge branch 'vobject'redmatrix2015-07-291-23/+83
| |\ | | | | | | | | | | | | Conflicts: include/event.php
| | * convert ics import to sabre/vobjectredmatrix2015-07-291-29/+42
| | |
| | * initial work on using sabre as a vcalendar parserredmatrix2015-07-281-1/+50
| | |
| * | PRIVACY: imported eventsredmatrix2015-07-291-0/+1
| |/
| * make superblock block a channel if it's an owner as well as the current ↵redmatrix2015-07-281-1/+1
| | | | | | | | author; add @hostname to event hashes to make their use in vcalendar more RFC compliant
* | Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-07-271-1/+85
|\| | | | | | | | | Conflicts: util/messages.po
| * crude but more or less functional event import from thunderbird ics filesredmatrix2015-07-261-6/+25
| |
| * backend code for importing events from "simple" ics calendar files.redmatrix2015-07-261-0/+65
| |
* | Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-07-211-1/+1
|\| | | | | | | | | Conflicts: doc/to_do_code.bb
| * ics calendar export - commas need to be escapedredmatrix2015-07-211-1/+1
| |
* | Merge branch 'master' into tresredmatrix2015-05-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-05-131-1/+1
| |\| | | | | | | | | | | | | | | | | | | Conflicts: boot.php include/api.php include/enotify.php
| | * product was a bad string to use because we may require it for e-commerce, ↵redmatrix2015-05-131-1/+1
| | | | | | | | | | | | and RED_PLATFORM is equally problematic for other reasons.
| * | convert ITEM_WALL from bitfield to standaloneredmatrix2015-05-061-1/+1
| |/
* | Merge branch 'master' into tresfriendica2015-04-231-58/+66
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * force event obj_type on updatefriendica2015-04-201-1/+2
| |
| * Fixed two wrong variable usages in event.php.Klaus Weidenbach2015-03-291-58/+65
| | | | | | | | I just checked the code, not the functionality.
* | slow progress removing bitfields on item tablefriendica2015-01-211-26/+28
|/
* ical output wasn't using 24-hour timefriendica2014-11-241-2/+2
|
* basic vcalendar formatting supportfriendica2014-11-231-0/+50
|
* PostgreSQL support initial commitHabeas Codice2014-11-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* wrong permalink on remote eventsfriendica2014-10-231-4/+10
|
* add categories to eventsfriendica2014-09-071-0/+24
|
* numerous event fixes - mostly related to editing an eventfriendica2014-07-061-1/+1
|
* make system generated birthday events un-commentable since comments won't go ↵friendica2014-06-031-2/+17
| | | | where you think.