Page MenuHomeSoftware Heritage
Feed Advanced Search

Jun 18 2019

kalpitk closed D1577: Add tests for sidebar, back-to-top.
Jun 18 2019, 12:05 PM

Jun 17 2019

kalpitk added a comment to D1577: Add tests for sidebar, back-to-top.

Please review the change

Jun 17 2019, 6:28 PM
kalpitk updated the diff for D1577: Add tests for sidebar, back-to-top.

Fix failing tests

Jun 17 2019, 6:27 PM
kalpitk added a comment to D1577: Add tests for sidebar, back-to-top.

Sidebar tests fail.

Jun 17 2019, 6:09 PM
kalpitk committed rDWAPPSe160408c617c: Move Permalinks tabSlideout down in xs screens (authored by kalpitk).
Move Permalinks tabSlideout down in xs screens
Jun 17 2019, 5:42 PM
kalpitk closed D1567: Move Permalinks tabSlideout down in xs screens.
Jun 17 2019, 5:42 PM
kalpitk updated the diff for D1567: Move Permalinks tabSlideout down in xs screens.

Use Bootstrap breakpoint constant

Jun 17 2019, 5:28 PM
kalpitk committed rDWAPPS208d01b1fe9d: Fix sidebar not opening first time (authored by kalpitk).
Fix sidebar not opening first time
Jun 17 2019, 5:20 PM
kalpitk closed D1583: Fix sidebar not opening first time.
Jun 17 2019, 5:20 PM
kalpitk updated the diff for D1577: Add tests for sidebar, back-to-top.
  • Split tests into two files
  • Rebase with master
Jun 17 2019, 12:32 PM
kalpitk added inline comments to D1583: Fix sidebar not opening first time.
Jun 17 2019, 11:30 AM
kalpitk updated the diff for D1583: Fix sidebar not opening first time.
  • Update commit summary
Jun 17 2019, 8:56 AM
kalpitk updated the diff for D1583: Fix sidebar not opening first time.
  • Minor correction: md screen >=BREAKPOINT_MD rather than >BREAKPOINT_MD
Jun 17 2019, 8:51 AM

Jun 14 2019

kalpitk updated the diff for D1583: Fix sidebar not opening first time.
  • Add bootstrap breakpoints constants
Jun 14 2019, 7:48 PM
kalpitk added a comment to D1583: Fix sidebar not opening first time.

bootstrap breakpoint
Below 992px means sm, xs devices.

Oh, right!
Can we/should we import the constant from bootstrap instead of hardcoding it here?

Jun 14 2019, 2:55 PM
kalpitk added a comment to D1577: Add tests for sidebar, back-to-top.

Could you rename the file to cypress/integration/sidebar.spec.js?

Jun 14 2019, 2:24 PM
kalpitk added a comment to D1583: Fix sidebar not opening first time.

Where is the value "992" coming from?

Jun 14 2019, 2:23 PM
Herald added a reviewer for D1583: Fix sidebar not opening first time: Reviewers.
Jun 14 2019, 12:29 PM

Jun 13 2019

kalpitk updated the diff for D1577: Add tests for sidebar, back-to-top.
  • Test sidebar widths
Jun 13 2019, 6:36 PM
kalpitk added a comment to D1577: Add tests for sidebar, back-to-top.

While working on the tests, I found that for non-lg devices (width<992), first time you press the push-menu, it doesn't toggle. Instead it adds 'sidebar-collapse' first time. I think there is some conflict between webapp-utils.js:5 and the bootstrap defaults. I couldn't find the exact cause to it.

Jun 13 2019, 2:24 PM
kalpitk updated the diff for D1577: Add tests for sidebar, back-to-top.
  • refactor sidebar test
Jun 13 2019, 2:20 PM
kalpitk updated the diff for D1577: Add tests for sidebar, back-to-top.
  • refactor sidebar test
Jun 13 2019, 2:17 PM
kalpitk updated the summary of D1577: Add tests for sidebar, back-to-top.
Jun 13 2019, 9:50 AM
Herald added a reviewer for D1577: Add tests for sidebar, back-to-top: Reviewers.
Jun 13 2019, 9:50 AM

Jun 12 2019

