project/relation.git
4 months agoOne Relationship Handler to Rule Them All. (Props to solotandem for the wild idea...
Karoly Negyesi [Sat, 21 Jan 2012 20:32:43 +0000]
One Relationship Handler to Rule Them All. (Props to solotandem for the wild idea.) Compare the Views subdir to 5a91a18e5d2cb3daef0894350e12e85272041204.

4 months agoGot the left one working and it does not require a new handler.
Karoly Negyesi [Sat, 21 Jan 2012 18:33:27 +0000]
Got the left one working and it does not require a new handler.

4 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Sat, 21 Jan 2012 18:19:15 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

4 months agoProvide the scaffolding necessary to get endpoint->relation table->endpoint views...
Karoly Negyesi [Sat, 21 Jan 2012 18:16:42 +0000]
Provide the scaffolding necessary to get endpoint->relation table->endpoint views relationship handlers.

4 months agonicer null count in views test.
Karoly Negyesi [Sat, 21 Jan 2012 17:45:07 +0000]
nicer null count in views test.

4 months agoRevert to Views implementation #1 but using a proper relationship handler. TODO:...
Karoly Negyesi [Sat, 21 Jan 2012 16:49:38 +0000]
Revert to Views implementation #1 but using a proper relationship handler. TODO: convert relation table joins to proper handlers, too.

4 months agoStatic cache for relation_get_related_entity() issue #1409884 by catch
Karoly Negyesi [Thu, 19 Jan 2012 15:01:15 +0000]
Static cache for relation_get_related_entity() issue #1409884 by catch

4 months agoIssue #1387936 by boombatower: Cleanup documentation and provide example for relation...
naught101 [Thu, 19 Jan 2012 06:48:11 +0000]
Issue #1387936 by boombatower: Cleanup documentation and provide example for relation_relation_exists().

4 months agoIssue #1378702 by mikran: Fixed relation_insert() does not return rid.
naught101 [Thu, 19 Jan 2012 06:14:13 +0000]
Issue #1378702 by mikran: Fixed relation_insert() does not return rid.

4 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Wed, 18 Jan 2012 15:58:28 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

4 months agoAllow other modules to alter the editor table.
Karoly Negyesi [Wed, 18 Jan 2012 15:20:18 +0000]
Allow other modules to alter the editor table.

4 months agoOnly show allowed entities once a type is picked (or a relation is edited).
Karoly Negyesi [Wed, 18 Jan 2012 15:19:53 +0000]
Only show allowed entities once a type is picked (or a relation is edited).

4 months agomake relation_save happen inside a transaction.
Karoly Negyesi [Wed, 18 Jan 2012 15:19:39 +0000]
make relation_save happen inside a transaction.

4 months agoIssue #1372734 by mallezie: Fixed typo on relation type import page.
naught101 [Sun, 15 Jan 2012 23:43:37 +0000]
Issue #1372734 by mallezie: Fixed typo on relation type import page.

4 months agoGeneration broke if a bundle has nothing in it.
Karoly Negyesi [Sun, 15 Jan 2012 19:09:45 +0000]
Generation broke if a bundle has nothing in it.

4 months agoAdded relation type to the edit link.
Karoly Negyesi [Fri, 13 Jan 2012 02:08:05 +0000]
Added relation type to the edit link.

4 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Fri, 13 Jan 2012 02:04:47 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

4 months agoEdit relations with the relation entity collector.
Karoly Negyesi [Fri, 13 Jan 2012 01:42:03 +0000]
Edit relations with the relation entity collector.

4 months agoIssue #1375794 naught101: fix stupid copypasta nid->rid in relation.tokens.inc
naught101 [Thu, 12 Jan 2012 13:46:43 +0000]
Issue #1375794 naught101: fix stupid copypasta nid->rid in relation.tokens.inc

4 months agoAdd some default entity build properties.
Karoly Negyesi [Wed, 11 Jan 2012 17:03:56 +0000]
Add some default entity build properties.

4 months agorelation_endpoint_field_validate() should also check if entity is_new when testing...
Karoly Negyesi [Wed, 11 Jan 2012 14:54:31 +0000]
relation_endpoint_field_validate() should also check if entity is_new when testing if the relation is unique. #1350588 fixed by jsacksick.

4 months agoExpose the relation-type specific fields to entity API, second try. #1271046 by jsack...
Karoly Negyesi [Wed, 11 Jan 2012 14:51:15 +0000]
Expose the relation-type specific fields to entity API, second try. #1271046 by jsacksick.

4 months agoMake the entity_view function actually work.
Karoly Negyesi [Wed, 11 Jan 2012 14:50:27 +0000]
Make the entity_view function actually work.

4 months agobetter fix and proper explanation.
Karoly Negyesi [Tue, 3 Jan 2012 15:26:08 +0000]
better fix and proper explanation.

4 months agothis was stupid.
Karoly Negyesi [Tue, 3 Jan 2012 15:12:44 +0000]
this was stupid.

4 months agoThe UI wasnt adjusted to the last minute move under view_modes.
Karoly Negyesi [Fri, 30 Dec 2011 17:09:35 +0000]
The UI wasnt adjusted to the last minute move under view_modes.

4 months agoAdded view mode settings to the full entity endpoint formatter.
Karoly Negyesi [Fri, 30 Dec 2011 15:31:32 +0000]
Added view mode settings to the full entity endpoint formatter.

5 months agoentity_view() support added.
Karoly Negyesi [Sun, 11 Dec 2011 10:50:41 +0000]
entity_view() support added.

5 months agoOpsie! this static needs clearing.
Karoly Negyesi [Fri, 9 Dec 2011 23:15:56 +0000]
Opsie! this static needs clearing.

5 months agoRoll back #1271046 and #1265434.
Karoly Negyesi [Fri, 9 Dec 2011 18:44:45 +0000]
Roll back #1271046 and #1265434.

5 months agoMore help fixes.
Karoly Negyesi [Fri, 9 Dec 2011 18:41:19 +0000]
More help fixes.

5 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Fri, 9 Dec 2011 14:35:58 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

5 months agoFull entity endpoint formatter.
Karoly Negyesi [Fri, 9 Dec 2011 14:35:29 +0000]
Full entity endpoint formatter.

5 months agoYou cant use a ctools export during install. Cant.
Karoly Negyesi [Fri, 9 Dec 2011 00:23:37 +0000]
You cant use a ctools export during install. Cant.

5 months agoUse the correct field to join from relation to endpoints table #1365426 by dereine.
Karoly Negyesi [Thu, 8 Dec 2011 22:19:12 +0000]
Use the correct field to join from relation to endpoints table #1365426 by dereine.

5 months agoViews integration: setup relation: type as filter_in_operator instead of string ...
Karoly Negyesi [Thu, 8 Dec 2011 21:54:43 +0000]
Views integration: setup relation: type as filter_in_operator instead of string #1365406 by dereine.

5 months agoTrying to write understandable Views help.
Karoly Negyesi [Thu, 8 Dec 2011 18:26:00 +0000]
Trying to write understandable Views help.

5 months agoIf on install time already ctools export relation types exist install breaks horribly.
Karoly Negyesi [Wed, 7 Dec 2011 19:30:29 +0000]
If on install time already ctools export relation types exist install breaks horribly.

5 months agoMake the new Views integration work even if we have relations on several entity types.
Karoly Negyesi [Wed, 7 Dec 2011 19:01:26 +0000]
Make the new Views integration work even if we have relations on several entity types.

5 months agoActually the primitive relation base table tests we have work too.
Karoly Negyesi [Tue, 6 Dec 2011 16:59:01 +0000]
Actually the primitive relation base table tests we have work too.

5 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Tue, 6 Dec 2011 16:38:25 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

5 months agoReplace relationship definitions to cover all the bases and so Relation plays well...
Karoly Negyesi [Tue, 6 Dec 2011 16:25:44 +0000]
Replace relationship definitions to cover all the bases and so Relation plays well with Views. #1361780 by solotandem, dereine and chx. Needs followups

5 months agoIssue #1350796 naught101 and solotandem: add comment blocks
naught101 [Fri, 25 Nov 2011 02:58:54 +0000]
Issue #1350796 naught101 and solotandem: add comment blocks

6 months agoIssue #1265434 Expose relation in an entity list wrapper containing all related entit...
Karoly Negyesi [Sun, 20 Nov 2011 22:24:33 +0000]
Issue #1265434 Expose relation in an entity list wrapper containing all related entities by jsacksick.

6 months agoUse versioned dependencies
Karoly Negyesi [Sun, 20 Nov 2011 08:14:30 +0000]
Use versioned dependencies

6 months agoLittle more useful test.
Karoly Negyesi [Sat, 19 Nov 2011 11:03:15 +0000]
Little more useful test.

6 months agoThe test passes but rules throws an error.
Karoly Negyesi [Sat, 19 Nov 2011 10:50:14 +0000]
The test passes but rules throws an error.

6 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x
Karoly Negyesi [Sat, 19 Nov 2011 10:30:58 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

6 months agoNew rules integration test.
Karoly Negyesi [Sat, 19 Nov 2011 10:30:54 +0000]
New rules integration test.

6 months agonaught101: fix tests for new permission
naught101 [Fri, 18 Nov 2011 04:03:14 +0000]
naught101: fix tests for new permission

6 months agoIssue #1164644 by dpi: Added Access Permission for Relation Pages.
naught101 [Thu, 17 Nov 2011 14:46:39 +0000]
Issue #1164644 by dpi: Added Access Permission for Relation Pages.

6 months agoIssue #1210196: glossarify entity collector block
naught101 [Thu, 17 Nov 2011 14:40:02 +0000]
Issue #1210196: glossarify entity collector block

6 months agoIssue #1263066: make arity more sane
naught101 [Thu, 17 Nov 2011 14:25:56 +0000]
Issue #1263066: make arity more sane

6 months agoIssue #1318856 by xcf33: add option to retrieve reverse type label.
naught101 [Thu, 17 Nov 2011 07:10:47 +0000]
Issue #1318856 by xcf33: add option to retrieve reverse type label.

6 months agoMerge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x 7.x-1.0-beta3
Karoly Negyesi [Mon, 14 Nov 2011 12:48:36 +0000]
Merge branch '7.x-1.x' of git.drupal.org:project/relation into 7.x-1.x

6 months agoMajor opsie: update function effed up. Fixes #1340502
Karoly Negyesi [Mon, 14 Nov 2011 12:48:33 +0000]
Major opsie: update function effed up. Fixes #1340502

6 months agoIssue #1337312 naught101: fixed relation type UI CSS.
naught101 [Mon, 14 Nov 2011 01:14:44 +0000]
Issue #1337312 naught101: fixed relation type UI CSS.

6 months agoMoving to relation_endpoint module and making it a real update.
Karoly Negyesi [Sun, 13 Nov 2011 04:53:36 +0000]
Moving to relation_endpoint module and making it a real update.

6 months agoIssue #1330120 by boombatower Replace double quotes for single where unnecessary.
Karoly Negyesi [Sun, 13 Nov 2011 04:53:08 +0000]
Issue #1330120 by boombatower Replace double quotes for single where unnecessary.

6 months agoThis seems to be enough for rules deletion support.
Karoly Negyesi [Sat, 12 Nov 2011 11:19:58 +0000]
This seems to be enough for rules deletion support.

6 months agoIssue #1271046 by Damien Tournoud and jsacksick Expose the relation-type specific...
Karoly Negyesi [Sat, 12 Nov 2011 08:27:45 +0000]
Issue #1271046 by Damien Tournoud and jsacksick Expose the relation-type specific fields. (against my better judgement.

6 months agoIssue #1312196 by Bobík : edit widget does not work with multiple values. (although...
Karoly Negyesi [Sat, 12 Nov 2011 08:10:54 +0000]
Issue #1312196  by Bobík : edit widget does not work with multiple values. (although i have no idea whether this is a problem or not, this cant hurt

6 months agoIssue #1333274: unique validation fails. Fixed by chx.
Karoly Negyesi [Sat, 12 Nov 2011 07:39:39 +0000]
Issue #1333274: unique validation fails. Fixed by chx.

6 months agoIssue #1323142 mostly fixed by now but the unset and the changed part is still valid...
Karoly Negyesi [Sat, 12 Nov 2011 06:13:02 +0000]
Issue #1323142 mostly fixed by now but the unset and the changed part is still valid. By  mrsinguyen  and chx.

6 months agoAdded an import form.
Karoly Negyesi [Sat, 12 Nov 2011 06:03:52 +0000]
Added an import form.

6 months agoyay tests pass again!
Karoly Negyesi [Sat, 12 Nov 2011 05:40:42 +0000]
yay tests pass again!

6 months agorenamed the new relation_create to relation_insert because relation_create exists...
Karoly Negyesi [Sat, 12 Nov 2011 05:13:35 +0000]
renamed the new relation_create to relation_insert because relation_create exists again.

6 months agoRevert "Rename relation_create to relation_construct." because core reverted too.
Karoly Negyesi [Sat, 12 Nov 2011 05:11:41 +0000]
Revert "Rename relation_create to relation_construct." because core reverted too.

This reverts commit 9c46180a326c3b08f276df69406114147d0081a5.

Conflicts:

relation.module

7 months agoCommit early, commit often. On the way to full CRUD.
Karoly Negyesi [Mon, 24 Oct 2011 21:34:24 +0000]
Commit early, commit often. On the way to full CRUD.

7 months agoWrote an uninstall.txt
Karoly Negyesi [Mon, 24 Oct 2011 01:04:54 +0000]
Wrote an uninstall.txt

7 months agoThis seems like working.
Karoly Negyesi [Sun, 23 Oct 2011 09:21:05 +0000]
This seems like working.

7 months agoskeleton join relation->@right
Karoly Negyesi [Sun, 23 Oct 2011 09:05:56 +0000]
skeleton join relation->@right

7 months agoNot yet working relation -> @right views defintion. The join is tricky.
Karoly Negyesi [Sun, 23 Oct 2011 08:21:18 +0000]
Not yet working relation -> @right views defintion. The join is tricky.

7 months agoyay a default view!
Karoly Negyesi [Sun, 23 Oct 2011 07:55:50 +0000]
yay a default view!

7 months agorelation based views work but we need more formatters.
Karoly Negyesi [Sun, 23 Oct 2011 07:45:02 +0000]
relation based views work but we need more formatters.

7 months agoThis is not the prettiest code but I am not sure how else to solve the problem that...
Karoly Negyesi [Sun, 23 Oct 2011 01:53:50 +0000]
This is not the prettiest code but I am not sure how else to solve the problem that imported types dont have instances.

7 months agoLet it be: we are depending on ctools now.
Karoly Negyesi [Sat, 22 Oct 2011 22:26:23 +0000]
Let it be: we are depending on ctools now.

7 months agoMade the exported types editable and also the admin screen friendlier with displaying...
Karoly Negyesi [Sat, 22 Oct 2011 15:48:19 +0000]
Made the exported types editable and also the admin screen friendlier with displaying label instead of machine type.

7 months agoRenamed to relation_type_default and added support for recognizing relation_type_defa...
Karoly Negyesi [Sat, 22 Oct 2011 15:42:23 +0000]
Renamed to relation_type_default and added support for recognizing relation_type_default.inc files.

7 months agoMore comments.
Karoly Negyesi [Sat, 22 Oct 2011 15:15:25 +0000]
More comments.

7 months agoAdded reasoning to relation_entity_collector_preprocess_username().
Karoly Negyesi [Sat, 22 Oct 2011 15:08:14 +0000]
Added reasoning to relation_entity_collector_preprocess_username().

7 months agosome ctools export cleanup
Karoly Negyesi [Sat, 22 Oct 2011 09:26:52 +0000]
some ctools export cleanup

7 months agowhile the previous performance check was totally misguided -- if you dont want the...
Karoly Negyesi [Sat, 22 Oct 2011 07:08:21 +0000]
while the previous performance check was totally misguided -- if you dont want the block, don't enable it -- but there is no point in cutting performance if you can't access the block. also capture usernames.

7 months agoMake sure entities are loaded even if only fields are used.
Karoly Negyesi [Sat, 22 Oct 2011 06:38:33 +0000]
Make sure entities are loaded even if only fields are used.

7 months agoAdded langcode to entity_view invoke. Fixes #1292390.
Karoly Negyesi [Sat, 22 Oct 2011 04:10:47 +0000]
Added langcode to entity_view invoke. Fixes #1292390.

7 months agoField items apparently need to be arrays. Fixes #1133188.
Karoly Negyesi [Sat, 22 Oct 2011 04:02:20 +0000]
Field items apparently need to be arrays. Fixes #1133188.

7 months agoMoved the field creation into install . Hurray. Fixes #1314908.
Karoly Negyesi [Sat, 22 Oct 2011 00:18:12 +0000]
Moved the field creation into install . Hurray. Fixes #1314908.

7 months agoRename relation_create to relation_construct.
Karoly Negyesi [Sat, 22 Oct 2011 00:12:39 +0000]
Rename relation_create to relation_construct.

7 months agonaught101: fix relation_add: allow reverse-only relation types, and autocomplete...
naught101 [Thu, 20 Oct 2011 05:39:24 +0000]
naught101: fix relation_add: allow reverse-only relation types, and autocomplete correct bundles

7 months agonaught101: minor fix for drush command
naught101 [Tue, 18 Oct 2011 12:41:05 +0000]
naught101: minor fix for drush command

7 months agonaught101: add reverse relations to relation_add block
naught101 [Tue, 18 Oct 2011 06:47:19 +0000]
naught101: add reverse relations to relation_add block

7 months agonaught101: use hook access to stop blocks displaying if user doesn't have relation...
naught101 [Thu, 13 Oct 2011 06:52:37 +0000]
naught101: use hook access to stop blocks displaying if user doesn't have relation creation permissions

7 months agoMuch better ctools export support.
Karoly Negyesi [Sat, 8 Oct 2011 04:25:11 +0000]
Much better ctools export support.

7 months agoRely on form_state instead of form to keep the original entity through AJAX for relat...
Karoly Negyesi [Sat, 8 Oct 2011 03:24:07 +0000]
Rely on form_state instead of form to keep the original entity through AJAX for relation_add.

7 months agoForgot to commit the admin.inc changes for the previous commit.
Karoly Negyesi [Sat, 8 Oct 2011 01:17:14 +0000]
Forgot to commit the admin.inc changes for the previous commit.

7 months agoAdded drush support for generation, moved ctools into its own include.
Karoly Negyesi [Sat, 8 Oct 2011 01:11:43 +0000]
Added drush support for generation, moved ctools into its own include.

7 months agoUninstall should delete the endpoints field to allow removal of the field_endpoints...
Karoly Negyesi [Sat, 8 Oct 2011 00:16:43 +0000]
Uninstall should delete the endpoints field to allow removal of the field_endpoints module. Fixes #1303016

7 months agoprotect from broken(?) stuff. search index got messed without this.
Karoly Negyesi [Wed, 5 Oct 2011 06:18:13 +0000]
protect from broken(?) stuff. search index got messed without this.

7 months agomake entity collector faster to use.
Karoly Negyesi [Wed, 5 Oct 2011 00:53:40 +0000]
make entity collector faster to use.

7 months agoRelation insert event. Hurray.
Karoly Negyesi [Tue, 4 Oct 2011 23:32:44 +0000]
Relation insert event. Hurray.