Log of /contributions/modules/versioncontrol_project/versioncontrol_project.module
Parent Directory
|
Revision Log
|
Revision Graph
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.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.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.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.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.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.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.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.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.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.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.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.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.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.