kalpitk committed rDWAPPSb772f85f3289: Add end-to-end tests: highlighting of lines (authored by kalpitk).
Add end-to-end tests: highlighting of lines
Jun 12 2019, 12:23 PM
kalpitk closed D1568: Add End to end tests: Code Highlighting.
Jun 12 2019, 12:23 PM · GSoC 2019
kalpitk updated subscribers of T1768: Add end to end tests for the frontend part of swh-web.
Jun 12 2019, 9:28 AM · GSoC 2019, Web app
kalpitk added a comment to T1768: Add end to end tests for the frontend part of swh-web.

I plan to add the following e2e tests-

  1. Test basic webapp functionalities like 'sidebar', 'back-to-top'
  2. Test home page displays positive stats for directories, authors,...
  3. Test the origin-search with different combinations of checkboxes
  4. Test basic functionality of directory view.
  5. Test file being displayed (for some known format, maybe .txt)
  6. Test error being displayed when invalid sha1 or unknown origin url
Jun 12 2019, 9:20 AM · GSoC 2019, Web app

Jun 11 2019

kalpitk updated the summary of D1568: Add End to end tests: Code Highlighting.
Jun 11 2019, 7:29 PM · GSoC 2019
kalpitk added a project to D1568: Add End to end tests: Code Highlighting: GSoC 2019.
Jun 11 2019, 7:28 PM · GSoC 2019
kalpitk updated the diff for D1568: Add End to end tests: Code Highlighting.

Update commit message

Jun 11 2019, 7:27 PM · GSoC 2019
kalpitk updated the diff for D1568: Add End to end tests: Code Highlighting.

rebase with master

Jun 11 2019, 1:32 PM · GSoC 2019
kalpitk created D1568: Add End to end tests: Code Highlighting.
Jun 11 2019, 1:29 PM · GSoC 2019
kalpitk updated the diff for D1565: [WIP] Bootstrap end to end tests with cypress.

revert last commit

Jun 11 2019, 1:11 PM
kalpitk updated the diff for D1565: [WIP] Bootstrap end to end tests with cypress.
  • Add tests
Jun 11 2019, 11:34 AM

Jun 9 2019

Herald added a reviewer for D1567: Move Permalinks tabSlideout down in xs screens: Reviewers.
Jun 9 2019, 9:02 AM

Jun 7 2019

kalpitk committed rDWAPPSd355d8973205: Improve metadata popover on xs screens Related T1786 (authored by kalpitk).
Improve metadata popover on xs screens Related T1786
Jun 7 2019, 3:56 PM
kalpitk closed D1553: Improve mobile popovers.
Jun 7 2019, 3:56 PM
kalpitk updated the diff for D1553: Improve mobile popovers.

rebase

Jun 7 2019, 3:51 PM
kalpitk retitled D1533: Add Selenium End-to-End Test Cases from [WIP]Add Selenium End-to-End Test Cases to Add Selenium End-to-End Test Cases.
Jun 7 2019, 3:49 PM
kalpitk abandoned D1533: Add Selenium End-to-End Test Cases.

Abandon in favor of e2e testing with cypress

Jun 7 2019, 3:49 PM
kalpitk updated the diff for D1553: Improve mobile popovers.

amend commit messages and rebase

Jun 7 2019, 12:22 PM

Jun 6 2019

kalpitk updated the diff for D1553: Improve mobile popovers.
  • increase z-index and move popover left
Jun 6 2019, 9:01 PM
kalpitk added inline comments to D1553: Improve mobile popovers.
Jun 6 2019, 7:40 PM
Herald added a reviewer for D1553: Improve mobile popovers: Reviewers.
Jun 6 2019, 1:35 PM

Jun 5 2019

kalpitk committed rDWAPPS135360c835c4: Make DataTables Responsive (authored by kalpitk).
Make DataTables Responsive
Jun 5 2019, 11:44 AM
kalpitk closed D1515: Make DataTables responsive.
Jun 5 2019, 11:44 AM
kalpitk updated the diff for D1515: Make DataTables responsive.

Rebase with master

Jun 5 2019, 11:44 AM
kalpitk updated the diff for D1515: Make DataTables responsive.

Rebase with master and squash reordered commits

Jun 5 2019, 11:29 AM

