Changesets: MantisBT

master 26552e8c

2020-09-21 10:06:12

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_afrikaans.txt Diff File
mod - lang/strings_amharic.txt Diff File
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_arabicegyptianspoken.txt Diff File
mod - lang/strings_asturian.txt Diff File
mod - lang/strings_basque.txt Diff File
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_breton.txt Diff File
mod - lang/strings_bulgarian.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_croatian.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_eo.txt Diff File
mod - lang/strings_estonian.txt Diff File
mod - lang/strings_finnish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_georgian.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_greek.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - lang/strings_icelandic.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_japanese.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_lithuanian.txt Diff File
mod - lang/strings_luxembourgish.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_occitan.txt Diff File
mod - lang/strings_persian.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_qqq.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - lang/strings_romanian.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_serbian_latin.txt Diff File
mod - lang/strings_sh.txt Diff File
mod - lang/strings_slovak.txt Diff File
mod - lang/strings_slovene.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - lang/strings_swissgerman.txt Diff File
mod - lang/strings_tagalog.txt Diff File
mod - lang/strings_turkish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - lang/strings_urdu.txt Diff File
mod - lang/strings_vietnamese.txt Diff File
mod - lang/strings_volapuk.txt Diff File
mod - lang/strings_zazaki.txt Diff File
mod - plugins/MantisGraph/lang/strings_icelandic.txt Diff File

master 07b91f3c

2020-09-18 19:18:53

dregad

Details Diff
Profiles refactoring and enhancements

Merge PR https://github.com/mantisbt/mantisbt/pull/1698
Attach Issues:
mod - account_prof_edit_page.php Diff File
mod - account_prof_menu_page.php Diff File
mod - account_prof_update.php Diff File
mod - api/soap/mc_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/profile_api.php Diff File
mod - css/ace-mantis.css Diff File
mod - lang/strings_english.txt Diff File
mod - lost_pwd_page.php Diff File
mod - news_menu_page.php Diff File
mod - print_all_bug_page_word.php Diff File

master 97ea7453

2020-09-14 11:04:59

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_turkish.txt Diff File

master 11182316

2020-09-07 10:45:17

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_zazaki.txt Diff File

master 79b70c9b

2020-09-06 10:50:51

dregad

Details Diff
New internal function to avoid code duplication

Added profile_validate_before_update() as the same code snippet was
used in profile_create() and profile_update().

Fixes 0027258
Affected Issues
0027258
mod - core/profile_api.php Diff File

master 0baeffcf

2020-09-06 10:45:46

dregad

Details Diff
Rename profile_get_row_direct() to profile_get_row()

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File
mod - api/soap/mc_api.php Diff File
mod - core/profile_api.php Diff File
mod - print_all_bug_page_word.php Diff File

master e4a9f3eb

2020-09-06 10:44:13

dregad

Details Diff
Removed unused API function profile_get_row()

Fixes 0027258
Affected Issues
0027258
mod - core/profile_api.php Diff File

master 59d78ad4

2020-09-06 10:41:17

dregad

Details Diff
Remove last remaining call to profile_get_row()

Replacing it with profile_get_row_direct().

Since profiles identified with a globally unique ID, it does not make
sense for the API to require a user ID to retrieve a profile, as it
needlessly complexifies the caller's code.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File

master 73caf1bf

2020-09-06 10:39:19

dregad

Details Diff
Fix PHPDoc and static analysis warnings

Fixes 0027258
Affected Issues
0027258
mod - core/profile_api.php Diff File

master 9d59178f

2020-09-06 10:27:25

dregad

Details Diff
Profile API: use DbQuery

Replace legacy db_query() calls.

Fixes 0027258
Affected Issues
0027258
mod - core/profile_api.php Diff File

master 3c840478

2020-09-05 06:55:11

dregad

Details Diff
Allow confirmation messages without buttons

html_operation_confirmation() $p_buttons param can now be null or an
empty array, in which case the function will only print the alert
message text, without action buttons.

