[Mahara-contributors] [Bug 1876185] Re: Allow redis function without needing sentinel

2020-07-19 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1876185

Title:
  Allow redis function without needing sentinel

Status in Mahara:
  In Progress

Bug description:
  When redis was set up in mahara it was envisioned to be used with
  redis sentinel in a cluster situation

  But we should also allow redis to be usable without sentinel

  Looking at the code we probably need to adjust the get_redis_master()
  and get_redis_servers() functions in htdocs/auth/lib.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1876185/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1876185] Re: Allow redis function without needing sentinel

2020-07-19 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Anupama Dharmajan (anupamadharmajan)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1876185

Title:
  Allow redis function without needing sentinel

Status in Mahara:
  Confirmed

Bug description:
  When redis was set up in mahara it was envisioned to be used with
  redis sentinel in a cluster situation

  But we should also allow redis to be usable without sentinel

  Looking at the code we probably need to adjust the get_redis_master()
  and get_redis_servers() functions in htdocs/auth/lib.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1876185/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1733432] [NEW] external

2017-11-20 Thread Dmitrii Metelkin
Public bug reported:

This work is related to https://bugs.launchpad.net/mahara/+bug/1685049

At the moment we store all image locally and never push them to external
file system, because functions that modify images do not support remote
file handlers (e.g. resizing images).

Some work needs to be done to push images to external file systems as
well.

More specs to come...

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1733432

Title:
  external

Status in Mahara:
  New

Bug description:
  This work is related to https://bugs.launchpad.net/mahara/+bug/1685049

  At the moment we store all image locally and never push them to
  external file system, because functions that modify images do not
  support remote file handlers (e.g. resizing images).

  Some work needs to be done to push images to external file systems as
  well.

  More specs to come...

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1733432/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724724] Re: Clear cache inside the upgrade process

2017-10-19 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724724

Title:
  Clear cache inside the upgrade process

Status in Mahara:
  In Progress

Bug description:
  Mahara should clear cache every time we upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724724/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1723286] Re: Rerunning unit tests fails with DB error

2017-10-19 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1723286

Title:
  Rerunning unit tests fails with DB error

Status in Mahara:
  In Progress

