Eloy Lafuente (stronk7)
b56163cbc1
Merge branch 'MDL-71099-m311' of https://github.com/sammarshallou/moodle into MOODLE_311_STABLE
2021-03-27 10:17:51 +01:00
sam marshall
3dee5cd74c
MDL-71099 Lib: Move new user_fields class from core to core_user
...
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.
Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:48:04 +00:00
Mikel Martín
96668b7c35
MDL-70871 table: Add 'Show all X' functionality to dynamic_table
2021-03-23 09:57:52 +01:00
sam marshall
0919a04311
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:58:09 +00:00
Marina Glancy
7ab4eafc02
MDL-65552 user: escape idnumber and email in table_sql
2021-03-03 23:14:54 +08:00
Paul Holden
e6a54ae764
MDL-69201 core: consistent table primary sort column/order.
2020-11-18 23:01:23 +01:00
Michael Hawkins
c2f188311e
MDL-69336 lib: Reinstating tablelib column show/hide functionality
...
Also added behat testing for hide/show columns in participants table.
2020-08-04 15:18:39 +08:00
Andrew Nicols
a95f458cde
MDL-69110 table: Remove commented code
2020-07-06 13:25:31 +08:00
Jun Pataleta
b583c46297
MDL-69110 core: Unset the correct sort data element
2020-07-04 00:47:14 +08:00
Andrew Nicols
c4bd1858db
MDL-67743 table: Sort direction is an integer
2020-05-27 11:16:24 +08:00
Andrew Nicols
7d02452504
Merge branch 'MDL-67547' of https://github.com/paulholden/moodle
2020-05-26 08:06:39 +08:00
Andrew Nicols
a31a2b6d54
MDL-68508 core_table: Improve sorting to support sorting by multiple columns
2020-05-22 10:42:30 +08:00
Andrew Nicols
ed23725bc6
MDL-68463 user: Update select/show [count] links dynamically
2020-05-18 20:03:38 +08:00
Simey Lameze
d717918c87
MDL-68417 core_table: add some css styling to loading icon
2020-05-12 21:44:42 +08:00
Simey Lameze
c0db61e45f
MDL-68462 core_table: add missing global
2020-05-06 14:40:33 +08:00
Simey Lameze
68c46a28d6
MDL-68462 core_table: add support for reset table preferences
2020-05-06 09:44:39 +08:00
Paul Holden
118a109499
MDL-67547 dataformat: allow plugins to declare support for HTML.
2020-05-05 19:23:32 +01:00
Andrew Nicols
5615a772a6
MDL-68454 table: Move guessing of base URL to flexible
2020-05-04 11:52:19 +08:00
Andrew Nicols
56143dd622
MDL-68454 table: Move filterset functionality to flexible_table
2020-05-04 11:52:19 +08:00
Andrew Nicols
c00552b3b0
MDL-68454 table: Move get_context from dynamic to flexible
2020-05-04 11:52:19 +08:00
Simey Lameze
e2f12c2220
MDL-67915 core_table: add support for hide and show of columns
2020-04-24 18:23:34 +08:00
Simey Lameze
4cf97b7f42
MDL-68341 core_table: add component parameter to fetch WS
2020-04-21 10:28:01 +08:00
Simey Lameze
f7b84afe15
MDL-68288 core_table: support pagination bar for dynamic tables
2020-04-09 07:06:35 +08:00
Andrew Nicols
7aa6398830
Merge branch 'MDL-68148-master' of git://github.com/rezaies/moodle
2020-04-08 11:20:39 +08:00
Shamim Rezaie
0ad48a3e68
MDL-68148 core: remove cellspacing
...
The cellspacing attribute of <table> is not supported in HTML5.
So the removed line did not have any effect since ages ago.
2020-04-08 11:22:34 +10:00
Andrew Nicols
c540a575db
MDL-68286 table: Support initials bar for dynamic tables
2020-04-03 16:54:13 +08:00
Andrew Nicols
1c112ac5fd
MDL-68286 table: Empty tables need the dynamic table wrapper
2020-04-03 12:08:48 +08:00
Simey Lameze
1592c3c498
MDL-67914 core_table: implement dynamic table sorting
2020-04-01 15:13:31 +08:00
Bas Brands
40ea67534c
MDL-66999 theme_boost: @extend remove extends for tables
2019-12-12 11:27:56 +01:00
Paul Holden
d99bbd8e80
MDL-66659 core: observe viewfullnames capability in flexible_table.
2019-10-01 10:07:29 +01:00
Sagar Ghimire
a57a585cd2
MDL-48610 tablelib: Always show alphabet filter in grader report
2019-06-24 14:51:01 +10:00
Paul Holden
3c92b1d4e5
MDL-64784 core: consistent column sort direction in flexible_table.
2019-04-04 16:08:26 +01:00
Andrew Nicols
702123a1dd
MDL-49399 core: Add ability to specify a header col
2019-01-15 07:55:36 +08:00
Sara Arjona
4ecb387d55
MDL-64119 user: Display full names consistently for teachers
...
Fix an error with users with the moodle/site:viewfullnames capability
in a course context (like teachers), to display properly the full
names in pages like the participants one.
2018-11-20 19:41:21 +01:00
Michael Hawkins
c157e137ee
MDL-62618 user: Display full names consistently on users page
2018-07-05 10:08:33 +08:00
Tim Schroeder
1480277cfa
MDL-60681 lib/tablelib.php: Make flexible_table class better extendable
...
Previously the member functions get_initial_first and get_initial_last of flexible_table were public but deprecated due to being no
longer used. Now they are used by print_initials_bar and made protected. That allows classes deriving from flexible_table to access
the first and last name initials without having to use deprecated methods.
2018-04-13 16:52:52 +02:00
sam marshall
a938e4096c
MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
...
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00
Mark Nelson
e0ee37e426
MDL-56046 dataformat: changes to docs, upgrade.txt and error message
2017-06-27 11:35:05 +08:00
Mark Nelson
faf45f9c47
MDL-56046 core: enable multiple sheets for flexible table
2017-06-26 13:59:30 +08:00
Tobias Reischmann
4acb33f67b
MDL-59173 tablelib.php: changed default of $params in set_sql to array()
...
Default of $params = null leads to a problem in query_db().
There this value is used in array_merge, which can not handle null
values. If null is passed for one of the params the outcome will be null
independent of the value of the second param!
2017-06-16 10:26:31 +02:00
Ilya Tregubov
8b844f702e
MDL-55941 output: Refactor and improve initialbar UX to use templates
2017-03-24 20:31:03 +11:00
Brendan Heywood
d2df110950
MDL-55941 tablelib: Improve initialbar UX
2017-03-24 20:04:41 +11:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Ilya Tregubov
b6b38f77ba
MDL-55906 table: Update user preferences table when reset preferences
2016-12-08 15:02:04 +11:00
Daniel Thee Roperto
29406dded1
MDL-56231 library: Fixed PhpDoc for flexible_table constructor.
...
The flexible_table::__construct($uniqueid) accepts a string, not an int
as previously noted in the PhpDoc.
2016-10-03 16:07:11 +11:00
David Mudrák
4e96165e59
MDL-55660 tablelib: Fetch only a single row when auto defining columns
...
In a very rare cases where the columns are not declared explicitly, we
want to fetch single row only without a warning raised. This seems like
a valid use case for IGNORE_MULTIPLE flag.
2016-08-22 16:34:13 +02:00
Brendan Heywood
c32bcfe751
MDL-53973 tablelib: Fixed bug with worksheetname being ignored
2016-04-29 12:17:58 +01:00
David Monllao
9df4ae4189
MDL-51603 dataformats: coding_exception if output buffering
2016-04-21 16:20:36 +08:00
Brendan Heywood
5684cc2d1e
MDL-51603 tablelib: Removed legacy export classes
2016-04-20 12:39:29 +10:00
Brendan Heywood
bdb80f6a5f
MDL-51603 tablelib: Delegate to dataformat for downloading
2016-04-20 12:39:29 +10:00