Fixes 0027242
Affected Issues
0027242
mod - core/html_api.php Diff File

master 7bf00a0c

2020-09-04 13:50:11

dregad

Details Diff
Remove and consolidate language strings

- Deleted unused Profile-related strings
- Regrouped duplicated strings, e.g. edit_profile_title -> edit_profile,
add_profile_title and add_profile_button -> add_profile
- Renamed additional_description -> profile_description
- Moved generic strings out of the "User/Global Profiles" block

Fixes 0011463, 0027258
Affected Issues
0011463, 0027258
mod - account_prof_edit_page.php Diff File
mod - account_prof_menu_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - lost_pwd_page.php Diff File
mod - news_menu_page.php Diff File
mod - print_all_bug_page_word.php Diff File

master 6677d03e

2020-09-04 13:49:26

dregad

Details Diff
Remove unnecessary check on form parameter

The calling form no longer relies on a select, so checking that the
profile_id parameter is 0 does not make sense anymore.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_update.php Diff File

master d98fe425

2020-09-04 13:09:30

dregad

Details Diff
Add <label> to form inputs

To comply with WCAG standard, inputs should be associated with a label.

This requires a CSS tweak CSS to ensure consistent display of labels in
bold font.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File

master acbabd18

2020-09-04 13:02:49

dregad

Details Diff
Fix HTML indentation and warnings

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File

master d5be03b9

2020-09-04 12:53:00

dregad

Details Diff
Confirm success after Profile operations

Fixes 0027259
Affected Issues
0027259
mod - account_prof_update.php Diff File

master 62d086a2

2020-09-04 12:52:00

dregad

Details Diff
Get user confirmation before deleting Profile

Fixes 0027259
Affected Issues
0027259
mod - account_prof_update.php Diff File
mod - lang/strings_english.txt Diff File

master ef8640c8

2020-09-04 12:47:11

dregad

Details Diff
New profile_get_name() function

Returns the "profile name" i.e. concatenation of Platform, OS and Build.

Fixes 0027258
Affected Issues
0027258
mod - core/filter_form_api.php Diff File
mod - core/profile_api.php Diff File

master 2fc662ff

2020-09-04 12:45:07

dregad

Details Diff
profile_is_global() now calls profile_get_row_direct()

This allows triggering an error when checking on an invalid Profile ID
instead of returning false (which could be interpreted as if it were a
valid User profile)

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File
mod - core/profile_api.php Diff File

master fc5ad9a1

2020-09-04 12:39:57

dregad

Details Diff
profile_get_row_direct() now throws exception

If the given Profile does not exist, throw an exception to trigger an
error, instead of silently returning false.

Adapt MC API to catch the exception instead of the return value.

Fixes 0027258
Affected Issues
0027258
mod - api/soap/mc_api.php Diff File
mod - core/profile_api.php Diff File

master 1078148d

2020-09-04 12:32:10

dregad

Details Diff
Refactor add/update/delete actions

Storing the user ID in a variable early in the case block to simplify
the code.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_update.php Diff File

master 047057de

2020-09-04 12:24:32

dregad

Details Diff
Remove case statement for unused 'edit' action

Profile edit is always managed in account_prof_edit_page.php, so the
redirection account_prof_update.php's switch statement is never called.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_update.php Diff File

master 3f660aa6

2020-09-04 12:22:42

dregad

Details Diff
Only highlight sidebar manage menu when needed

We are only in the context of Manage menu when editing Global Profiles.
When working with a User Profile, the sidebar should not show the
Manage Overview Page as active.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File
mod - account_prof_menu_page.php Diff File

master 4c8c3f80

2020-09-04 12:17:23

dregad

Details Diff
Add space between * and label for required fields

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File

master 39142cdf

2020-09-04 12:16:16

dregad

Details Diff
Avoid calling profile_is_global() twice

Profile API has no cache, so this causes unnecessary execution of
another DB query.

Fixes 0027258
Affected Issues
0027258
mod - account_prof_edit_page.php Diff File
1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 637 638 639  Next  Last