•  
      request #8309 Get rid of PrototypeJS
    Infos
    #8309
    Nicolas Terray (nterray)
    2021-07-24 14:16
    2015-08-06 18:19
    8431
    Details
    Get rid of PrototypeJS
    We do not need to provide two similar libraries such as jQuery and PrototypeJS.

    Latest Tuleap development are based on jQuery. I suggest that we remove PrototypeJS as soon as possible in order to:
    - don't confuse new comers
    - don't bloat the page load

    Many legacy pieces of code rely on PrototypeJS:

    Integrated
    ========
    ✓ Is At Top (gerrit #4334)
    ✓ Check Password (gerrit #4400)
    ✓ Toggler (gerrit #4333)
    ✓ Tooltip (gerrit #4327)
    ✓ getText (gerrit #4477)
    ✓ defaultValueActsAsHint (gerrit #4461)
    ✓ embedded_file.js docman (gerrit #5141)
    ✓ load-artifactChildren.js (gerrit #5142)
    ✓ TrackerDateReminderForms.js (gerrit #5153)
    ✓ system_events.js (gerrit #5150)
    ✓ CreateProject.js (gerrit #5151)
    ✓ stats autocomplete.js (gerrit #5162)
    ✓ massmail_initialize_ckeditor (gerrit #5152)
    ✓ hudson_tab.js (gerrit #5163)
    ✓ ApprovalTableReminder.js (gerrit #5165)

    To be reviewed
    ============
    Nothing for now o/

    To be implemented
    ===============
    - Protocheck (field dependencies v3 & v5)
    - Docman (pencil menu)
    - Reorder columns in report
    - Resize columns in report
    - Tracker admin fields
    - Tracker admin fields (bind)
    - Tracker Field dependencies
    - Artifact Links
    - Artifact attachments
    - Tracker reports
    - Cardwall
    - Trackerv3 Field Dependencies
    - Feedback
    - Layout Manager
    - TextBoxList (open list field)
    - massmail
    - … (to be continued)
    UX/UI
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Nouha Terzi (terzino), Ahmed HOSNI (hosniah), Hanen Ben Elarbi (Hanen), Mohamed Amin Doghri (doghrim)
    Stage
    Empty
    Closed
    2021-07-24
    Attachments
    Empty
    References
    Referencing request #8309

    Git commit

    tuleap/tuleap/stable

    Merge commit 'refs/changes/34/4334/2' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 8d7ee0aae4
    request #8309: Get rid of PrototypeJS (is-at-top) 893199f122
    Merge commit 'refs/changes/00/4400/3' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 55537f728c
    request #8309: Get rid of PrototypeJS (Check Password) a4dd11559e
    Merge commit 'refs/changes/33/4333/1' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD a181e2faa3
    request #8309: Get rid of PrototypeJS (Toggler) dc8256d208
    Merge commit 'refs/changes/27/4327/5' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 0d4dbb6f05
    request #8309: Get rid of PrototypeJS (Tooltip) 2b03053d1f
    Merge commit 'refs/changes/77/4477/2' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 7a5a922c5a
    request #8309: Get rid of PrototypeJS (getText) 1f0f5c4c7f
    Merge commit 'refs/changes/61/4461/5' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 1cfba4c54b
    request #8309: Get rid of PrototypeJS (defaultValueActsAsHint) 4815b08dc2
    Use placeholder params in create tracker form 5ab058a392
    Use placeholder="" instead of value="" fbd2667892
    Merge commit 'refs/changes/41/5141/2' of ssh://gerrit.tuleap.net:29418/tuleap into stable a3a2657967
    request #8309 Get rid of PrototypeJS - embedded_file c0e045851a
    Merge commit 'refs/changes/42/5142/2' of ssh://gerrit.tuleap.net:29418/tuleap into stable b38d794a99
    request #8309 Get rid of PrototypeJS - load-artifactChildren.js faa7dc86ad
    Merge commit 'gerrit #5153' into stable/master e67a35b78e
    request #8309 Get rid of PrototypeJS - TrackerDateReminderForms.js a7893f9f80
    Merge commit 'gerrit #5150' into stable/master 410a503011
    request #8309 Get rid of PrototypeJS - system_events.js 1b83874d71
    Merge commit 'refs/changes/51/5151/2' of ssh://gerrit.tuleap.net:29418/tuleap into stable e95ee51e2a
    request #8309 Get rid of PrototypeJS - CreateProject.js 5ce3e38d17
    Merge commit 'gerrit #5162' into stable/master a7f79f14bf
    request #8309 Get rid of PrototypeJS - autocomplete.js 7b793abe7e
    Merge commit 'gerrit #5152' into stable/master 71e0f23fa0
    request #8309 Get rid of PrototypeJS - massmail_initialize_ckeditor 3926102e64
    Merge commit 'gerrit #5163' into stable/master 4838d2d9a7
    request #8309 Get rid of PrototypeJS - hudson_tab.js ac9ed3169a
    Merge commit 'gerrit #5165' into stable/master 63e030c9af
    request #8309 Get rid of PrototypeJS - ApprovalTableReminder.js 5416d3c687

    Follow-ups

    User avatar

    A lot of work has been done. New work must be done in a dedicated request. I close this request, feel free to reopen it if necessary.


    • Status changed from Under implementation to Closed
    • Close date set to 2021-07-24
    User avatar
    Thomas Gerbet (tgerbet)2016-02-29 17:08

    Agile dashboard planning V1 have been removed with request #8883.


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-28 23:11

    ApprovalTableReminder.js (gerrit #5165) integrated into Tuleap 8.11.99.76


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-28 22:53

    hudson_tab.js (gerrit #5163) integrated into Tuleap 8.11.99.75.


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-28 22:29

    massmail_initialize_ckeditor (gerrit #5152) integrated into Tuleap 8.11.99.74.


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-26 23:20

    stats autocomplete.js (gerrit #5162) integrated into Tuleap 8.11.99.73.


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    CreateProject.js (gerrit #5151) integrated into Tuleap 8.11.99.68


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-25 23:49
    system_events.js (gerrit #5150) integrated into Tuleap 8.11.99.67.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Thomas Gerbet (tgerbet)2016-02-25 23:27
    TrackerDateReminderForms.js (gerrit #5153) integrated into Tuleap 8.11.99.66.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    gerrit #5142 integrated into Tuleap 8.11.99.63


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    embedded_file (gerrit #5141) integrated into Tuleap 8.11.99.61


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    getText merged in Tuleap 8.6.99.43

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Tooltip merged in Tuleap 8.5.99.66

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Please review gerrit #4461 (defaultValueActsAsHint)

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    check password integrated in Tuleap 8.5.99.28. related to request #8362.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    See gerrit #4400 for check password.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    While you're at it, please review gerrit #4334 (is-at-top)

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Next is Toggler. See gerrit #4333.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    First step is to convert Tooltip code to be jQuery compatible. See gerrit #4327.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes