/[drupal]/contributions/modules/versioncontrol/versioncontrol.pages.inc
ViewVC logotype

Log of /contributions/modules/versioncontrol/versioncontrol.pages.inc

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.26 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 16 14:15:26 2009 UTC (5 weeks, 4 days ago) by sdboyer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +51 -31 lines
Diff to previous 1.25
Merging in work from git by marvil07 for his GSOC project to OO-ify vcsapi. From this commit forward, HEAD is OO.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 21 15:33:07 2009 UTC (5 months ago) by jpetso
Branch: MAIN
Branch point for: DRUPAL-6--1
Changes since 1.24: +4 -32 lines
Diff to previous 1.24
Make the "data" column usable by other modules, and migrate more data to it.

This enables us to get rid of the {commit_restrictions} and
{versioncontrol_repository_metadata} tables, whose data is now
stored in $repository['data'] instead.

Requires an update.php run. This commit modifies update 6102 which
I introduced in my previous commit two days ago; if you have already
executed that update then please delete the "data" column from your
{versioncontrol_repositories} table and run it again.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 1 21:58:58 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-RC2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
Fix syntax error. Conditional include file loading is not good for testing.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 1 13:22:48 2009 UTC (5 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22
Refactor user statistics themeing functions, introducing a new item list one.
Also, rework some of the VCS account themeing code for more
consistency or wider applicability.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 22:06:57 2009 UTC (7 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-RC1
Changes since 1.21: +14 -10 lines
Diff to previous 1.21
#328035 by Cornil, plus a lot of changes from me:
Make VCS username suggestions and determing username validity pluggable.
Also, fix a bug in the user versioncontrol page that made the passed
repository work incorrectly.

This should make it possible to handle Git & Co. usernames properly.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 27 20:27:35 2009 UTC (8 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.20: +6 -5 lines
Diff to previous 1.20
Fix the default value for a "Get commit access" registration message.
Noticed by a PHP notice, which is now also gone.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 27 12:24:52 2009 UTC (9 months, 4 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA4, DRUPAL-6--1-0-BETA5
Changes since 1.19: +3 -3 lines
Diff to previous 1.19
Fix more trivial errors.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 25 20:37:35 2009 UTC (9 months, 4 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA2
Changes since 1.18: +15 -31 lines
Diff to previous 1.18
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'] conversions,
anyways I tried to be as thorough as possible.

A few '#type' => 'value' fields are left still, those are the ones that
the form chooses either as fixed value or as selection, depending on the
permissions. No big deal though, I don't feel offended by those :]

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 25 18:50:43 2009 UTC (9 months, 4 weeks ago) by jpetso
Branch: MAIN
Changes since 1.17: +7 -4 lines
Diff to previous 1.17
Rename hook_versioncontrol_extract_{repository,account}_data() to
hook_versioncontrol_{repository,account}_submit().

That's consistent with most similar mechanisms known to me in general,
and with Rules' way of doing it in particular.
With this commit, we also get rid of the last instances of $form_values.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 15 17:52:49 2009 UTC (10 months, 1 week ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA1
Changes since 1.16: +134 -30 lines
Diff to previous 1.16
A dynamic set of tabs, at least with regards to Version Control API's
potentially large number VCS accounts, is near to impossible with Drupal 6.
(Sam knows it, he practically wrote the book on that topic.)

Therefore, fix the remaining menu system hassles by throwing it all
into a single "Repository accounts" tab (in the user edit section),
and filling it with either a VCS account edit form or a list of accounts
that forwards to that VCS account edit form. Also, the insane
hook_user() hack has made a disappearance due to that new method.

Works reasonably well and comes with the advantage that it will now even
look exactly like on drupal.org ("CVS" tab title if appropriate), the only
issue that I couldn't find a solution for is that the second row of tabs
is lost when additional query arguments are passed. Bug in D6? hm.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 11 14:24:32 2009 UTC (10 months, 1 week ago) by jpetso
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
Fix the submit and validate callbacks for the account register/edit form.
Which means that creating accounts works again.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 11 02:45:07 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
We want to show the button when demo mode is off,
so that unsuspecting users like me can actually create accounts.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 10 11:59:56 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13
* I disagree on some of Coder's suggestions, but let's have it its way
  where I don't mind about different indentation and stuff.
* Change &$form to $form in submit and validate functions, as that's
  the official version on http://drupal.org/node/144132.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 11:21:58 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.12: +8 -9 lines
Diff to previous 1.12
We've got an access callback for admin access now, so let's make use of it.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 10:51:51 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
I had inserted the (technically unnecessary) return statements to
make it clear that code execution does not continue after drupal_goto().
Maybe it's better to directly state that in a comment.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 07:44:24 2009 UTC (10 months, 2 weeks ago) by sdboyer
Branch: MAIN
Changes since 1.10: +21 -21 lines
Diff to previous 1.10
More D6 FAPI compliance updates.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 4 22:17:58 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.9: +64 -53 lines
Diff to previous 1.9
D6 upgrade task 1.: Entirely new menu system.

...and yup, that did some heavy changes. Most notably, we're finally able
to get rid of that hook_user() category hack, which is great. I'm pretty
sure that it doesn't work the way it stands now (I can tell *that* much
by looking at the user.module sources), and most probably we'll need some
hook_menu_alter() magic, but the bulk of the menu conversion is done.

This was probably the most unwieldy chunk of the D6 port, everything else
should be more or less straightforward :)

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 4 14:08:44 2009 UTC (10 months, 2 weeks ago) by jpetso
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
A few formatting tweaks to please Coder.

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

Revision 1.7.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 23:36:36 2008 UTC (13 months, 2 weeks ago) by jpetso
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0, DRUPAL-5--2-0-ALPHA1, DRUPAL-5--2-0-RC1, DRUPAL-5--2-0-RC2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 , to next main 1.26
Complete table and field documentation for the database schema.
(At least, the part residing in the API module itself.)
For sdboyer, and all other potential contributors.

Also, minor wording improvent for the apidox of
versioncontrol_get_repository_registration_message().

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 11 03:37:13 2008 UTC (22 months, 2 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, DRUPAL-5--1-1, DRUPAL-5--1-2
Branch point for: DRUPAL-5, DRUPAL-5--2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
String tuning, seems I had this one on my hard disk for some time.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 29 21:02:21 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC1, DRUPAL-5--1-0-RC2, DRUPAL-5--1-0-RC3, DRUPAL-5--1-0-RC4
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
The right way to write '%d' is without quotes, so remove all of those.
Also, add a few configuration variables to the uninstallation function
that have been forgotten before.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 17 12:33:04 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-BETA1
Changes since 1.4: +3 -2 lines
Diff to previous 1.4
* Add (optional) paging to get_{branch,tag}_operations().
* Fixes and additions for the apidox.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 2 14:58:58 2007 UTC (2 years, 1 month ago) by jpetso
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
* Rename the $form['#id'] values from vcs-* to versioncontrol-*.
  The previous names had their merits from a logical point of view,
  but were a bit confusing for me nonetheless.
* Add a setting for the Commit Log's pager limit.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 23 22:10:16 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--0-9-RC1
Changes since 1.2: +4 -4 lines
Diff to previous 1.2
So if we're already messing big time with the table structure,
let's rename the repository_internal_data one into repository_metadata,
which is less scary and fits better.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 23 21:13:15 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Solve a number of bugs with respect to account authorization and retrieval.
Unfortunately, one problem led to another one, and in the end it all
cumulated in is_account_authorized() requiring a complete repository array
instead of just the repository id.

Which means that caching for get_repositories() is up next.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 23 19:46:01 2007 UTC (2 years, 2 months ago) by jpetso
Branch: MAIN
The Last Great Mess-up: make authorization methods a per-repository setting
instead of a site-wide one. For example, that enables us to have an
application-based contrib repository next to a purely admin-controlled
core one.

Changes that go with this commit:
* One more column in the repository table
* One less column in the account status strings table
* Introduction of hook_versioncontrol_alter_repository_selection()
  for selectively disallowing repository registrations
* Reshuffle the admin interface
* While we're at it, move the non-admin pages out of .admin.inc
  and into .pages.inc
* Simplify the Account Status module by dropping the
  site-wide authorization method, which isn't very practical anyways
* Apidox updates
* ...and a few bug fixes, I think.

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