Bug description:
  On master.

  When you rerun unit tests they fail with:

  [DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop 
constraint tst_fram_id_pk on table tst_framework because other objects depend 
on it
  [DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on index tst_fram_id_pk
  [DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk")Command was: ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk
  [DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop table 
tst_framework because other objects depend on it
  [DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on table tst_framework
  [DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("DROP TABLE tst_framework")Command was: DROP TABLE 
tst_framework

  This happens because we don't clean up coll_fra_fk index on {collection} 
table when uninstalling.
  The proper fix would be to use the same set of functions for behat and unit 
tests when we drop a site.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1723286/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] [NEW] SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2017-10-18 Thread Dmitrii Metelkin
Public bug reported:

SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
main page when a site is in maintenance mode. Ideally, it should send
503 HTTP response to let systems who read the metadata know, that the
file is not accessible.

** Affects: mahara
 Importance: Undecided
 Status: New

** Description changed:

- 
- SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to main 
page when a site is in maintenance mode. Ideally, it should send 503 HTTP 
response to let systems who read the metadata, that the file is not accessible.
+ SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
+ main page when a site is in maintenance mode. Ideally, it should send
+ 503 HTTP response to let systems who read the metadata know, that the
+ file is not accessible.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  New

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1715544] Re: SAML Service Provider Metadata link should be hidden if SSPHP is not installed

2017-10-18 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1715544

Title:
  SAML Service Provider Metadata link should be hidden if SSPHP is not
  installed

Status in Mahara:
  In Progress

Bug description:
  Not a huge thing, but it will make a page a little bit cleaner.

  If on the page
  /admin/extensions/pluginconfig.php?plugintype=auth=saml we
  see message like

  The SimpleSAMLPHP library's "autoloader" file was not found at 
/var/www/site/auth/saml/extlib/simplesamlphp/vendor/autoload.php.
  Make sure you install SimpleSAMLphp via "make ssphp" and the file is readable.

  we probably need to get rid of Metadata link which doesn't work anyway
  in this case and just displays a broken page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1715544/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724724] [NEW] Clear cache inside the upgrade process

2017-10-18 Thread Dmitrii Metelkin
Public bug reported:

Mahara should clear cache every time we upgrade.

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724724

Title:
  Clear cache inside the upgrade process

Status in Mahara:
  New

Bug description:
  Mahara should clear cache every time we upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724724/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1723286] [NEW] Rerunning unit tests fails with DB error

2017-10-12 Thread Dmitrii Metelkin
Public bug reported:

On master.

When you rerun unit tests they fail with:

[DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop constraint 
tst_fram_id_pk on table tst_framework because other objects depend on it
[DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on index tst_fram_id_pk
[DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk")Command was: ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk
[DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop table 
tst_framework because other objects depend on it
[DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on table tst_framework
[DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("DROP TABLE tst_framework")Command was: DROP TABLE 
tst_framework

This happens because we don't clean up coll_fra_fk index on {collection} table 
when uninstalling.
The proper fix would be to use the same set of functions for behat and unit 
tests when we drop a site.

** Affects: mahara
 Importance: Medium
     Assignee: Dmitrii Metelkin (dmitriim)
 Status: Confirmed

** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1723286

Title:
  Rerunning unit tests fails with DB error

Status in Mahara:
  Confirmed

Bug description:
  On master.

  When you rerun unit tests they fail with:

  [DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop 
constraint tst_fram_id_pk on table tst_framework because other objects depend 
on it
  [DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on index tst_fram_id_pk
  [DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk")Command was: ALTER TABLE tst_framework DROP CONSTRAINT 
tst_fram_id_pk
  [DBG] 9d (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop table 
tst_framework because other objects depend on it
  [DBG] 9d (lib/dml.php:157) DETAIL:  constraint tst_coll_fra_fk on table 
tst_collection depends on table tst_framework
  [DBG] 9d (lib/dml.php:157) HINT:  Use DROP ... CASCADE to drop the dependent 
objects too.] in EXECUTE("DROP TABLE tst_framework")Command was: DROP TABLE 
tst_framework

  This happens because we don't clean up coll_fra_fk index on {collection} 
table when uninstalling.
  The proper fix would be to use the same set of functions for behat and unit 
tests when we drop a site.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1723286/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1685049] Re: Modifications to filesystem to allow object storage

2017-10-10 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: Ilya Tregubov (ilya-u) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1685049

Title:
  Modifications to filesystem to allow object storage

Status in Mahara:
  In Progress

Bug description:
  To use object storage (like S3) several modifications are needed (like
  get_path should return either local path to file or remote if it is
  stored remotely).

  
  Use cases:

  Offloading large and old files to save money

  Disk can be expensive, so a simple use case is we simply want to move
  some of the largest and oldest files off local disk to somewhere
  cheaper. But we still want the convenience and performance of having
  the majority of files local, especially if you are hosting on-prem
  where the latency or bandwidth to the remote filesystem may not be
  great.

  Sharing files across maharas to save disk

  Clients can have multiple mahara instances, and there is much
  duplicated content across instances. By pointing multiple maharas at
  the same remote filesystem, and not allowing deletes, then large
  amounts of content can be de-duplicated.

  Sharing files across environments to save time

  We can have multiple environments for various types of testing, and
  often have ad hoc environments created on demand. Not only do we not
  want to have to store duplicated files, but we also want refreshing
  data to new environments to be as fast as possible.

  Using this plugin we can configure production to have full read write
  to the remote filesystem and store the vast bulk of content remotely.
  In this setup the latency and bandwidth isn't an issue as they are
  colocated. The local filedir on disk would only consist of small or
  fast churning files. A refresh of the production data back to a
  staging environment can be much quicker now as we skip the sitedir
  clone completely and stage is simple configured with readonly access
  to the production filesystem. Any files it creates would only be
  writen to it's local filesystem which can then be discarded when next
  refreshed.

  Currently it only works with AWS S3 storage. There is support for more
  object stores planed, in particular enabling Openstack deployments.

  To use a plugin you will need to create an Amazon S3 bucket for your
  mahara instance. You will also need Amazon SDK to make this plugin
  work.

  So currently following directory is being saved to S3 - 
/path_to_sitedata/artefact/file/originals
  There is a cron task that checks if there are new files that are not yet in 
S3 (depending on setting it only pushes files of certain age and size). Once 
files are duplicated, there is an option to delete local copy if we want to 
save space (cron task checks duplicated files, again only deletes those 
depending on setting, like large files etc). Certain operations only can deal 
only with local files - for example on content page - download content as zip 
archive. So when hitting download button, first all files will be pulled to 
local from S3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1685049/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set

2017-09-28 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717861

Title:
  Redirect to incorrect port when sslproxy is on and wwwroot is set

Status in Mahara:
  In Progress

Bug description:
  When you have your mahara behind SSL proxy and have sslproxy enabled,
  it redirects to incorrect port when you try to access pages which
  require login.

  When you get your mahara behind load balancer and nginx proxy on port
  81 you get redirected to https://mahara.com:81/user/admin?login when
  try to access https://mahara.com/user/admin as not logged in user.

  Looks like function get_full_script_path tries to get a port even if
  $CFG->wwwroot is set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717861/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1717861] [NEW] Redirect to incorrect port when sslproxy is on and wwwroot is set

2017-09-18 Thread Dmitrii Metelkin
Public bug reported:

When you have your mahara behind SSL proxy and have sslproxy enabled, it
redirects to incorrect port when you try to access pages which require
login.

When you get your mahara behind load balancer and nginx proxy on port 81
you get redirected to https://mahara.com:81/user/admin?login when try to
access https://mahara.com/user/admin as not logged in user.

Looks like function get_full_script_path tries to get a port even if
$CFG->wwwroot is set.

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717861

Title:
  Redirect to incorrect port when sslproxy is on and wwwroot is set

Status in Mahara:
  New

Bug description:
  When you have your mahara behind SSL proxy and have sslproxy enabled,
  it redirects to incorrect port when you try to access pages which
  require login.

  When you get your mahara behind load balancer and nginx proxy on port
  81 you get redirected to https://mahara.com:81/user/admin?login when
  try to access https://mahara.com/user/admin as not logged in user.

  Looks like function get_full_script_path tries to get a port even if
  $CFG->wwwroot is set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717861/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1717136] [NEW] Hardcoded items for SAML config

2017-09-13 Thread Dmitrii Metelkin
Public bug reported:

Some values in SP config for SAML is hardcoded.
E.g.technicalcontact_email

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717136

Title:
  Hardcoded items for SAML config

Status in Mahara:
  New

Bug description:
  Some values in SP config for SAML is hardcoded.
  E.g.technicalcontact_email

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717136/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1717133] [NEW] Incorrect port in SimpleSAML when sslproxy is enabled

2017-09-13 Thread Dmitrii Metelkin
Public bug reported:

When we enable sslproxy because we use SSL proxy, SAML incorrectly picks
port when builds self URL in getSelfURL function of
SimpleSAML\Utils\HTTP class.

Instead of https://mahara.catalyst-
au.net/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust

It returns Instead of https://mahara.catalyst-
au.net:81/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Description changed:

- When we enable sslproxy because we use SSL proxy SAML incorrectly picks
- port when builds redirect URL in getSelfURL function of
+ When we enable sslproxy because we use SSL proxy, SAML incorrectly picks
+ port when builds self URL in getSelfURL function of
  SimpleSAML\Utils\HTTP class.
  
  Instead of https://mahara.catalyst-
  
au.net/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust
  
  It returns Instead of https://mahara.catalyst-
  
au.net:81/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717133

Title:
  Incorrect port in SimpleSAML when sslproxy is enabled

Status in Mahara:
  New

Bug description:
  When we enable sslproxy because we use SSL proxy, SAML incorrectly
  picks port when builds self URL in getSelfURL function of
  SimpleSAML\Utils\HTTP class.

  Instead of https://mahara.catalyst-
  
au.net/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust

  It returns Instead of https://mahara.catalyst-
  
au.net:81/auth/saml/index.php?idpentityid=http://catalyst.edu.au/adfs/services/trust

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717133/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1715802] Re: Errors trying to add SAML Auth to an institution

2017-09-12 Thread Dmitrii Metelkin
In my patch, I have added an additional check for correct config of Memcache. 
If it's not configured properly, then admin will get a message. 
Also, you can't add SAML auth to an institution if Memcache is not configured. 
Also, fixed missing help file.
Added description of $cfg->memcacheservers to a relevant file.
And finally, did small refactoring to get rid of duplicate code.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1715802

Title:
  Errors trying to add SAML Auth to an institution

Status in Mahara:
  In Progress

Bug description:
  Mahara version 17.04

  I have two issues:

  1 .
  When you have php5-memcache extension enabled on your server, but don't use 
Memcache in Mahara, adding SAML Auth to an institution fails with an error: 
   [SimpleSAML_Error_Error]: MEMCACHEDOWN

  2. If I pass error from step 1, I'm having the following error:

   [SimpleSAML_Error_Exception]: You cannot set both the
  session.phpsession.limitedpath and session.cookie.path options.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1715802/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1715802] [NEW] Errors trying to add SAML Auth to an institution

2017-09-07 Thread Dmitrii Metelkin
Public bug reported:

Mahara version 17.04

I have two issues:

1 .
When you have php5-memcache extension enabled on your server, but don't use 
Memcache in Mahara, adding SAML Auth to an institution fails with an error: 
 [SimpleSAML_Error_Error]: MEMCACHEDOWN

2. If I pass error from step 1, I'm having the following error:

 [SimpleSAML_Error_Exception]: You cannot set both the
session.phpsession.limitedpath and session.cookie.path options.

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1715802

Title:
  Errors trying to add SAML Auth to an institution

Status in Mahara:
  New

Bug description:
  Mahara version 17.04

  I have two issues:

  1 .
  When you have php5-memcache extension enabled on your server, but don't use 
Memcache in Mahara, adding SAML Auth to an institution fails with an error: 
   [SimpleSAML_Error_Error]: MEMCACHEDOWN

  2. If I pass error from step 1, I'm having the following error:

   [SimpleSAML_Error_Exception]: You cannot set both the
  session.phpsession.limitedpath and session.cookie.path options.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1715802/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1715544] [NEW] SAML Service Provider Metadata link should be hidden if SSPHP is not installed

2017-09-06 Thread Dmitrii Metelkin
Public bug reported:

Not a huge thing, but it will make a page a little bit cleaner.

If on the page
/admin/extensions/pluginconfig.php?plugintype=auth=saml we
see message like

The SimpleSAMLPHP library's "autoloader" file was not found at 
/var/www/site/auth/saml/extlib/simplesamlphp/vendor/autoload.php.
Make sure you install SimpleSAMLphp via "make ssphp" and the file is readable.

we probably need to get rid of Metadata link which doesn't work anyway
in this case and just displays a broken page.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1715544

Title:
  SAML Service Provider Metadata link should be hidden if SSPHP is not
  installed

Status in Mahara:
  New

Bug description:
  Not a huge thing, but it will make a page a little bit cleaner.

  If on the page
  /admin/extensions/pluginconfig.php?plugintype=auth=saml we
  see message like

  The SimpleSAMLPHP library's "autoloader" file was not found at 
/var/www/site/auth/saml/extlib/simplesamlphp/vendor/autoload.php.
  Make sure you install SimpleSAMLphp via "make ssphp" and the file is readable.

  we probably need to get rid of Metadata link which doesn't work anyway
  in this case and just displays a broken page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1715544/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1701437] Re: Confusing date of shared pages/collections

2017-07-04 Thread Dmitrii Metelkin
What about have two dates?

Updated: 
Shared: ... 


I have created a new bug related to event triggering 
https://bugs.launchpad.net/mahara/+bug/1702374

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1701437

Title:
  Confusing date of shared pages/collections

Status in Mahara:
  Confirmed

Bug description:
  Version of Mahara: 16.10.2

  
  When you are on "Shared with me" screen /view/sharedviews.php you see a list 
of shared pages and collections e.g. 

  Sidney Crosby Pesonal Portfolio (15 pages)
  Sidney Crosby - 28 Jan 2017, 14:37

  It looks like the date is a date when a user shared it with you. But
  actually it's a date when the first item in the collection was updated
  (if it's a collection).

  Expected: date should be a date of sharing or it should be clear that
  this date is when a collection was updated.

  A side effect of discovering of this bug is that when you share
  collection with a group it triggers event and save DB record like:

   53773 |   53773 | 2017-06-29 20:40:06 | saveview|
  {"id":"14925"}

  But view hasn't been updated as we have changed collection access
  rule.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1701437/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1702374] [NEW] Incorrect event triggered when share a collection with a group

2017-07-04 Thread Dmitrii Metelkin
Public bug reported:

This bug was discovered as part of
https://bugs.launchpad.net/mahara/+bug/1701437

Version of Mahara: 16.10.2

When you share a collection with a group it triggers event "saveview"
and save DB record like:

53773 | 53773 | 2017-06-29 20:40:06 | saveview | {"id":"14925"}

But view hasn't been updated as we just have changed collection access
rule, but not any page in the collection.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1702374

Title:
  Incorrect event triggered when share a collection with a group

Status in Mahara:
  New

Bug description:
  This bug was discovered as part of
  https://bugs.launchpad.net/mahara/+bug/1701437

  Version of Mahara: 16.10.2

  When you share a collection with a group it triggers event "saveview"
  and save DB record like:

  53773 | 53773 | 2017-06-29 20:40:06 | saveview | {"id":"14925"}

  But view hasn't been updated as we just have changed collection access
  rule, but not any page in the collection.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1702374/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1701437] [NEW] Confusing date of shared pages/collections

2017-06-29 Thread Dmitrii Metelkin
Public bug reported:

Version of Mahara: 16.10.2


When you are on "Shared with me" screen /view/sharedviews.php you see a list of 
shared pages and collections e.g. 

Sidney Crosby Pesonal Portfolio (15 pages)
Sidney Crosby - 28 Jan 2017, 14:37

It looks like the date is a date when a user shared it with you. But
actually it's a date when the first item in the collection was updated
(if it's a collection).

Expected: date should be a date of sharing or it should be clear that
this date is when a collection was updated.

A side effect of discovering of this bug is that when you share
collection with a group it triggers event and save DB record like:

 53773 |   53773 | 2017-06-29 20:40:06 | saveview|
{"id":"14925"}

But view hasn't been updated as we have changed collection access rule.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1701437

Title:
  Confusing date of shared pages/collections

Status in Mahara:
  New

Bug description:
  Version of Mahara: 16.10.2

  
  When you are on "Shared with me" screen /view/sharedviews.php you see a list 
of shared pages and collections e.g. 

  Sidney Crosby Pesonal Portfolio (15 pages)
  Sidney Crosby - 28 Jan 2017, 14:37

  It looks like the date is a date when a user shared it with you. But
  actually it's a date when the first item in the collection was updated
  (if it's a collection).

  Expected: date should be a date of sharing or it should be clear that
  this date is when a collection was updated.

  A side effect of discovering of this bug is that when you share
  collection with a group it triggers event and save DB record like:

   53773 |   53773 | 2017-06-29 20:40:06 | saveview|
  {"id":"14925"}

  But view hasn't been updated as we have changed collection access
  rule.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1701437/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1651011] Re: Issue upgrading Mahara site to 17.04dev

2016-12-28 Thread Dmitrii Metelkin
For the verifying its a good idea to test upgrade from 15.10, 16.04 to 16.10 
and master. 
Also test upgrade from 16.10.0, 16.10.1 to the latest 16.10 with the patch and 
to the master.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1651011

Title:
  Issue upgrading Mahara site to 17.04dev

Status in Mahara:
  In Progress

Bug description:
  This issue arose from bug #1647885. The upgrade fails because the
  primary key is incorrect in the table artefact_file_mime_types

  Robert sayd: Rather than dropping and re-creating the table, it would
  be better to truncate the table and change the primary key. That way,
  the table structure stays the same.

  To replicate:

  1. Install 16.04 and go through the regular setup steps.
  2. Upgrade to master
  Expected result: The upgrade completes. Actual result: Upgrade fails on 
artefact.file with the following error message, which can only be seen when you 
attempt to run the upgrade again:

  [DBG] 0e (artefact/file/db/upgrade.php:446) Drop the old primary key 
constraint and add new id column from/to the table artefact_file_mime_types
  [DBG] 0e (lib/dml.php:157) postgres8 error: [-1: ERROR:  multiple primary 
keys for table "artefact_file_mime_types" are not allowed] in adodb_throw(ALTER 
TABLE "artefact_file_mime_types"
  DROP CONSTRAINT IF EXISTS 
"artefilemimetype_mim_pk",
  ADD COLUMN id SERIAL PRIMARY KEY, )
  Command was: ALTER TABLE "artefact_file_mime_types"
  DROP CONSTRAINT IF EXISTS 
"artefilemimetype_mim_pk",
  ADD COLUMN id SERIAL PRIMARY KEY
  [WAR] 0e (lib/errors.php:859) Could not execute command: ALTER TABLE 
"artefact_file_mime_types"
  DROP CONSTRAINT IF EXISTS 
"artefilemimetype_mim_pk",
  ADD COLUMN id SERIAL PRIMARY KEY
  Call stack (most recent first):

  log_message(string(size 207), integer, true, true) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:95
  log_warn(string(size 207)) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:859
  SQLException->__construct(string(size 207)) at 
/home/kristina/code/mahara/htdocs/lib/dml.php:158
  execute_sql(string(size 180)) at 
/home/kristina/code/mahara/htdocs/artefact/file/db/upgrade.php:450
  xmldb_artefact_file_upgrade(string(size 10)) at 
/home/kristina/code/mahara/htdocs/lib/upgrade.php:423
  upgrade_plugin(object(stdClass)) at 
/home/kristina/code/mahara/htdocs/admin/upgrade.json.php:87

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1651011/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647885] Re: Not all file types and mime types get populated on install/upgrade

2016-12-08 Thread Dmitrii Metelkin
** Changed in: mahara/15.10
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara/16.04
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara/16.10
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647885/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647885] [NEW] Not all file types and mime types get populated on install/upgrade

2016-12-06 Thread Dmitrii Metelkin
Public bug reported:

Please include (if relevant) in your bug report:
- exact version of Mahara: 16.10_STABLE
- operating system: Linux
- database: Postgres

Steps to replicate:

1. Install a fresh mahara.
2. Execute following SQL on DB
SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

Expected result:
 mimetype  | description 
---+-
 video/mp4 | m4a
 video/mp4 | m4b
 video/mp4 | m4p
 video/mp4 | m4r
 video/mp4 | m4v
 video/mp4 | mp4
(6 rows)


Actual result:
 mimetype  | description 
---+-
 video/mp4 | m4v

(1 rows)

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647885/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1612481] Re: In some cases users are out of the search result on admin page

