Commit graph

215 commits

Author SHA1 Message Date
Jun Pataleta
4f71255e61 MDL-66874 mod_data: Explicitly add btn-secondary class to select all
* Plus use correct option attribute 'classes' for the slave
  checkboxes
2019-10-14 11:27:19 +08:00
Jun Pataleta
e274f1b29e MDL-65933 mod_data: Use new core/checkbox_toggleall 2019-08-02 16:30:39 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Juan Leyva
b8e0e64455 MDL-57921 mod_data: Move approval code to new function 2017-03-30 02:11:46 +02:00
Juan Leyva
c8a804ff68 MDL-57920 mod_data: Refactor search array creation 2017-03-30 01:53:35 +02:00
Juan Leyva
8077107565 MDL-57918 mod_data: Minor refactors for the new WS
- Move entry permission code to function
- Retrieve user record when missing
2017-03-22 11:31:04 +01:00
Juan Leyva
31aae5d459 MDL-49409 mod_data: Create new API function for search entries 2017-03-21 23:02:59 +01:00
Juan Leyva
a99c13af84 MDL-57916 mod_data: Move notifications code to new functions 2017-03-15 11:44:28 +01:00
Juan Leyva
023ffa656d MDL-57915 mod_data: Move view completion and event code to function 2017-03-13 19:21:07 +01:00
Damyon Wiese
e85fda95c6 MDL-56725 mod_data: Style fixes for boost theme 2016-11-10 16:21:01 +08:00
Adrian Greeve
839b391f74 MDL-56489 Lib: force_settings_menu added to pagelib.
This introduces a flag to force the settings menu
to be displayed on the page if the theme uses a settings
menu. This is for use by activities and resources.
2016-11-01 10:00:12 +08:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Johannes Burk
97fe80ad68 MDL-50664 mod_data: add 'manageapproved' setting.
New function data_user_can_manage_entry checks whether a user is allowed to manage an entry.
Considering manageentries capability, data_in_readonly_period() result,
ownership (determined by data_isowner()), approval and manageapproved setting.
2015-09-15 07:16:40 +00:00
Andrew Nicols
6738ad643b MDL-8626 mod_data: Only show select/delete options when entries present 2015-01-29 10:26:44 +08:00
John Okely
5cb440f936 MDL-8626 database: Move search and sort controls to top of page
Credit to Andrew Walbran for the patch.
2015-01-28 09:06:30 +08:00
Eloy Lafuente (stronk7)
65d2f8e3f9 Merge branch 'wip-MDL-48325-master' of git://github.com/abgreeve/moodle 2015-01-27 00:22:36 +01:00
Adrian Greeve
4cac2470bb MDL-48325 mod_data: Export to portfolio button uses capability.
The Export to portfolio button now checks the mod/data:exportownentry
capability to see if the export button should be shown.
2015-01-22 14:49:21 +08:00
Adrian Greeve
c910cf308c MDL-20053 mod_data: Removal of individual DB call.
The main functions for retrieving records have been
updated to include user picture information.
2015-01-19 15:24:47 +08:00
Adrian Greeve
7e7715fb6b MDL-47796 mod_data: Fix display of group records.
When viewing entries as a teacher in separate group
mode, changing the group would result in random
entries being shown.
2014-10-29 13:52:29 +08:00
Henning Bostelmann
f09040d76a MDL-46911 Database activity: jump to correct place in list after (un)approve 2014-08-26 10:15:15 +01:00
Tony Levi
368e04dc7a MDL-45232: mod_data: Simultaneously added entries do not sort correctly
This was picked up by behat on a fast machine, when using shorter polling interval.
2014-04-23 12:41:43 +09:30
Marina Glancy
fbc4b77841 MDL-44321 events: cleaning up course_module_viewed event 2014-02-28 16:36:09 +08:00
Mark Nelson
b071cfd229 MDL-40061 mod_data: replaced 'view' add_to_log call with an event 2014-02-09 14:49:17 -08:00
Damyon Wiese
93e55a8bf9 MDL-42804 Database - SQL keywords should be uppercase. 2013-11-12 12:05:08 +08:00
rwijaya
94738ee7d6 MDL-42804 data_mod: fix alternate name warning for deleting an entry 2013-11-12 12:05:08 +08:00
Sam Hemelryk
3eb032d743 NOBUG: fixed whitespace 2013-09-10 13:02:35 +12:00
Sam Hemelryk
a775f2c96d Merge branch 'MDL-40731_headings' of https://github.com/andyjdavis/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-09-10 11:22:04 +12:00
Dan Poltawski
cdf6fc243e Merge branch 'MDL-29069' of https://github.com/bostelm/moodle 2013-09-09 17:37:49 +08:00
Henning Bostelmann
d0372ed6f1 MDL-29069 Data / Glossary: allow disapproving entries 2013-09-04 20:37:46 +01:00
Andrew Davis
66e2b9f8c2 MDL-38856 reposition activity group control and fixed titles in chat, database and forum 2013-09-02 11:49:39 +07:00
Adrian Greeve
db22e31b1e MDL-41231 - mod_data: Export to portfolio and delete selected now work together. 2013-08-20 11:28:09 +08:00
Adrian Greeve
cf9ecfdac4 MDL-40871 - mod_data: Allow bulk deletion of entries in the database module. 2013-08-09 16:53:18 +08:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Adrian Greeve
a327f25ef1 MDL-31776 - lib: Alternate name fields
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00
Adrian Greeve
f7a00e9dbf MDL-39040 - mod_data: Database description available in single view tab. 2013-04-30 09:06:02 +08:00
Ankit Agarwal
7a241d8102 MDL-30166 Remove deprecated %fullname% from core
Thanks to Matheus Kautzmann for the initial patch.
2013-03-12 10:38:09 +08:00
Adrian Greeve
dfdd9c9b11 MDL-36915 - mod/data: A database with no entries no longer displays the export to portfolio button. 2012-11-30 09:57:45 +08:00
Justin Filip
e08bb715e7 MDL-36170 - mod/data - Don't display the blocks editing button within table HTML, use a standard API to create it. 2012-11-20 09:01:29 -05:00
Mark Nelson
3774324174 MDL-33791 Portfolio: Fixed security issue with passing file paths. 2012-11-08 00:26:13 +01:00
Adrian Greeve
e2c5f38605 MDL-35558 mod_data: Show only own entries while there are required pending. 2012-11-07 19:43:42 +01:00
Adrian Greeve
eb6e0c613d MDL-35961 - mod/data: Removed duplicate data_content join in simple searches. Thanks to Patrick Pollet (patrick.pollet@insa-lyon.fr) for his patch 2012-11-01 16:28:19 +08:00
Adrian Greeve
76fb0443b6 MDL-34448 - mod/data - Fixing separate groups viewing all entries. 2012-10-05 08:11:11 +08:00
David Monllao
0b3b8c30e2 MDL-34464 mod_data Replace all instances of get_context_instance() with respective context_XXXX class in mod/data 2012-07-27 09:13:57 +08:00
Adrian Greeve
db79db63ed MDL-33603 - data - added another sql query to allow links to records to work. 2012-06-18 10:21:38 +08:00
Adrian Greeve
0a498686c0 MDL-32126 replaced _order with sortorder to make sorting work in oracle 2012-05-18 11:37:21 +02:00
Adrian Greeve
0ba303e85f MDL-32126 - data - Fix of an error when sorting by other criteria. 2012-05-14 07:27:01 +08:00
adrian@moodle.com
db546510a1 MDL-17327 - data - improved the sql query for very large advanced searches 2012-03-30 13:18:23 +08:00
Aparup Banerjee
a72996fe71 Revert "MDL-17327 - data - improved the sql query for very large advanced searches"
This reverts commit 72d4340a0e.

Testing cross db compatibility failed.
2012-03-22 09:21:25 +08:00
adrian@moodle.com
72d4340a0e MDL-17327 - data - improved the sql query for very large advanced searches 2012-03-21 09:41:48 +08:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00