Commit graph

190 commits

Author SHA1 Message Date
mergify[bot]
fe3f6fe0c9
fix: The Geolocation Map Field in RTL languages in System (backport #22248) (#22250)
(cherry picked from commit 30dd229032cb77b41e7dda16dbdc3e6b28456ee9)

Co-authored-by: Alaa Alsalehi <alaadiaa@gmail.com>
2023-08-30 15:27:57 +05:30
Suraj Shetty
4491f6c5b8 fix: Update recommended bundle of moment.js for browser
https://momentjs.com/timezone/docs/
this also helps reducing the bundle size
2023-06-26 09:14:17 +05:30
marination
5f6a6a025a fix: Load map libraries at build time to avoid async issues during geolocation render
- When gelocation control is built, it awaits loading of libraries
- Withi the control everything is await but a layer above where multiple controls are sequentially built this breaks
- Form render goes ahead without waiting for the gelocation control
- The `onload_post_render` in `Location` cannot find the map wrapper as the control is still being built
- Therefore, on a hard load, the control does not show up and appears on soft reload.
2023-05-19 16:56:54 +05:30
Ankush Menat
87a88195ec feat: telemetry using posthog 2023-04-25 10:33:28 +05:30
Suraj Shetty
4b6ab45c57 refactor: Replace fluxify with vuex
Reason:
fluxify has GPL2 licence which is incompatible with MIT hence using vuex which is a similar library and has MIT license.
2022-07-05 19:45:17 +05:30
Suraj Shetty
165a0a408f chore: Add licenses to leaflet libraries 2022-07-04 11:38:06 +05:30
Suraj Shetty
728ff49cec refactor: Get sortable js from node_modules instead of vendoring it
- No point in having a copy since there are no customization done.
2022-07-04 09:17:20 +05:30
Suraj Shetty
8355ca81e0 fix: Add missing licences for vendored library 2022-07-04 08:29:56 +05:30
Suraj Shetty
58d79720c6 chore: Remove unused libraries and files 2022-07-04 08:25:51 +05:30
Suraj Shetty
05f416e448 refactor: Removed vendored socketio library
- Removed vendored socketio library
- Add socket.io-client library
- Removed unnecessary code in socketio server
- Remove chat related code
2022-06-29 14:58:13 +05:30
Suraj Shetty
8f9a4295b6 chore: Remove unused libraries and files 2022-06-24 17:15:35 +05:30
Ankush Menat
1b36dcabe4 chore: remove dead code 2022-05-09 15:48:19 +05:30
ChillarAnand
b2fc959307 refactor: Clean up whitespace & add CI check 2022-02-25 20:01:29 +05:30
marination
3f6eb5d99d fix: Load moment and bind to window from new file
- Introduce new file in `/lib` to import moment and bind to window
- Use new lib file to load moment in web bundle and libs bundle (desk)

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2022-02-02 20:43:01 +05:30
Frappe Bot
d30596b15e refactor: Delete Qunit test files
Since it is no longer used
2021-04-27 21:37:15 +05:30
this-gavagai
e2b91b5454
chore(calendar): Updated fullcalendar.js to v3.10.2 (#12519)
Co-authored-by: theopen-institute <admin@theopen.institute>
2021-03-10 17:19:53 +05:30
Suraj Shetty
671a0cbd01
chore: Remove unused files (#12409)
- Get socket.io client file from node_modules to keep the library up-to-date with security updates
- Remove unused Awesomeplete library entry in build.json. It will also reduce lib.min.js file size.
- Remove unused files
2021-02-16 16:09:16 +05:30
Suraj Shetty
603018ef53
perf: Load workspace faster (#12364) 2021-02-12 19:10:44 +05:30
Gavin D'souza
aea6123348 chore: Drop unused? highlight.pack.js 2020-12-16 17:39:29 +05:30
Faris Ansari
49d6d54a24 fix: Gantt
- Update gantt to 0.5.0
- Move gantt styles to gantt.less
- Remove local lib files and use from node_modules
2020-06-19 18:38:03 +05:30
Andrew McLeod
07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
Faris Ansari
750ad7c6c4 fix: Move microtemplate.js to frappe
lib/ folder is ignored by code editors as it is in .gitignore
2019-07-16 17:12:20 +05:30
Shivam Mishra
2dbec468f5 refactor: remove legacy charts 2019-06-11 17:21:33 +05:30
Rushabh Mehta
81fa64d4bc refactor(form.js): remove very old API 2019-05-24 09:08:56 +05:30
Rushabh Mehta
ac721a6f34 feat(grid): Move row to a particular id 2019-04-21 21:06:06 +05:30
Saif
8d8154b0d7 Allow selecting page orientation for print view of report (#6393) 2018-11-05 11:00:55 +05:30
Rohit Waghchaure
44441d8ce7 Fixed conflicts 2018-10-31 12:09:31 +05:30
Ameya Shenoy
25a0b8dba2
Merge branch 'master' into staging-fixes 2018-10-30 12:09:41 +00:00
Prateeksha Singh
f56000989e
[hotfix] remove legend from heatmap 2018-10-30 09:48:40 +05:30
Faris Ansari
adfc4d726f fix(css): Commonify awesomplete styles (#6029) 2018-08-29 16:12:32 +05:30
Saurabh
176f3b6a15 Resolved merge conflicts 2018-07-18 16:20:06 +05:30
rohitwaghchaure
2f3fabc4f8 [Fix] Disable Show rows with zero values checkbox, still showin zero rows in the print (#5817) 2018-07-12 16:29:59 +05:30
Faris Ansari
0b44529dc9
Moment (#5808)
- Add npm packages
- Add moment builds in frappe-web
- Remove import statements to avoid duplicate loading of moment
2018-07-11 14:52:07 +05:30
Ameya Shenoy
21114bddf1
fixed merge conflict 2018-05-22 21:31:08 +05:30
Ameya Shenoy
06851e7376
Merge branch 'master' into develop 2018-05-22 08:45:40 +00:00
Prateeksha Singh
2e76a75b4b [charts] update, without new build system 2018-05-21 18:03:33 +05:30
Prateeksha Singh
d54980b665 [purge] remove jsbarcode lib, import 2018-05-11 15:52:56 +05:30
Nabin Hait
9fea757559 Merge branch 'master' into develop 2018-04-09 19:16:01 +05:30
partzsch
8cc96357ff Signature field - stop the line width from expanding with each stroke (#5408)
* Update jSignature.min.js

* Adjust line width to smothen strokes
2018-04-09 18:20:46 +05:30
Prateeksha Singh
2515fdf5b2 handle Math.max() for and empty array 2018-03-30 13:02:38 +05:30
Prateeksha Singh
d20de2167c yet another heatmap fix 2018-03-30 10:53:20 +05:30
Faris Ansari
b383e2235f
DataTable in GridReport (#5234)
* DataTable in GridReport

* Remove query_report_old

* Remove SlickGrid library 💃
2018-03-21 12:36:55 +05:30
Prateeksha Singh
784e6c6fea [fix] charts update 2018-03-15 12:10:39 +05:30
Achilles Rasquinha
bc712066cc Render Frappe Chat to Website 2018-03-13 17:03:25 +05:30
Prateeksha Singh
096c8b735c [charts] update API 2018-03-12 09:53:46 +05:30
Faris Ansari
0ed7cc24af
Update frappe-gantt to 0.1.0 (#5113) 2018-03-08 10:50:38 +05:30
Faris Ansari
cd54b6f6a1 Query Report (#5097)
* [listview] Show freeze message

* Call refresh on same page

* Simplify query_report lifecycle, Print partially working

* PDF Print, frappe.render_pdf

* Show freeze message

* Export
2018-02-28 17:10:09 +05:30
Faris Ansari
a522d970e3 Frappe Datatable in Query Reports (#5054)
* wip

* import DataTable in reportview

* first cut

* [wip] Tree in Query Report

* Remove SlickGrid

* Add beta message

* fix codacy
2018-02-27 16:08:32 +05:30
Faris Ansari
92e8856588
New Build System: Rollup (#5010)
* JS build working

* Css build working!

* Uglify JS in production

* fix codacy

* Add frappe.commands.popen

* FIx ESLint errors

* Add socket.io to package.json

* ignore subprocess warnings

* Add babel-runtime

* sleep 20 after bench start

* remove set -e

* [FIX] non-shell subprocess call

* [FIX] use shell = False

* split commands
2018-02-20 13:47:48 +05:30
Achilles Rasquinha
d6a6a11808 revert 2018-01-23 14:13:26 +05:30