2016-08-14 Thread Dmitrii Metelkin
The quotation marks don't work on admin search page :(

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1612481

Title:
  In some cases  users are out of  the search result on admin page

Status in Mahara:
  New

Bug description:
  Steps to replicate:

  Make sure that the setting "Exact user searches" set to Yes on
  admin/extensions/pluginconfig.php?plugintype=search=internal

  Create a user with multi word lastname, e.g Bla Bla Bla
  Navigate to /admin/users/search.php
  Type Bla in search form

  Actual result: User is not in the search results
  Expected result: User is in the search results

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1612481/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1612481] Re: In some cases users are out of the search result on admin page

2016-08-12 Thread Dmitrii Metelkin
I think this code is executed only if we use not internal search plugin.
I believe we should look at admin_search_user function from
search/internal/lib.php

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1612481

Title:
  In some cases  users are out of  the search result on admin page

Status in Mahara:
  New

Bug description:
  Steps to replicate:

  Make sure that the setting "Exact user searches" set to Yes on
  admin/extensions/pluginconfig.php?plugintype=search=internal

  Create a user with multi word lastname, e.g Bla Bla Bla
  Navigate to /admin/users/search.php
  Type Bla in search form

  Actual result: User is not in the search results
  Expected result: User is in the search results

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1612481/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1612481] [NEW] In some cases users are out of the search result on admin page