Jun 4 2019

kalpitk added a comment to D1515: Make DataTables responsive.

@anlambert made all the changes.

Jun 4 2019, 8:04 PM
kalpitk updated the diff for D1515: Make DataTables responsive.
  • Made required changes
Jun 4 2019, 8:00 PM
kalpitk updated the diff for D1515: Make DataTables responsive.
  • Remove div-item css
Jun 4 2019, 12:24 PM
kalpitk retitled D1533: Add Selenium End-to-End Test Cases from Add Selenium End-to-End Test Cases to [WIP]Add Selenium End-to-End Test Cases.
Jun 4 2019, 12:17 PM
kalpitk updated subscribers of D1533: Add Selenium End-to-End Test Cases.
Jun 4 2019, 11:57 AM
Herald added a reviewer for D1533: Add Selenium End-to-End Test Cases: Reviewers.
Jun 4 2019, 11:56 AM

May 31 2019

kalpitk claimed T1770: Add end to end tests .

First of all, I think, we need to run the docker (with overridden swh-web) manually. And then run the selenium test cases. (I couldn't find a better approach). However, Jenkins may be configured to run these tests after running the docker-compose.

May 31 2019, 3:38 PM · GSoC 2019, Web app

May 30 2019

kalpitk added a comment to D1515: Make DataTables responsive.

Only admin deposit table is left. I am not sure about what priority order should I keep for the columns.

May 30 2019, 1:18 PM

May 29 2019

kalpitk updated the summary of D1515: Make DataTables responsive.
May 29 2019, 9:19 PM
kalpitk updated the diff for D1515: Make DataTables responsive.
  • add width 100% to api table
May 29 2019, 9:16 PM
kalpitk updated the diff for D1515: Make DataTables responsive.
  • update more datatables
May 29 2019, 9:13 PM

May 28 2019

kalpitk retitled D1515: Make DataTables responsive from [WIP] Make DataTables responsive to Make DataTables responsive.
May 28 2019, 8:28 PM
kalpitk updated the diff for D1515: Make DataTables responsive.
  • Redesign mobile directory view
May 28 2019, 3:16 PM

May 27 2019

Herald added a reviewer for D1515: Make DataTables responsive: Reviewers.
May 27 2019, 9:16 PM

May 25 2019

kalpitk committed rDWAPPSa9ea27d2ca89: Hide back-to-top when on top (authored by kalpitk).
Hide back-to-top when on top
May 25 2019, 8:51 PM
kalpitk closed D1513: Hide back-to-top when on top.
May 25 2019, 8:51 PM

May 24 2019

kalpitk updated the diff for D1513: Hide back-to-top when on top.

moved js to webapp-utils.js

May 24 2019, 7:15 PM
Herald added a reviewer for D1513: Hide back-to-top when on top: Reviewers.
May 24 2019, 4:56 PM
kalpitk committed rDWAPPS737948de0803: Hide donate button for small screens (authored by kalpitk).
Hide donate button for small screens
May 24 2019, 9:15 AM
kalpitk committed rDWAPPS290a95d1b39e: Decrease beta ribbon size for small screens (authored by kalpitk).
Decrease beta ribbon size for small screens
May 24 2019, 9:15 AM
kalpitk closed D1510: Decrease beta ribbon size and hide donate button for small screens.
May 24 2019, 9:15 AM

May 23 2019

kalpitk updated the diff for D1510: Decrease beta ribbon size and hide donate button for small screens.
  • Decrease beta ribbon size for small screens
  • Hide donate button for small screens
May 23 2019, 7:30 PM
kalpitk updated the summary of D1510: Decrease beta ribbon size and hide donate button for small screens.
May 23 2019, 7:21 PM
kalpitk abandoned D1505: Hide beta ribbon for non-large screens.

By mistake pushed a new diff.
Changes made in D1510.

May 23 2019, 7:20 PM
Herald added a reviewer for D1510: Decrease beta ribbon size and hide donate button for small screens: Reviewers.
May 23 2019, 7:16 PM
kalpitk added a comment to D1505: Hide beta ribbon for non-large screens.

Instead of hiding the ribbon, we should make it smaller in order that it does not overflow the main page content.
After thoughts, the fact that the the archive website is an ongoing development should remain visible to the users.
Can you try that approach ?

Also can you hide the 'Donate button' for smaller display ?

May 23 2019, 2:41 PM

May 22 2019

Herald added a reviewer for D1505: Hide beta ribbon for non-large screens: Reviewers.
May 22 2019, 6:26 PM

May 21 2019

kalpitk claimed T1477: Improve swh-web design for mobile browsing .

I propose changes to the following to improve the mobile website -

  • In the directory view, 'Mode' can be removed for mobile website. It would look cleaner.
  • In the mobile view, 'Beta version' obstructs the view. I think it would be better to hide this too.
  • The menu in browse, doesn't look nice. I think this would require some rework.
  • 'Donate' button overlaps on most of devices. For mobile devices, either remove the button or maybe remove class swh-position-right.
  • hide 'go to top' button when already on top (for desktop view also)
  • DataTable headers don't scroll currently in mobile view. Either make the headers scroll too or make it mobile responsive (it will appear in form of dropdown in mobile view)
May 21 2019, 2:46 PM · GSoC 2019, Web app

May 8 2019

kalpitk triaged T1705: Back-to-top button doesn't work in Chrome as Low priority.
May 8 2019, 8:24 AM · Web app

May 7 2019

kalpitk committed rDWAPPSccfc15753561: swh-web: Fix numerous XSS vulnerabilities (authored by kalpitk).
swh-web: Fix numerous XSS vulnerabilities
May 7 2019, 8:52 PM
kalpitk closed T1699: XSS in swh-web as Resolved by committing rDWAPPSccfc15753561: swh-web: Fix numerous XSS vulnerabilities.
May 7 2019, 8:52 PM · Security, Web app
kalpitk closed D1442: swh-web: Fix XSS.
May 7 2019, 8:52 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.

squash commits

May 7 2019, 7:49 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • fix failing tests and make minor changes
May 7 2019, 5:47 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • Fix XSS in web API interface
May 7 2019, 3:47 PM
kalpitk added inline comments to D1442: swh-web: Fix XSS.
May 7 2019, 3:04 PM
kalpitk added a comment to D1442: swh-web: Fix XSS.

@anlambert I think, I have added escape wherever it was vulnerable.

May 7 2019, 2:48 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • Add escape for request.META
May 7 2019, 2:46 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • Add escaping for BadInputExc
May 7 2019, 2:41 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
May 7 2019, 2:33 PM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • Fix XSS in origin/search
May 7 2019, 11:51 AM
kalpitk updated the diff for D1442: swh-web: Fix XSS.

rebase and squash commits

May 7 2019, 11:18 AM
kalpitk added a comment to D1442: swh-web: Fix XSS.

@anlambert We need to remember to use 'escape' unsafe things, whenever marking some html as safe.

May 7 2019, 11:03 AM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • move mark_safe to _generate_error_page
May 7 2019, 11:03 AM
kalpitk updated the diff for D1442: swh-web: Fix XSS.
  • use mark_safe with escape
May 7 2019, 10:43 AM

May 6 2019

kalpitk added a comment to D1442: swh-web: Fix XSS.

@anlambert
Ok. Will need to rework this, to keep the links working.
But,
1- if we filter out directly while saving, it may cause some valid links being rejected.
2- if I use filterXSS, other html tags will still work.

May 6 2019, 11:24 AM

May 4 2019

Herald added a reviewer for D1442: swh-web: Fix XSS: Reviewers.
May 4 2019, 5:09 PM

May 3 2019

kalpitk updated the task description for T1699: XSS in swh-web.
May 3 2019, 1:33 PM · Security, Web app
kalpitk changed the visibility for T1699: XSS in swh-web.
May 3 2019, 1:15 PM · Security, Web app

Apr 27 2019

kalpitk committed rDWAPPS25af062ce7df: Fix xss vulnerability in origin save (authored by kalpitk).
Fix xss vulnerability in origin save
Apr 27 2019, 10:40 AM

Apr 13 2019

kalpitk added a comment to T1642: Images with src within repo dont render in Readme.

I can confirm, all the 4 codes below work with your commit and xss is too not working.

Apr 13 2019, 8:22 AM · Web app