Loading...
 
[edu.t.o] Development

[edu.t.o] Development


AulaWiki mod 1.6.3 for tiki 2.x and (testing now in 3.x)

posts: 32
Thanks to user pingus we already have a tracker with some modifications in the last aulawiki mod.

This last version has been already tested on tiki2.x and 3.x beta, and it seems to work for me.

We can continue with the discussion here and in the devel-list.

I have one question for all of you. How can we update the tar file that is already in mods.tikiwiki.org with the last version of aulawiki we have?

It would be useful to commit the changes to the svn server. We can do this, can't we?

Tikiwiki! wink
posts: 32
I'm testing the aulawiki mod in 3.0.
I have detected there are some things that don't work. Here my review:

1-Admin roles: it works correctly. You can modify the permissions you want, delete and create.

2-Workspaces types: it's possible to create and delete types. When you try to edit the workspace types roles it doesn't work, you can't edit roles .It is not possible to list the roles for each workspace type either. Another problem is that it's impossible to assign resources.

3-Admin workspaces seems to work correctly.

We should try to solve these issues before migrate edu.tw to 3.0, don't you think?
So we have to review the following php files

  • tiki-workspaces_types_resources.php
  • tiki-workspaces_types_roles.php

Any ideas? Can you reproduce the "bugs" I have detected?
posts: 52
> I'm testing the aulawiki mod in 3.0.

> 2-Workspaces types: it's possible to create and delete types. When you try to edit the workspace types roles it doesn't work, you can't edit roles .It is not possible to list the roles for each workspace type either.

see http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=2297

Thre is a workspaces-1.6.2b.tgz that solves this. It is something that was left out from version 1.6.2 as is in the CVS. It contains only changed files and diffs


> Another problem is that it's impossible to assign resources.
>
Can you explain this better?

There I posted also an aulawiki-1.6.3x.tgz, with more corrections about object permissions and tiki_p_admin_workspace

> 3-Admin workspaces seems to work correctly.
>
...
> Any ideas? Can you reproduce the "bugs" I have detected?

The first one is known,
the second one might be solved by 1.6.3x, otherwise try to explain it better

Giancarlo 'Pingus'
posts: 32
>
> see http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=2297
>
> Thre is a workspaces-1.6.2b.tgz that solves this. It is something that was left out from version 1.6.2 as is in the CVS. It contains only changed files and diffs

Ok I just downloaded it. I will try to test it on tiki 3.0. Are you testing on 3.0 or 2.2? If it works I could commit this version to the svn server.

>
> > Another problem is that it's impossible to assign resources.
> >
> Can you explain this better?
>

Sure. When you execute tiki-workspaces_types_resources.php to assign/delete resources within a workspace, the Resource Type drop down list doesn't show anything. Could it be related with the tpl stuff?
posts: 32
Pingus,

I have two clean installations:
  • A - tiki 2.2 + aulawiki 1.6.2 installed from edu.tikiwiki.org/mods
  • B - tiki 3.0 beta + aulawiki 1.6.2

In Workspace Types Administration menu

With A
  • I can: create/delete resources
  • I can NOT: create/delete roles for each workspace.

With A + aulawiki-1.6.2b-patch : everything works! biggrin Thanks for the job!

With B
  • I can: create/delete resources
  • I can NOT: create/delete roles for each workspace.

With B + aulawiki-1.6.2b-patch : everything works! biggrin Thanks for the job again!

I'm going to commit the 1.6.2b patch to the svn server.

The only thing that still doesn't work in tiki 3 (only in this) is that I have to disable all css to work with workspaces. If CSS are enables it's not possible to click anywhere. I will work on this.
posts: 32
Pingus, I solved the problem with the CSS stuff in 3.0.
It was an error in the following templates files
  • tiki-workspaces_admin.tpl
  • tiki-workspaces_types.tpl
  • tiki-workspaces_roles.tpl

In all of them, at the end there was a double
Copy to clipboard
< / div >
tag to close
Copy to clipboard
< div class="mini" >
. Now it's possible to work with them in tiki 3.0. I don't know why in tiki 2.2 this double tag was not a problem.

Well, now it works.

I commit to the svn server the changes (better than the tracker).

Thanks again!


> Pingus,
>
> I have two clean installations:
> * A - tiki 2.2 + aulawiki 1.6.2 installed from edu.tikiwiki.org/mods
> * B - tiki 3.0 beta + aulawiki 1.6.2
>
> In Workspace Types Administration menu
>
> With A
> * I can: create/delete resources
> * I can NOT: create/delete roles for each workspace.
>
> With A + aulawiki-1.6.2b-patch : everything works! biggrin Thanks for the job!
>
> With B
> * I can: create/delete resources
> * I can NOT: create/delete roles for each workspace.
>
> With B + aulawiki-1.6.2b-patch : everything works! biggrin Thanks for the job again!
>
> I'm going to commit the 1.6.2b patch to the svn server.
>
> The only thing that still doesn't work in tiki 3 (only in this) is that I have to disable all css to work with workspaces. If CSS are enables it's not possible to click anywhere. I will work on this.

posts: 32
1.6.2b is already up in the svn server.
I hope they will update the mods.tikiwiki.org site as well.
Thanks Pingus!

Now lets go with 3.0.

I recommend you to have a look to http://dev.tikiwiki.org/Perspective . It is there where we are thinking how to integrate the workspaces stuff with profiles in tiki 4.x

Thanks again!

posts: 52
All this as admin
What about as 'teacher'?
Aulawiki-1.6.3x adds that allows teacher to 'tiki_p_admin_workspace' the workspace and its resources objectpermissions. He should be able to make himself admin of child workspaces.
I wish someone tested aulawiki-1.6.3

pingus
posts: 32
> All this as admin
> What about as 'teacher'?
> Aulawiki-1.6.3x adds that allows teacher to 'tiki_p_admin_workspace' the workspace and its resources objectpermissions. He should be able to make himself admin of child workspaces.
> I wish someone tested aulawiki-1.6.3

This week I will try to test 1.6.3 in tiki 3 and tiki 2.2. I will be busy again with my PhD so I don't know when, but I will do.

Could you write here the names of the files you change from 1.6.2b to 1.6.3.f. It's easier for me to make the commit if I know this. It's better if in the meantime you get commit access to the svn server. Please read this. We can continue with the development against the svn server.


>
> pingus

Switch Language