2016-08-11 Thread Dmitrii Metelkin
Public bug reported:

Steps to replicate:

Make sure that the setting "Exact user searches" set to Yes on
admin/extensions/pluginconfig.php?plugintype=search=internal

Create a user with multi word lastname, e.g Bla Bla Bla
Navigate to /admin/users/search.php
Type Bla in search form

Actual result: User is not in the search results
Expected result: User is in the search results

** Affects: mahara
 Importance: Undecided
 Status: New

** Description changed:

  Steps to replicate:
  
  Make sure that the setting "Exact user searches" set to Yes on
  admin/extensions/pluginconfig.php?plugintype=search=internal
  
- Create a user with multi word latsname, e.g Bla Bla Bla
+ Create a user with multi word lastname, e.g Bla Bla Bla
  Navigate to /admin/users/search.php
  Type Bla in search form
  
  Actual result: User is not in the search results
  Expected result: User is in the search results

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1612481

Title:
  In some cases  users are out of  the search result on admin page

Status in Mahara:
  New

Bug description:
  Steps to replicate:

  Make sure that the setting "Exact user searches" set to Yes on
  admin/extensions/pluginconfig.php?plugintype=search=internal

  Create a user with multi word lastname, e.g Bla Bla Bla
  Navigate to /admin/users/search.php
  Type Bla in search form

  Actual result: User is not in the search results
  Expected result: User is in the search results

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1612481/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1606752] [NEW] Attempting to upload a folder fails with unclear error in Safari only

