FullCalendar needs a cleanup before coding more.
Why?
- with current documenation and structure it's hard to contribute/help
Attached patch has a doc framework for D6. There are a lot of [TODO's].
We need to fill them in.
The views documentation is very poor. I didn't understand what all those functions did.
Maybe look at some other modules that implement those functions, I hope they have better comments...
(*hoping*)
We also need to have a proper folder structure:
/css (all the css files)
fullcalendar.custom.css
/includes (all the non standard include files)
/views (subfolder for the view include files)
fullcalendar_plugin_display_page.inc (<== bad name btw, but leave that untill we are migrated to git)
views_plugin_node_fullcalendar.inc
views_plugin_style_fullcalendar.inc extends views_plugin_style.inc
fullcalendar_views.inc
fullcalendar_drush.inc
/js (javascript stuf)
fullcalendar.views.js
/theme (template files)
views-view-fullcalendar.tpl.php
views-view-node-fullcalendar.tpl.php
CHANGELOG.TXT
README.TXT
fullcalendar.admin.inc
fullcalender.info
fullcalendar.install
fullcalendar.module
for example
Comment | File | Size | Author |
---|---|---|---|
#15 | 1013456-fullcalendar-15.patch | 3.95 KB | aspilicious |
#10 | fullcalendar-1013456-10.patch | 4.39 KB | tim.plunkett |
#5 | fullcalendar-1013456-5.patch | 8.57 KB | tim.plunkett |
#4 | fullcalendar_D6_doc_start.patch | 8.28 KB | aspilicious |
fullcalendar_D6_doc_start.patch | 9.88 KB | aspilicious |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedgreat that just ate my spaces...
another try...
/css (all the css files)
--fullcalendar.custom.css
/includes (all the non standard include files)
--/views (subfolder for the view include files)
----fullcalendar_plugin_display_page.inc (<== bad name btw, but leave that untill we are migrated to git)
----views_plugin_node_fullcalendar.inc
----views_plugin_style_fullcalendar.inc extends views_plugin_style.inc
----fullcalendar_views.inc
--fullcalendar_drush.inc
/js (javascript stuf)
--fullcalendar.views.js
/theme (template files)
--views-view-fullcalendar.tpl.php
--views-view-node-fullcalendar.tpl.php
CHANGELOG.TXT
README.TXT
fullcalendar.admin.inc
fullcalender.info
fullcalendar.install
fullcalendar.module
Comment #2
tim.plunkettHolding off on restructuring, see #1003602: Rename views plugins and reorganize files.
The docs do need love. But D6 still uses "Implementation of", not the D7 "Implements", and "Implementats" is definitely wrong.
Also, the fullcalendar_plugin_display_page is the only one that is named correctly, the convention is MODULENAME_plugin_PLUGINTYPE_NAME, where PLUGINTYPE is one of display, style, row, cache, access, argument.
Comment #3
aspilicious CreditAttribution: aspilicious commentedSrry for the noise :).
Hahaha as I said this is only a framework.
Didn't new that D6 had different standards.
Comment #4
aspilicious CreditAttribution: aspilicious commentedAnother try for a framework
Comment #5
tim.plunkettYou may notice that I put this commit in the changelog for a 6.x-1.0 release today, don't make me change it :)
Comment #6
geerlingguy CreditAttribution: geerlingguy commentedBesides a period on the hook_perm() docs, everything looks good to go. The define()'s at the top are annoying, but if that's how core does it...
Comment #7
tim.plunketthttp://drupal.org/cvs?commit=475116
Needs to go on the D7 branch too...
Comment #8
geerlingguy CreditAttribution: geerlingguy commentedShouldn't it be?
Plus, we'll have to start working first on the 7.x branch, and backporting :)
Comment #9
tim.plunkettAs soon as I can get this, #980886: Require Libraries API, and #980810: Option to use fullcalendar.min.js in, I'm tagging 7.x-1.2 and moving onto 7.x-2.x. From then on, work will be done on 7.x and backported to 6.x.
Comment #10
tim.plunkettMost of the changes were caught in #980886: Require Libraries API. These are the rest.
Comment #11
aspilicious CreditAttribution: aspilicious commented+ * @return
+ * An array of valid permissions for the FullCalendar module
Missing .
+ * Translates times to the right display times
Same
After that, good to go so RTBC :)
Comment #12
tim.plunketthttp://drupal.org/cvs?commit=485180
Comment #13
aspilicious CreditAttribution: aspilicious commentedThis isn't done for 6.2. Will do it after the big ones gets in.
Comment #14
tim.plunkettBump.
Comment #15
aspilicious CreditAttribution: aspilicious commentedThnx for the bump...
Now only the gcal and datestamp patch and we are done :)
Comment #16
tim.plunketthttp://drupalcode.org/project/fullcalendar.git/commit/f8e4854