/[drupal]/contributions/modules/versioncontrol_project/versioncontrol_project.module
ViewVC logotype

Log of /contributions/modules/versioncontrol_project/versioncontrol_project.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 1 13:23:33 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-RC2, HEAD
Changes since 1.76: +192 -5 lines
Diff to previous 1.76
Port of #371969 by dww, adapted and extended for cross-VCS purposes:
Provide blocks for maintainer and developer commit information.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 31 17:32:33 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.75: +4 -4 lines
Diff to previous 1.75
Block deltas are only varchar(32), so let's lose the 'versioncontrol_project_' prefix.
(The module is stored in the block definition row anyways.)

Hopefully, nobody has yet executed that update function.
If someone did, just reconfigure your blocks please.

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 29 16:22:23 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.74: +71 -11 lines
Diff to previous 1.74
Implement the 'project_relation' constraint for versioncontrol_get_operation(),
and adapt to latest API changes for statistics retrieval.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 29 16:21:56 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.73: +44 -33 lines
Diff to previous 1.73
Have blocks use string deltas instead of integer deltas.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 22:08:39 2009 UTC (7 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-RC1
Changes since 1.72: +3 -3 lines
Diff to previous 1.72
Adapting to API update: versioncontrol_is_account_authorized() has swapped parameters.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 21 02:33:50 2009 UTC (8 months ago) by jpetso
Branch: MAIN
Changes since 1.71: +6 -2 lines
Diff to previous 1.71
Bug fixing time. (Hat tip: PHP notices.)

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 27 20:19:23 2009 UTC (8 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.70: +42 -1 lines
Diff to previous 1.70
#67251 by dww, ported from cvslog to versioncontrol_project by myself:
Move the implementation of hook_project_issue_assignees() out of
drupalorg.module into versioncontrol_project where it really belongs. All
users with commit access to a project can now assign issues to each other.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 27 20:13:03 2009 UTC (8 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.69: +16 -5 lines
Diff to previous 1.69
Introduce a function that checks whether or not the project uses
version control integration, similar to project_use_cvs() (only better).

Also, have the settings page item's description say what it actually does,
and fix grammar in the copyright header.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 19 22:43:01 2009 UTC (9 months ago) by jpetso
Branch: MAIN
Changes since 1.68: +6 -6 lines
Diff to previous 1.68
#377266 by Dave Reid: Swap hook_project_page_link_alter() arguments.
Also, a few cosmetic updates in the file header comments.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 20:13:06 2009 UTC (9 months, 1 week ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA2
Changes since 1.67: +15 -2 lines
Diff to previous 1.67
Also write project/operation associations if the project/item association
already exists, which happens for branch and tag operations.
Those project/* associations should really work correctly now, I think.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 14 14:19:51 2009 UTC (9 months, 1 week ago) by jpetso
Branch: MAIN
Changes since 1.66: +51 -75 lines
Diff to previous 1.66
* Implement the 'nids' operation constraint natively (with table joins).
* Fix the item query for updating project/item associations when the
  project directory changes - it didn't include the repo_id, which is baad.
* Move hook_enable() to versioncontrol_project.install, as it isn't
  executed in when residing in the .module file.
* Use commitlog_operations_page() instead of commitlog_operations() so that
  query argument filters work also on node/$nid/commitlog.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 17:50:32 2009 UTC (9 months, 2 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1
Changes since 1.65: +365 -181 lines
Diff to previous 1.65
#363883 by jpetso: Keep track of nids for items and operations in the db.
Still comes without directly hooking into the versioncontrol_get_operations()
query, but even without that we can already cut down a lot on queries.

Lose two API calls (get_statistics() and get_projects_for_operation())
in favor of lower-level code (direct queries or new constraints for
versioncontrol_project_get_projects()).

Also fix the user account page's project/commit display to work again.

To the best of my knowledge, the project node integration module should
now work correctly again, and more efficiently than ever before.
Further performance improvements ('project_nids' constraint for
versioncontrol_get_operations()) pending.

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 9 15:17:16 2009 UTC (9 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.64: +1 -3 lines
Diff to previous 1.64
The name "Commit access" already appears in the tab name, no need to
do mention it specifically with a drupal_set_title() call too.
Cherrypicking from dww's commit 167900.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 9 13:27:50 2009 UTC (9 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.63: +9 -6 lines
Diff to previous 1.63
Make the commit access form work again (missed the $form_state parameter),
and fix at least part of the project edit form too.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 25 20:46:37 2009 UTC (9 months, 4 weeks ago) by jpetso
Branch: MAIN
Changes since 1.62: +14 -22 lines
Diff to previous 1.62
Replace lots of
$form['blah'] = array('#type' => 'value', '#value' => $blah);
elements with
$form['#blah'] = $blah;
as the former is now deprecated in Drupal 6.

I hope I didn't miss any form_alter or $form_state['values'] conversion,
anyways I tried to be as thorough as possible.

Did not touch the form_altered node form, as it's supposed to have changed
in regards to form element handling, $form['#node'] and all. This will need
to be tested and probably fixed sooner or later.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 11 02:17:03 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.61: +2 -12 lines
Diff to previous 1.61
Uncomment the previously written new D6 version of format_plural(),
and get rid of the D5 one.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 10 15:38:12 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.60: +60 -45 lines
Diff to previous 1.60
D6 upgrade item 2.: Major FormAPI improvements.

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 11:28:58 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59
Use the new admin access callback in order to get rid of hardcoded strings.

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 4 23:55:08 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.58: +109 -88 lines
Diff to previous 1.58
D6 upgrade item 1.: Entirely new menu system.

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 4 14:18:38 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
A few minor tweaks to please Coder. Also, rename the watchdog menu path
to the new one in D6.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 19:19:45 2009 UTC (10 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.56: +127 -76 lines
Diff to previous 1.56
Sync HEAD to current DRUPAL-5--2. The D6 port will take place on HEAD.

Revision 1.56.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 15 22:21:33 2008 UTC (11 months, 1 week ago) by jpetso
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC1
Changes since 1.56.2.11: +6 -6 lines
Diff to previous 1.56.2.11 , to branch point 1.56 , to next main 1.77
What do you do if there's no work to do at the moment and you want to
release the same code under a different name (rc instead of alpha)?
Right, you pretend to be working hard and adapt some comments to proper
sentence capitalization, like proposed by Drupal's coding style guide.

Revision 1.56.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 19:16:36 2008 UTC (11 months, 2 weeks ago) by jpetso
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-ALPHA1
Changes since 1.56.2.10: +3 -1 lines
Diff to previous 1.56.2.10 , to branch point 1.56
Only provide the Commit Log link for modules with VCS integration, of course.

Revision 1.56.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 19:14:07 2008 UTC (11 months, 2 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.9: +9 -1 lines
Diff to previous 1.56.2.9 , to branch point 1.56
Add the Commit Log link to project.module's Resources section,
like is done for cvs.module as well.

Revision 1.56.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 12:01:07 2008 UTC (11 months, 2 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.8: +44 -28 lines
Diff to previous 1.56.2.8 , to branch point 1.56
Support custom project constraints more cleanly (still not perfect though),
using the new hooks in the API module and Commit Log. hacks--;

Revision 1.56.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 22:16:20 2008 UTC (11 months, 4 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.7: +20 -5 lines
Diff to previous 1.56.2.7 , to branch point 1.56
#324910 by dww: Added count of total commits to the user profile.
As ported from cvs.module to versioncontrol_project, obviously.

Revision 1.56.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 27 20:57:31 2008 UTC (11 months, 4 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.6: +22 -11 lines
Diff to previous 1.56.2.6 , to branch point 1.56
Last refinements while reviewing if there are any porting issues left.

Revision 1.56.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 15:48:14 2008 UTC (12 months ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.5: +2 -2 lines
Diff to previous 1.56.2.5 , to branch point 1.56
Allow valid branch/tag operations again.

Revision 1.56.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 22 15:52:18 2008 UTC (12 months ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.4: +2 -2 lines
Diff to previous 1.56.2.4 , to branch point 1.56
Adapt to some API changes (lines-changed info, and
versioncontrol_project_get_commit_constraints() which I forgot to port).

Revision 1.56.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 25 22:29:22 2008 UTC (13 months, 4 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.3: +8 -8 lines
Diff to previous 1.56.2.3 , to branch point 1.56
Adapt to API changes.

Revision 1.56.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 14:32:13 2008 UTC (14 months ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.2: +14 -6 lines
Diff to previous 1.56.2.2 , to branch point 1.56
Don't check file items when searching for associated project directories -
for obvious reasons, only directories can be project directories.

Revision 1.56.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 23:06:22 2008 UTC (14 months ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56.2.1: +16 -27 lines
Diff to previous 1.56.2.1 , to branch point 1.56
Port some code to the 2.x API in order to get the
"most active projects" block working again.

Revision 1.56.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 4 19:12:58 2008 UTC (14 months, 2 weeks ago) by jpetso
Branch: DRUPAL-5--2
Changes since 1.56: +3 -1 lines
Diff to previous 1.56
Add a TODO item that I discovered while randomly browsing around.
No guarantees whatsoever that there are not more of those.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 14:17:50 2008 UTC (17 months, 2 weeks ago) by jpetso
Branch: MAIN
Branch point for: DRUPAL-5--2
Changes since 1.55: +35 -216 lines
Diff to previous 1.55
Seems like I had this lying around on my disk for some time:
Simplify access code, porting to the new hook_versioncontrol_write_access().

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 21 10:56:20 2008 UTC (22 months ago) by jpetso
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54
Adapt to the {commits, branch operations, tag operations} -> operations
consolidation in the API module. Well, ok, there's nothing to adapt
except for a changed comment. Yay for abstraction!

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 11 04:44:01 2008 UTC (22 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.53: +11 -7 lines
Diff to previous 1.53
Two unrelated changes:
* Modify some descriptions so that they fit the new
  project.module-only direction of the module. (Heavy-heartedly.)
* Be more careful when retrieving metrics (line change counts,
  as introduced by Corsix). Neither the Metrics module nor the
  statistics function are required to exist, so check on those.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 9 21:03:43 2008 UTC (22 months, 2 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52
#197212 by corsix: Enable Metrics and Version Control API modules to show lines of code changed.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 9 21:02:00 2008 UTC (22 months, 2 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.51: +22 -1 lines
Diff to previous 1.51
add hook_enable, which checks to make sure all project nodes have an entry in {versioncontrol_project_projects}

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 9 20:03:35 2008 UTC (22 months, 2 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.50: +3 -26 lines
Diff to previous 1.50
ripping out node type settings -- using only project_project node type makes things simpler.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 9 19:26:35 2008 UTC (22 months, 2 weeks ago) by thehunmonkgroup
Branch: MAIN
Changes since 1.49: +15 -19 lines
Diff to previous 1.49
ripping out the owner_uid column.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 23:08:29 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-5
Branch point for: DRUPAL-5
Changes since 1.48: +18 -31 lines
Diff to previous 1.48
* Update to the current nomenclature and call commitlog_commits_page()
  instead of commitlog_page().
* For files that don't belong to a given project, allow commit access
  (but keep denying branch and tag access).

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 20:40:33 2007 UTC (2 years ago) by jpetso
Branch: MAIN
Changes since 1.47: +34 -21 lines
Diff to previous 1.47
Like in the previous Version Control API commit, add extra checks on
constraint emptyness in order to avoid badly formed SQL queries.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 29 21:06:21 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-4
Changes since 1.46: +27 -27 lines
Diff to previous 1.46
The right way to write '%d' is without quotes, so remove all of those.
Also, add a previously forgotten configuration variable to the
uninstallation function so that it's actually deleted.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 29 19:20:19 2007 UTC (2 years ago) by jpetso
Branch: MAIN
Changes since 1.45: +198 -70 lines
Diff to previous 1.45
Add a Developers page at "node/$nid/developers",
and a list of user projects on the user page.

With this commit, versioncontrol_project is feature complete (for now).

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 27 01:02:53 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
Port of commit 85962 by dww (fixed issue #186932):
Also allow version control admins to edit a project's commit access
when they haven't got the 'administer nodes' permission.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 26 14:35:46 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-3
Changes since 1.43: +46 -3 lines
Diff to previous 1.43
* Remove the UNIQUE (repo_id, directory) as there can be multiple
  "empty" projects that have (0, '') for those values.
  Please give update.php a shot.

* Implement the "restrict project creation for users without VCS account"
  option. node_access() can't be hooked into, so for better usability
  we might want to get an additional patch into project.inc.

* Properly namespace the get_projects_for_commit() function.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 17 13:15:23 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-2
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
Ugly code without indentation, but at least it can be translated properly.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 12 13:45:51 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
Adapt to the get_directory_item() API change.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 6 15:02:09 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40
Fix a function call that I forgot to convert to its new name & arguments.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 2 19:48:45 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
Changes since 1.39: +5 -3 lines
Diff to previous 1.39
Better apidox.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 23 21:18:17 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-1
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
Now where did I pick up that typo?

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 23 21:16:16 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37
Adapt to the new is_account_authorized() API.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 20 15:07:46 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.36: +3 -1 lines
Diff to previous 1.36
Yeah, sure, bug free and feature complete. Well, I only said (in the
release note) that I believed that for the time being. So:
* Clean up properly by removing all of the variables that are created.
* Add two TODOs for missing functionality from project.module itself.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 20 11:15:54 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35
Purge 'CVS' out of a comment, and add the closing parenthesis there.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 19 10:29:26 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0
Changes since 1.34: +13 -8 lines
Diff to previous 1.34
* Make project type based validation work by recognizing that
  project_type is not a node property but a form value.
* Make it more explicit that $project is only used locally,
  and only if the nid has been set already.
* Fix a string that still contained "CVS".

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 15 16:22:40 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.33: +37 -12 lines
Diff to previous 1.33
Properly implement directory validation by project type,
this time with an admin interface. I can't test it though, because
project.module doesn't load $node->project_type into the node object.
hunmonk is currently making his mind up how to properly solve this.

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 14 10:00:11 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.32: +28 -27 lines
Diff to previous 1.32
Add the new tag 'message' property to the apidox copy of
hook_versioncontrol_tag_access(), and make indenting of the apidox
completely bulletpointified and consistent to versioncontrol.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 8 17:45:43 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC1
Changes since 1.31: +157 -102 lines
Diff to previous 1.31
* Only return unpublished projects by default.
* Remember if "<none>" was selected as repository.
* More phpdoc friendliness.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 8 15:36:56 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.30: +92 -59 lines
Diff to previous 1.30
* Postgres support.
* Check project-based permissions for branches and tags as well.
* Better caching for versioncontrol_project_get_project().

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 3 07:06:48 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29
* adapt to the API change
* properly initialize the array so that array_count_values() doesn't complain.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 28 07:19:45 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.28: +107 -1 lines
Diff to previous 1.28
A "Most active projects" block, together with a new
versioncontrol_get_projects_for_commit() function.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 24 15:20:47 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.27: +6 -6 lines
Diff to previous 1.27
Adapt to the changed function name, and have better menu access permissions.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 21 13:27:38 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.26: +23 -38 lines
Diff to previous 1.26
Simplify submitting additional data while making it work
for newly created nodes.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 23:17:17 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25
Let the project node integration settings be a task of the new
settings page, and change the README.txt like in the API module.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 23:53:52 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.24: +12 -7 lines
Diff to previous 1.24
Adapt the (copied) API documentation to the new version,
and precautiously assign the updated uid to the node's project array too.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 19:21:19 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.23: +37 -20 lines
Diff to previous 1.23
Optimization: Much better caching for get_project_for_item().

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 14:23:30 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.22: +63 -30 lines
Diff to previous 1.22
Fixes for a good share of nasty bugs.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 09:01:16 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
Fix one style issue that coder.module noticed.
(The other two issues are intentional and for better readability,
 so they're gonna stay that way.)

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 17 18:11:42 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.20: +53 -6 lines
Diff to previous 1.20
Adapt to the new branch/tag access API.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 16 13:28:27 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.19: +12 -12 lines
Diff to previous 1.19
Adapt to the updated branch/tag access API.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 15 14:08:33 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.18: +114 -12 lines
Diff to previous 1.18
More access checks, and adapt to the reworked branch/tag access API.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 13 10:25:56 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17
Actually, this check is so basic that we can move it to the top of the function.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 13 10:20:10 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
strpos() must be checked with "!== FALSE", it's error prone otherwise.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 13 09:47:21 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.15: +26 -16 lines
Diff to previous 1.15
Implement project-based commit restrictions.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 10 16:16:40 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14
Completing the API documentation once more.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 10 16:00:34 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13
A more extensive comment makes it easier to know what's going on.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 10 15:47:24 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.12: +93 -17 lines
Diff to previous 1.12
A commit log, and commit access restrictions (which are not yet
implemented in Version Control API itself and the CVS backend,
so they don't work yet).

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 10 13:38:03 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.11: +139 -18 lines
Diff to previous 1.11
Proper repo/directory validation, an implementation for
co-maintainer commit access deletions, and a few minor changes and fixes.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 9 17:59:06 2007 UTC (2 years, 3 months ago) by jpetso
Branch: MAIN
Changes since 1.10: +688 -233 lines
Diff to previous 1.10
Turning the project node integration module upside down:
- rework the API and the database structure
- introduce admin and commit access forms, and alter the node edit form
  in order to add repository and directory controls.

Needs some love with the directory validation, but quite capable otherwise.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 26 22:16:13 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.9: +8 -5 lines
Diff to previous 1.9
Make that function work again. I think that it does, at least.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 26 21:00:21 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.8: +7 -8 lines
Diff to previous 1.8
Simplify the method to retrieve all directory names.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 26 17:54:25 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.7: +5 -8 lines
Diff to previous 1.7
Have get_commit_constraints() instead of alter_commit_constraints(),
I think that name reflects the workings of the function in a better way.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 23 08:49:32 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
Fix copyright headers.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 23 08:18:09 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.5: +25 -84 lines
Diff to previous 1.5
Change versioncontrol_project_get_commits() into a
versioncontrol_project_alter_commit_constraints() function so that
it's possible to use other constraints modification functions
from other modules as well.

Also, clarify the API documentation a bit.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 19 12:28:57 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.4: +30 -13 lines
Diff to previous 1.4
A better implementation for get_project_for_item().

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 13 15:19:03 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.3: +10 -2 lines
Diff to previous 1.3
Copy the account application status constants over from cvs.module,
as they're now in this module.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 12 14:37:00 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2
Remove 'tags' from get_commits() in accordance with the main API module,
and add a note on multiple-repository projects.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 11 13:41:01 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Changes since 1.1: +273 -28 lines
Diff to previous 1.1
Add more API functions to the module, and provide an initial
implementation. No caching for now, but the essential logic
should already work. I think versioncontrol_project's API
can be considered feature complete with this commit.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 9 14:18:46 2007 UTC (2 years, 4 months ago) by jpetso
Branch: MAIN
Initial commit of versioncontrol_project.module.
It should already contain the most important API functions.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2