2016-07-26 Thread Dmitrii Metelkin
Public bug reported:

- exact version of Mahara - master
- operating system - OSX
- database - Postgres
- browser and version - Safari (v. 9.1.1)

Test scenario:

1. Login to ePortfolio, go to Content > Files
2. Drag a folder from your file manager to the ‘Drop files her to upload’ region

Expected: "Folder" is a folder. To upload a folder, please create a zip
archive, upload that, then use the decompress option below.

Actual result: Error “Server responded with 0 code.[object
XMLHttpRequest]”

** Affects: mahara
 Importance: Undecided
     Assignee: Dmitrii Metelkin (dmitriim)
 Status: In Progress

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1606752

Title:
  Attempting to upload a folder fails with unclear error in Safari only

Status in Mahara:
  In Progress

Bug description:
  - exact version of Mahara - master
  - operating system - OSX
  - database - Postgres
  - browser and version - Safari (v. 9.1.1)

  Test scenario:

  1. Login to ePortfolio, go to Content > Files
  2. Drag a folder from your file manager to the ‘Drop files her to upload’ 
region

  Expected: "Folder" is a folder. To upload a folder, please create a
  zip archive, upload that, then use the decompress option below.

  Actual result: Error “Server responded with 0 code.[object
  XMLHttpRequest]”

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1606752/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1606086] Re: Upgrade dropzone.js to v.4.3.0

2016-07-24 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1606086

Title:
  Upgrade dropzone.js to v.4.3.0

Status in Mahara:
  In Progress

Bug description:
  Upgrade dropzone.js  from the current 4.2.0 to the latest release
  4.3.0, which came out in Feb 2016.

  https://github.com/enyo/dropzone

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1606086/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1606086] [NEW] Upgrade dropzone.js to v.4.3.0

2016-07-24 Thread Dmitrii Metelkin
Public bug reported:

Upgrade dropzone.js  from the current 4.2.0 to the latest release 4.3.0,
which came out in Feb 2016.

https://github.com/enyo/dropzone

** Affects: mahara
 Importance: Undecided
 Assignee: Dmitrii Metelkin (dmitriim)
 Status: New

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1606086

Title:
  Upgrade dropzone.js to v.4.3.0

Status in Mahara:
  New

Bug description:
  Upgrade dropzone.js  from the current 4.2.0 to the latest release
  4.3.0, which came out in Feb 2016.

  https://github.com/enyo/dropzone

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1606086/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1605072] Re: Attempting to upload a folder fails with the error

2016-07-24 Thread Dmitrii Metelkin
Oh. Looks like i was looking at the wrong branch. 
I'm going to work on this bug. Do you think's a good idea to update the library 
first and then patch it to implement more polite error message?

** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1605072

Title:
  Attempting to upload a folder fails with the error

Status in Mahara:
  Confirmed

Bug description:
  - exact version of Mahara - master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)

  Test scenario:

  1. Login to ePortfolio, go to Content > Files
  2. Drag a folder from your file manager to the ‘Drop files her to upload’ 
region

  Expected: all files in the folder uploaded
  Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1605072/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1605072] Re: Attempting to upload a folder fails with the error

2016-07-21 Thread Dmitrii Metelkin
Looks like this JS library is not actively supported. The last commit to
the master was more than two years ago. Maybe we should think of
changing this library to something well supported?

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1605072

Title:
  Attempting to upload a folder fails with the error

Status in Mahara:
  New

Bug description:
  - exact version of Mahara - master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)

  Test scenario:

  1. Login to ePortfolio, go to Content > Files
  2. Drag a folder from your file manager to the ‘Drop files her to upload’ 
