Collaborative_Community_4x
Table of contents
PLEASE READ
This is a sample profile. The goal is to allow anyone who wishes to view a fully functional Tiki site or needs a Collaborative Community and would like to start with a solid foundation.Remember that once you install this profile, you are NOT LOCKED IN to any feature, menu or content. Everything can always be changed, deleted or added to.
Introduction
The purpose of this profile is to generate a quick start for a Collaborative Community similar to Wikipedia. The profile will ask a few questions.Features (Quick List)
- Wiki (Collaboration)
- Forum
- Calendar
- Personal Spaces
- CSS based horizontal Menu
- Simple Wiki based lateral Menu
- Many More...
YAML (Profile Code)
General
Features
YAML
preferences: style: strasa.css feature_iepngfix: y # prevents major ugliness in IE6 sitetitle: $profilerequest:sitetitle$Our community$ sitesubtitle: $profilerequest:sitesubtitle$Log on, Learn, Share$ browsertitle: $profilerequest:browsertitle$Community Wiki$ feature_phplayers: y feature_cssmenus: y feature_top_bar: y feature_sitemenu: y allowRegister: y forgotPass: y modseparateanon: y feature_modulecontrols: y
Top Menu
YAML
preferences: feature_sitemenu : y feature_topbar_id_menu: $profileobject:collaborative_community_menu$
YAML
objects:
-
type: menu
ref: collaborative_community_menu
data:
name: My Menu
description: A menu containing the base navigation of the site
collapse: none
items:
-
name: Home
url: index.php
-
name: About
items:
-
name: Community
url: ((Community))
-
name: Forums
url: tiki-forums.php
-
name: Help
items:
-
name: Wiki Syntax Help
url: ((Wiki Help))
-
name: Admin menu
url: tiki-admin_menus.php
permissions: [ edit_menu ]Modules
YAML
objects: - type: module ref: module_since_last_visit_new data: name: since_last_visit_new position: right groups: [ Registered ] order: 20
Groups & Permissions
YAML
permissions: Anonymous: allow:[] description: Already exists Registered: description: Will be ignored because group is already created allow:[] Editors: description: Can approve & delete allow:[] include: Registered SubAdmins: include: Editors allow: - admin_users Admins: include: SubAdmins allow: - admin
Wiki
Features
YAML
preferences: feature_wiki: y feature_wiki_print: y feature_wiki_attachments: y feature_wiki_comments: y
Modules
YAML
objects: - type: module ref: module_quick_edit data: name: quick_edit position: right groups: [ Registered ] order: 3
Groups & Permissions
YAML
permissions: Anonymous: allow: - view - wiki_view_attachments - wiki_view_comments description: Already exists Registered: description: Will be ignored because group is already created allow: - comment - edit - edit_categorized - post_comments - upload_files - upload_picture - wiki_view_history - wiki_view_source Editors: description: Can approve & delete allow: - admin_comments - admin_wiki - lock - minor - wiki_admin_attachments SubAdmins: allow:[] Admins: allow:[]
Wiki Pages
YAML
objects:
-
type: wiki_page
ref: collaborative_community_homepage_include
data:
name: HomePage
description: Home
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_HomePage
-
type: wiki_page
ref: collaborative_community_registered_homepage_include
data:
name: Registered HomePage
description: Registered Members HomePage
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_Registered_HomePage
-
type: wiki_page
ref: collaborative_community_instructions_include
data:
name: Instructions
description: Profile Instructions
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_Instructions
-
type: wiki_page
ref: collaborative_community_about_include
data:
name: Community
description: About Community
lang: en
mode: create_or_update
content: wikicontent:Small_Organization_Web_Presence_services_include
-
type: wiki_page
ref: collaborative_community_help_include
data:
name: Wiki Help
description: Wiki Syntax Help
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_PageForum
Features
YAML
preferences: feature_forums: y feature_forum_parse: y
Groups & Permissions
YAML
permissions: Anonymous: allow: - forum_read description: Already exists Registered: description: Will be ignored because group is already created allow: - forums_report - forum_attach - forum_edit_own_posts - forum_post - forum_post_topic - forum_vote Editors: description: Can approve & delete allow: - admin_forum SubAdmins: allow:[] Admins: allow:[]
Create Forum
YAML
objects: - type: forum ref: General_Forum data: name: Discussion forum attachments: everyone enable: [ topic_smiley ] list: [ topic_reads ]
Search
features
YAML
preferences: feature_search : n
Groups & Permissions
YAML
permissions: Anonymous: allow: - search description: Already exists Registered: allow:[] Editors: allow:[] SubAdmins: allow:[] Admins: allow:[]
Watches
YAML
preferences: feature_user_watches : y feature_group_watches : y
Test plan
Below is a list of scenarios that needs to be tested for this profile. Eventually, they should be implemented as automated tests using Selenium.
Setting up the site for testing
- Reinstall the DB, using Barebones profile
- When re-installing, make sure to insert a valid e-mail into the Admin e-mail. (we will use this later) If admin email is not entered, our test will crash - Tiki should have better message if email is not entered
- Install the Collaborative Community profile
- Install the Collaborative Community Profiles Addons
- Install - Collaborative_Community_4x_FileGalleries_Addon
- Install - Collaborative_Community_4x_Blog_Addon
- Create three users: test_editor (in Editors group), test_registered (in Registered group) & test_subadmin (in SubAdmin group)
- Admin > Users (Users link at bottom of page)
- Add New User tab
- In User:, type name of the user
- Type a password twice.
- Uncheck Send an email to the user in order to allow him to validate his account.
- Add button.
- Your new user appears in the list at bottom of page. If you need to change his group:
- click on the group icon beside it.
- click on the green plus sign beside the groups you want to add this user to.
- Create a posting in one of the discussion forums.
- Check the option "Send me an e-mail when someone replies to my topic"
- Create a new calendar
- Admin > Calendar > Create / Edit Calendar (tab)
- Give Calendar a name
- Leave other fields as is.
- Save
- Create a new calendar Event
- Main Menu > Calendar > Add Event
- Give event a name
- Give event a Start and End time
- Set event as Confirmed
- Save event
- Create a File Gallery this is a bug since the profile is suppose to create the file gallery. For the sack of of this test we need to manually create the file gallery
- Main Menu > List Galleries > Create a File Gallery
- Give your gallery a name
- Save
- Upload a file to your newly created gallery
- Upload file > Browse
- Select a file from your computer
- Upload
- Create a Wiki Page Comment
- Main Menu > Home
- Add Comment
- Insert Title and Description to your comment
- Post
Testing Anonymous
- Logoff
Anonymous UI Test
- Make sure anon CAN:
- See the following items in the Top Menu
- Home
- About
- Community
- Calendar
- Forums
- Files
- Help
- Wiki Syntax Help
- See the following Modules
- Calendar
- Upcoming Events
- view the Search Box
- See the following items in the Top Menu
Anonymous Search Test
- Enter "Mozilla" into the search
- Make sure anon CAN:
- View Search results
- User should see a page result called "Community" which contains the word "Mozilla"
- View Search results
- Make sure anon CAN:
Anonymous Wiki Test
- Click on "Home" from the Top Menu
- Make sure anon CAN:
- View the page
- Read comments (if you added a comment to the home page from earlier steps, anon user should see this)
- Make sure anon CANNOT:
- Edit
- View History
- Rename
- Add a Comment
- Make sure anon CAN:
Anonymous Forum Test
- Click on "Forums" from the Top Menu
- Make sure anon CAN:
- View the list of forums
- Click on "Discussion Forum" (This forum should have been created by the Profile)
- Click on a message and view its content
- Make sure anon CANNOT:
- Post on the forum
- Delete a forum posting
- Make sure anon CAN:
Anonymous File Gallery Test
- Click on "Files" from the Top Menu
- Make sure anon CAN:
- View the list of File Galleries
- Click on "tool icon"
- user can Display
- user can download
- Make sure anon CANNOT:
- Create a File Gallery
- Upload a File
- Make sure anon CAN:
Anonymous Calendar Test
- Click on "Calendar" from the Top Menu
- Make sure anon CAN:
- View the Calendar
- View the event inside the calendar
- Hover over the event in calendar Nothing happens, intuitively the popout should show
- Click on the event (User should see event details) if popup is visible and user hovers over Event title, a 2nd popout with HTML code appears
- User should be able to click on "magnifier" in the popout go to detailed view of event
- Make sure anon CANNOT:
- Create or delete a calendar
- Create or delete an event
- Make sure anon CAN:
Testing Registered
- Login as test_registered
Registered UI Test
- Make sure registered CAN:
- See the following items in the Top Menu
- Home
- About
- Community
- Calendar
- Forums
- Files
- Help
- Wiki Syntax Help
- View the Tiki Default Menu on the left
- See the following Modules
- Calendar not currently visible by Registered - TODO: Add
- Upcoming Events not currently visible by Registered - TODO: Add
- Quick Edit Wiki Page
- Top Users
- Recent Changes
- view the Search Box
- See the following items in the Top Menu
Registered Search Test
- Enter "Mozilla" into the search
- Make sure anon CAN:
- View Search results
- User should see a page result called "Community" which contains the word "Mozilla"
- View Search results
- Make sure anon CAN:
Registered Wiki Test
- Click on "Home" from the Top Menu
- Make sure registered CAN:
- View the page
- Edit the page
- click on Edit
- Modify Content
- Save
- View History
- can view any version "v"
- can compare two versions
- Read comments (if you added a comment to the home page from earlier steps, anon user should see this)
- Add new Comment Add comment button is visible but clicking on it does nothing - BUG. i tested on another page that already had comment inserted by Admin and I was able to add comment
- Create new page
- in module Quick Edit type new wiki page name
- insert content in new page
- save new page
- Make sure registered CANNOT:
- Rollback
- go to History
- make sure no version has the "B" option
- Rename
- Rollback
- Make sure registered CAN:
Registered Forum Test
- Click on "Forums" from the Top Menu
- Make sure registered CAN:
- View the list of forums
- Click on "Discussion Forum" (This forum should have been created by the Profile)
- Click on a message and view its content
- Post on forum
- Click on test post created above
- scroll down until you see Post
- create a new post
- Can edit own post
- go visit a post which test_registered created
- click the edit button
- save
- Create a new Topic
- Click on Topic List
- Click on New Topic
- fill out and post
- Search the forum
- List forums
- Select test forum
- Search for a term that you have entered in one of your posts.
- you should see the post that you searched
- Make sure registered CANNOT:
- Create or Delete a Forum
- Delete a forum post
- edit a post from another user
- Make sure registered CAN:
Registered File Gallery Test
- Click on "Files" from the Top Menu
- Make sure registered CAN:
- View the list of File Galleries
- Click on "tool icon"
- user can Display
- user can download
- Upload a file
- Replace a file that you have uploaded
- click on "tool icon"
- click on "replace"
- Delete a file that you have uploaded
- click on "tool icon"
- click on "delete"
- Make sure registered CANNOT:
- Create a File Gallery
- Delete a File Gallery
- Replace a file that has been uploaded from another user
- Delete a file that has been uploaded from another user
- Make sure registered CAN:
Registered Calendar Test
- Click on "Calendar" from the Top Menu
- Make sure registered CAN:
- View the Calendar
- View the event inside the calendar
- Hover over the event in calendar Nothing happens, intuitively the popout should show
- Click on the event (User should see event details) if popup is visible and user hovers over Event title, a 2nd popout with HTML code appears
- User should be able to click on "magnifier" in the popout go to detailed view of event
- Add Event
- click on Add Event
- insert title
- insert description
- save
- Make sure anon CANNOT:
- Create or delete a calendar
- Create or delete an event
- Make sure registered CAN:
Test Plan - TODO
- Create Editors Test
- Create SubAdmin Test