region

  Expected: all files in the folder uploaded
  Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1605072/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1605072] Re: Attempting to upload a folder fails with the error

2016-07-21 Thread Dmitrii Metelkin
Related dropzone.js issues:
https://github.com/enyo/dropzone/issues/528
https://github.com/enyo/dropzone/issues/1350

** Bug watch added: github.com/enyo/dropzone/issues #528
   https://github.com/enyo/dropzone/issues/528

** Bug watch added: github.com/enyo/dropzone/issues #1350
   https://github.com/enyo/dropzone/issues/1350

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1605072

Title:
  Attempting to upload a folder fails with the error

Status in Mahara:
  New

Bug description:
  - exact version of Mahara - master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)

  Test scenario:

  1. Login to ePortfolio, go to Content > Files
  2. Drag a folder from your file manager to the ‘Drop files her to upload’ 
region

  Expected: all files in the folder uploaded
  Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1605072/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1605072] [NEW] Attempting to upload a folder fails with the error

2016-07-21 Thread Dmitrii Metelkin
Public bug reported:

- exact version of Mahara - master
- operating system - Linux, OSX
- database - Postgres
- browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)

Test scenario:

1. Login to ePortfolio, go to Content > Files
2. Drag a folder from your file manager to the ‘Drop files her to upload’ region

Expected: all files in the folder uploaded
Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1605072

Title:
  Attempting to upload a folder fails with the error

Status in Mahara:
  New

Bug description:
  - exact version of Mahara - master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)

  Test scenario:

  1. Login to ePortfolio, go to Content > Files
  2. Drag a folder from your file manager to the ‘Drop files her to upload’ 
region

  Expected: all files in the folder uploaded
  Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1605072/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1591760] Re: The link "Move to undefined" should not be displayed

2016-07-20 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1591760

Title:
  The link "Move to undefined" should not be displayed

Status in Mahara:
  In Progress

Bug description:
  Version: master (16.10)

  Reported in https://mahara.org/interaction/forum/topic.php?id=7624

  When I clicked an icon of a file in a sub folder, I saw the link "Move to 
undefined".
  This link is redundant.

  See the screenshot in the attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1591760/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1592236] Re: Sessions: constantly asked to log in to access the Users Admin screen

2016-07-04 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1592236

Title:
  Sessions: constantly asked to log in to access the Users Admin screen

Status in Mahara:
  In Progress

Bug description:
  Mahara: 16.04.1
  DB: Postgres
  OS: Linux
  Browser: Firefox

  
  I think there may be something funny with sessions happening. When the 
session times out (it's currently set to 2 hours) and I'm on the 
/admin/users/search.php, I think it doesn't correctly update the session once I 
log in again.

  This is what I think the steps are to reproduce it:
  1. leave screen on /admin/users/search.php

  2. have the session time out

  3. try to do something on the screen (i.e. search for a user)

  4. It will redirect to the login screen.

  5. Login correctly

  6. user search screen is displayed.

  7. click on the Configure Site menu link

  8. Click back on the Users menu link

  9. It will ask you to log back in again.

  
  It seems to only happen on the Users (and Group - I think) menu links.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1592236/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1595028] Re: Download CSV file with group membership

2016-06-23 Thread Dmitrii Metelkin
What page should we put this functionality?

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1595028

Title:
  Download CSV file with group membership

Status in Mahara:
  In Progress

Bug description:
  A site admin is able to download group membership via a CSV file for
  all the groups displayed on "Administer groups", i.e. in the format
  you would need for /admin/groups/uploadmemberscsv.php

  I would include the first name, last name and display name though
  besides the username so it's easier to identify the people without
  always having to look up the real name. We have a user spreadsheet at
  /admin/users/report.php (but you wouldn't need ID number , remote
  username, last login and probation).

  We can display up to 500 groups at once. That can be a lot of users in
  them potentially taking quite a bit of processing power to generate
  the CSV. If that is not feasible processing-wise, we'll need to think
  about a different approach. The paginator allows us to display 1, 10,
  20, 50, 100 and 500 results. So we don't always have to show 500
  groups.

  This would go for manually created groups as well as CSV-created
  groups. This will be done as part of other group enhancements for bug
  #826649.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1595028/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1595028] Re: Download CSV file with group membership

2016-06-22 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1595028

Title:
  Download CSV file with group membership

Status in Mahara:
  In Progress

Bug description:
  A site admin is able to download group membership via a CSV file for
  all the groups displayed on "Administer groups", i.e. in the format
  you would need for /admin/groups/uploadmemberscsv.php

  I would include the first name, last name and display name though
  besides the username so it's easier to identify the people without
  always having to look up the real name. We have a user spreadsheet at
  /admin/users/report.php (but you wouldn't need ID number , remote
  username, last login and probation).

  We can display up to 500 groups at once. That can be a lot of users in
  them potentially taking quite a bit of processing power to generate
  the CSV. If that is not feasible processing-wise, we'll need to think
  about a different approach. The paginator allows us to display 1, 10,
  20, 50, 100 and 500 results. So we don't always have to show 500
  groups.

  This would go for manually created groups as well as CSV-created
  groups. This will be done as part of other group enhancements for bug
  #826649.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1595028/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1595025] Re: Show group shortname in the admin group table

2016-06-22 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1595025

Title:
  Show group shortname in the admin group table

Status in Mahara:
  In Progress

Bug description:
  Show group shortname in the admin table at /admin/groups/groups.php to
  the right of "Group name".

  This is related to bug #826649 and will be done as part of the group
  enhancement.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1595025/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1595026] Re: Download CSV file with group settings for displayed groups

2016-06-21 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1595026

Title:
  Download CSV file with group settings for displayed groups

Status in Mahara:
  In Progress

Bug description:
  A site admin is able to download a CSV with group settings for all the
  groups displayed in the "Administer group" section in the admin area
  so that this can be used to update said group settings and re-upload
  the CSV file to make changes to the groups.

  This would go for manually created groups as well as CSV-created
  groups. This will be done as part of other group enhancements for bug
  #826649.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1595026/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 826649] Re: Add group shortnames to manually created groups

2016-06-20 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/826649

Title:
  Add group shortnames to manually created groups

Status in Mahara:
  Triaged

Bug description:
  In Mahara 1.5 groups can be created via a CSV file and associated with
  an institution. Often, however, groups can be created manually, but a
  CSV upload of the members may be preferred. Thus, it would be good if
  manually created groups could also have a short name (that is also
  displayed to the admin) so that members can be added via CSV.

  This wishlist item needs a bit more thinking because the CSV feature
  allows institution admins to create groups that are associated with
  their institution (though it doesn't do anything with that information
  yet, I think) but not on a site level. Furthermore, if groups already
  exist, they would need to be assigned a short name. And then who can
  add members as they are not associated with an institution yet?

  Furthermore, the CSV upload is also only beneficial if users don't
  change their user names. An admin must be aware of that or his upload
  may not work most of the time. Thus, user names should be locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/826649/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1594613] [NEW] Add behat tests for clear caches" admin script

2016-06-20 Thread Dmitrii Metelkin
Public bug reported:

The "clear caches" admin script was added in 
https://bugs.launchpad.net/mahara/+bug/1470708
Would be awesome to have behat test for this functionality.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1594613

Title:
  Add behat tests for clear caches" admin script

Status in Mahara:
  New

Bug description:
  The "clear caches" admin script was added in 
https://bugs.launchpad.net/mahara/+bug/1470708
  Would be awesome to have behat test for this functionality.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1594613/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1594255] [NEW] Add site-wide config for account preference "messages"

2016-06-20 Thread Dmitrii Metelkin
Public bug reported:

By default it's hardcoded to 'allow'. And then users can change it in their 
profile settings.
Would be awesome to have administration setting to set site-wide config for all 
users.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1594255

Title:
  Add site-wide config for account preference "messages"

Status in Mahara:
  New

Bug description:
  By default it's hardcoded to 'allow'. And then users can change it in their 
profile settings.
  Would be awesome to have administration setting to set site-wide config for 
all users.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1594255/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1470708] Re: Add a "clear caches" admin script

2016-06-19 Thread Dmitrii Metelkin
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1470708

Title:
  Add a "clear caches" admin script

Status in Mahara:
  In Progress

Bug description:
  Since we've started cacheing more things in Mahara (like the main
  navigation menu: Bug 1467368), we should add an admin script that
  allows you to clear and re-populate all of Mahara's caches.

  It should hit all the hard-coded system caches (the navigation menu,
  maybe the iframe regex, the Dwoo caches, bump the $CFG->cacheversion,
  etc). And maybe also hit a /local/lib.php method to allow for third-
  party cacheing systems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1470708/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1594212] Re: Pie form autofocus works for hidden elements in the form

2016-06-19 Thread Dmitrii Metelkin
** Attachment added: "focus.png"
   
https://bugs.launchpad.net/mahara/+bug/1594212/+attachment/4686909/+files/focus.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1594212

Title:
  Pieforms autofocus should not focus on type="hidden" elements

Status in Mahara:
  New

Bug description:
  - exact version of Mahara -  master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Chrom

  Atofocus in pie forms works for hidden elements.

  Example:

  "close_site" form in /htdocs/admin/index.php

  The first element is hidded and autofocus is set. See atached image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1594212/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1594212] [NEW] Pieforms autofocus should not focus on type="hidden" elements

2016-06-19 Thread Dmitrii Metelkin
Public bug reported:

- exact version of Mahara -  master
- operating system - Linux, OSX
- database - Postgres
- browser and version - Chrom

Atofocus in pie forms works for hidden elements.

Example:

"close_site" form in /htdocs/admin/index.php

The first element is hidded and autofocus is set. See atached image.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "focus.png"
   https://bugs.launchpad.net/bugs/1594212/+attachment/4686908/+files/focus.png

** Description changed:

- Please include (if relevant) in your bug report:
  - exact version of Mahara -  master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Chrom
  
  Atofocus in pie forms works for hidden elements.
  
  Example:
  
  "close_site" form in /htdocs/admin/index.php
  
  The first element is hidded and autofocus is set. See atached image.

** Attachment removed: "focus.png"
   
https://bugs.launchpad.net/mahara/+bug/1594212/+attachment/4686908/+files/focus.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1594212

Title:
  Pieforms autofocus should not focus on type="hidden" elements

Status in Mahara:
  New

Bug description:
  - exact version of Mahara -  master
  - operating system - Linux, OSX
  - database - Postgres
  - browser and version - Chrom

  Atofocus in pie forms works for hidden elements.

  Example:

  "close_site" form in /htdocs/admin/index.php

  The first element is hidded and autofocus is set. See atached image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1594212/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1470708] Re: Add a "clear caches" admin script

2016-06-16 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1470708

Title:
  Add a "clear caches" admin script

Status in Mahara:
  Confirmed

Bug description:
  Since we've started cacheing more things in Mahara (like the main
  navigation menu: Bug 1467368), we should add an admin script that
  allows you to clear and re-populate all of Mahara's caches.

  It should hit all the hard-coded system caches (the navigation menu,
  maybe the iframe regex, the Dwoo caches, bump the $CFG->cacheversion,
  etc). And maybe also hit a /local/lib.php method to allow for third-
  party cacheing systems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1470708/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1590626] Re: Field with error is not highlighted on profile wall

2016-06-08 Thread Dmitrii Metelkin
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1590626

Title:
  Field with error is not highlighted on profile wall

Status in Mahara:
  In Progress

Bug description:
  Steps to replicate:

  * Login as a user
  * Navigate to Portfolio > Profile Page
  * Post more than 1500 symbols to the wall message.

  Issue 1: Expected: error is displayed on the fly before the massage
  submitted

  * Click Post button
  * See the message "There was an error with submitting this form. Please check 
the marked fields and try again."

  Issue 2: But the field is not highlighted. And it's not clear what is
  wrong.

  See attached screenshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1590626/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1590626] [NEW] Field with error is not highlighted on profile wall

2016-06-08 Thread Dmitrii Metelkin
Public bug reported:

Steps to replicate:

* Login as a user
* Navigate to Portfolio > Profile Page
* Post more than 1500 symbols to the wall message.

Issue 1: Expected: error is displayed on the fly before the massage
submitted

* Click Post button
* See the message "There was an error with submitting this form. Please check 
the marked fields and try again."

Issue 2: But the field is not highlighted. And it's not clear what is
wrong.

See attached screenshot.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "error_message.png"
   
https://bugs.launchpad.net/bugs/1590626/+attachment/4680081/+files/error_message.png

** Description changed:

  Steps to replicate:
  
  * Login as a user
  * Navigate to Portfolio > Profile Page
  * Post more than 1500 symbols to the wall message.
  
- Bug 1: Expected: error is displayed on the fly before the massage
+ Issue 1: Expected: error is displayed on the fly before the massage
  submitted
  
  * Click Post button
- * See the message "There was an error with submitting this form. Please check 
the marked fields and try again." 
+ * See the message "There was an error with submitting this form. Please check 
the marked fields and try again."
  
- Bug 2: But the field is not highlighted. And it's not clear what is
+ Issue 2: But the field is not highlighted. And it's not clear what is
  wrong.

** Description changed:

  Steps to replicate:
  
  * Login as a user
  * Navigate to Portfolio > Profile Page
  * Post more than 1500 symbols to the wall message.
  
  Issue 1: Expected: error is displayed on the fly before the massage
  submitted
  
  * Click Post button
  * See the message "There was an error with submitting this form. Please check 
the marked fields and try again."
  
  Issue 2: But the field is not highlighted. And it's not clear what is
  wrong.
+ 
+ See attached screenshot.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1590626

Title:
  Field with error is not highlighted on profile wall

Status in Mahara:
  New

Bug description:
  Steps to replicate:

  * Login as a user
  * Navigate to Portfolio > Profile Page
  * Post more than 1500 symbols to the wall message.

  Issue 1: Expected: error is displayed on the fly before the massage
  submitted

  * Click Post button
  * See the message "There was an error with submitting this form. Please check 
the marked fields and try again."

  Issue 2: But the field is not highlighted. And it's not clear what is
  wrong.

  See attached screenshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1590626/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1578000] Re: "Call to undefined function artefact_instance_from_id()" when deleting a profile icon

2016-06-06 Thread Dmitrii Metelkin
** Changed in: mahara/16.04
 Assignee: Dmitrii Metelkin (dmitriim) => (unassigned)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1578000

Title:
  "Call to undefined function artefact_instance_from_id()" when deleting
  a profile icon

Status in Mahara:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  To replicate:

  1. Upload a profile icon
  2. On the "Content -> Profile pictures" page, tick the box next to the 
uploaded profile icon.
  3. Press the "delete" button

  Expected result: icon is deleted
  Actual result: Fatal crash with this error:

  ( ! ) Fatal error: Call to undefined function artefact_instance_from_id() in 
/home/aaronw/www/mahara/htdocs/artefact/file/profileicons.php on line 317
  Call Stack
  # TimeMemory  FunctionLocation
  1 0.0098  315720  {main}( )   ../profileicons.php:0
  2 0.1018  10206368pieform_instance( ??? ) ../profileicons.php:36
  3 0.1034  10512720Pieform->__construct( ??? ) 
../mahara.php:4484
  4 0.1075  10745944settings_submit_delete( ???, ??? )  
../pieform.php:528

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1578000/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1578000] Re: "Call to undefined function artefact_instance_from_id()" when deleting a profile icon

2016-06-06 Thread Dmitrii Metelkin
** Changed in: mahara/16.10
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

** Changed in: mahara/16.04
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1578000

Title:
  "Call to undefined function artefact_instance_from_id()" when deleting
  a profile icon

Status in Mahara:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  To replicate:

  1. Upload a profile icon
  2. On the "Content -> Profile pictures" page, tick the box next to the 
uploaded profile icon.
  3. Press the "delete" button

  Expected result: icon is deleted
  Actual result: Fatal crash with this error:

  ( ! ) Fatal error: Call to undefined function artefact_instance_from_id() in 
/home/aaronw/www/mahara/htdocs/artefact/file/profileicons.php on line 317
  Call Stack
  # TimeMemory  FunctionLocation
  1 0.0098  315720  {main}( )   ../profileicons.php:0
  2 0.1018  10206368pieform_instance( ??? ) ../profileicons.php:36
  3 0.1034  10512720Pieform->__construct( ??? ) 
../mahara.php:4484
  4 0.1075  10745944settings_submit_delete( ???, ??? )  
../pieform.php:528

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1578000/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1588608] [NEW] Improvements for Send friend request message field

2016-06-02 Thread Dmitrii Metelkin
Public bug reported:

Issue: Find friends > Send friend request > in the “Message” field, it
should not let a user to type more than 255 text characters.

Solution:
from the UI perspective it's better to allow a user to type more than 255 
characters, but display the standard field error message when it is more than 
255. This will push the user to rewrite the message. Once the string is 255 or 
less the message should disappear. This will let the user know that he's fixed 
the error and form can be submitted.

Demo: https://www.youtube.com/watch?v=JF38jvY-rlk=youtu.be

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1588608

Title:
  Improvements for Send friend request message field

Status in Mahara:
  New

Bug description:
  Issue: Find friends > Send friend request > in the “Message” field, it
  should not let a user to type more than 255 text characters.

  Solution:
  from the UI perspective it's better to allow a user to type more than 255 
characters, but display the standard field error message when it is more than 
255. This will push the user to rewrite the message. Once the string is 255 or 
less the message should disappear. This will let the user know that he's fixed 
the error and form can be submitted.

  Demo: https://www.youtube.com/watch?v=JF38jvY-rlk=youtu.be

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1588608/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp