Commit graph

257 commits

Author SHA1 Message Date
monirzadeh
d38fe8d7af
Add support for RTL content 2022-02-08 15:51:50 +01:00
Jeremy Benoist
01609f8514
Update to ESLint 8
And run it:
- `yarn eslint app/**/*.js --fix`
- `yarn eslint web/**/*.js --fix`
2022-01-05 21:43:32 +01:00
Jeremy Benoist
9d1716c0e5
Rebuild assets
And add `postcss-scss` and fixing some issues.
2022-01-05 20:43:36 +01:00
Jeremy Benoist
283675ccd0
Rebuild assets and update webpack config
And optimize images (Thanks ImageOptim)
2022-01-05 16:09:43 +01:00
Jeremy Benoist
7ac1217c01
Update assets 2022-01-05 16:04:40 +01:00
Kevin Decherf
1e7849c401 Fix dark mode background color for pre tags
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-10-23 14:50:14 +02:00
Simounet
60d601789c
Fix dark theme first-app code 2021-10-07 15:10:25 +02:00
Simounet
3d74bf483f
Fix 5421 dark theme on the developper page 2021-10-07 19:25:03 +02:00
Simounet
abb69c5911
Pagination style updated 2021-04-14 14:14:49 +02:00
Simounet
dbf62c760a
Fix auto prefered color scheme 2021-02-21 22:07:23 +01:00
Nicolas Lœuillet
890c7d0bfa
Added button to show entries with the same domain 2021-02-08 09:45:38 +01:00
Simounet
99fa116c07
Fix account dropdown width 2021-01-31 11:46:32 +01:00
Simounet
971279d72e
Dark theme updated 2021-01-27 13:10:06 +01:00
Eloi Coutant
4a03869feb Improve dark theme 2021-01-24 15:34:40 +01:00
Simounet
e17d4ebe13
Fix nav lang filter 2021-01-05 22:30:47 +01:00
Nicolas Lœuillet
2267453d1f
Merge pull request #4866 from wallabag/fix/4812/dark-theme-cookie
material: fix issue with cookie check for light/dark theme
2020-12-21 08:53:51 +01:00
Simounet
c1b195f860
Fix extra padding on the homepage main content 2020-12-19 13:57:07 +01:00
Kevin Decherf
0631f5c8d0 material: fix issue with cookie check for light/dark theme
Fixes #4812

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-12-19 01:45:05 +01:00
Simounet
b553b77ceb
Fix dark theme table odd style 2020-12-13 22:07:21 +01:00
Simounet
6431046700
Padding bottom added to article content on mobile 2020-12-01 21:43:50 +01:00
Jérémy Benoist
ecc26e70f2
Merge pull request #4754 from Simounet/feat/remove-public-from-webpack
public assets files removed from webpack
2020-11-27 15:56:55 +01:00
Simounet
53a04b6af1
Global assets files moved to web/img 2020-11-27 15:24:35 +01:00
Simounet
974ff07076
Fix dark theme handling scrolling to the top 2020-11-27 15:24:04 +01:00
Simounet
e9a0577f32
font-family lint 2020-11-24 22:28:52 +01:00
Simounet
184c82f411
Fix nav items alignment 2020-11-24 21:59:06 +01:00
Simounet
66d5042af5
Theme picker 2020-11-19 15:45:58 +01:00
Simounet
a562f6b943
Basic dark theme handling 2020-11-19 14:58:48 +01:00
Kevin Decherf
f4a1401de0 Reduce opacity of archived entries on tag view
Fixes #4466

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-07-13 18:53:39 +02:00
Simounet
a5ac604683
Side nav hidden on mobile tag adding 2020-05-06 22:27:11 +02:00
Nicolas Lœuillet
d9a68f6ced
Enhanced navigation menu in material theme 2020-04-26 21:08:22 +02:00
Nicolas Lœuillet
467327771a
Added mass actions for Material design in list view 2020-04-24 09:12:57 +02:00
Nicolas Lœuillet
a6b5b8f7a9
Changed visibility for article stats 2020-04-22 14:58:24 +02:00
Nicolas Lœuillet
558651783a
Added more coherence with color links for material theme 2020-04-21 17:30:39 +02:00
Nicolas Lœuillet
5434577883
Improved tags list for material view 2020-04-20 11:39:35 +02:00
Nicolas Lœuillet
1598d13248
Enhanced article display
Fixes #4153
2020-04-06 16:32:09 +02:00
Kevin Decherf
8ee7b1603d Fix createdAt date range filter
- hiddenName has been disabled in order to fix the missing date range
  values when using the material theme
- data format has been changed to 'Y-m-d' in order to comply with the
  browser date input default format
- tests: date() and strtotime have been replaced with DateTime-related
  objects

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-03-22 17:01:39 +01:00
Kevin Decherf
3dcb701975 baggy: remove logo from printed pages
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-01-25 15:42:43 +01:00
Kevin Decherf
45582f2992 material: replace display: flex with block in print mode
This change is a workaround for a reported issue with printing flex
items on Firefox

See: https://bugzilla.mozilla.org/show_bug.cgi?id=939897

Fixes #4251

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-01-25 15:40:29 +01:00
Simounet
dc23bf9f29
Entry action buttons displayed on page end reached 2020-01-21 14:06:08 +01:00
Simounet
cfd77d1c2a
Sticky nav on entry action button click 2020-01-21 12:00:21 +01:00
Simounet
0a81f9b9d9
Sidebar sub entries not conditioned by hover anymore 2020-01-19 11:01:24 +01:00
Nicolas Lœuillet
2f5fa30aad
Added MathJax support 2019-09-27 16:01:55 +02:00
Jeremy Benoist
df45126a14
Update translations
Remove log
2019-07-09 15:54:59 +02:00
Jeremy Benoist
66fa0c26ab
Copy client info to clipboard
From the listing page and the create summary page, you can now copy client info to the clipboard using dedicated buttons.
2019-07-09 13:46:02 +02:00
Jeremy Benoist
9f0957b831
Merge remote-tracking branch 'origin/master' into 2.4 2019-05-15 14:38:07 +02:00
Kevin Decherf
4b5b228650 material: add metadata to list view
Add reading time and creation date to rows of list view.
Refactor styles using a sass mixin.

Fixes #3838

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-05-01 15:47:48 +02:00
Thomas Citharel
531c8d0a5c
Changed RSS to Atom feed and improve paging 2019-04-25 13:46:31 +02:00
Jeremy Benoist
3620dae1e6
Merge remote-tracking branch 'origin/master' into 2.4 2019-04-01 13:16:15 +02:00
Kevin Decherf
cf0010cf4a material: fix left padding on non-entry pages introduced by #3893
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-09 00:27:50 +01:00
Kevin Decherf
246cc9ac93 material: add media queries to hide creation date from card actions
Hide the creation date from card actions on specific sizes when there's
not enough space for all parts.

Fixes #3851

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-03 19:22:32 +01:00
Kevin Decherf
f1f1efb5de material: wrap card actions, remove class hiding of creation date
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-03 19:22:32 +01:00
Kevin Decherf
05232afe32 material: fix left padding of content on medium screens
Fixes #3877

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-02 23:46:00 +01:00
Kevin Decherf
fb7dedf36c material: move a media query from cards to dedicated scss file
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-02 22:48:43 +01:00
Jeremy Benoist
a6b242a1fd
Enable OTP 2FA
- Update SchebTwoFactorBundle to version 3
- Enable Google 2fa on the bundle
- Disallow ability to use both email and google as 2fa
- Update Ocramius Proxy Manager to handle typed function & attributes (from PHP 7)
- use `$this->addFlash` shortcut instead of `$this->get('session')->getFlashBag()->add`
- update admin to be able to create/reset the 2fa
2019-01-23 13:28:02 +01:00
Jeremy Benoist
50f35f0db2
Move icon into the top menu bar
Change the way to select a random entry:
- select all ids from the given user (with filters)
- choose randomly one in php
- find that entry
2019-01-19 22:24:10 +01:00
Jeremy Benoist
5419a8368e
Merge remote-tracking branch 'origin/master' into 2.4 2019-01-15 09:41:18 +01:00
Kevin Decherf
20898d5ef4
Merge pull request #3783 from wallabag/issue-3780
material: decrease size of tags on list view
2018-11-26 18:45:38 +01:00
Kevin Decherf
13d94929ec material: decrease size of tags on list view
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-11-25 15:38:17 +01:00
Kevin Decherf
e5de9917fd material: fix missing thumbnail on list view
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-11-25 15:00:08 +01:00
Jeremy Benoist
b878be4cc9
Merge remote-tracking branch 'origin/master' into 2.4
# Conflicts:
#	web/wallassets/baggy.js
#	web/wallassets/manifest.json
#	web/wallassets/material.css
#	web/wallassets/material.js
2018-11-25 09:58:18 +01:00
Simounet
2daae77094 Card no preview replaced by wallabag logo 2018-11-21 18:51:44 +01:00
Matt Burke
cefbe6a87f Add placeholder image to card-based gallery entries page for #3651
I referenced https://css-tricks.com/using-svg/ for using the SVG icon.
The icon has a black foreground and white background, which doesn't
look very good as a placeholder. So, using the background-image style
to show the svg and the inversion filter to make it white on gray.

With the image always present, there isn't much difference between
the with and without image preview templates, so I merged them.

Tested on Chrome, Firefox, and Safari on OSX.
2018-10-15 23:59:39 -04:00
Stéphane HULARD
32968bd30e
Add specific styles for the card tag form element.
Also add a `.hidden` class in the baggy theme to have consistency with material.
2018-09-25 10:18:35 +02:00
Stéphane HULARD
9b0aef9171
Update tag list template to allow renaming.
* Add a form on each tag to handle rename action.
* Add JavaScript to handle action on the corresponding page inside the global index.js file.
* Add support for the 2 active themes : material / baggy

The form solution is cleaner than an Ajax one because it let the browser validate input data and make the POST easier without the need to handle JSON response.
2018-09-25 10:18:08 +02:00
Simounet
e93f37206a wallabag logo (side-nav) replaced by an SVG one 2018-07-11 21:57:53 +02:00
Simounet
4c78612eb4 wallabag logo with typo replaced by an SVG one 2018-07-11 21:51:52 +02:00
Simounet
2fdd512488 Fake wallabag logo data image replaced by real SVG 2018-07-11 21:25:46 +02:00
Simounet
6cf7f21dcb Fix mobile viewport on big iframe and video elements 2018-06-28 15:22:51 +02:00
Jérémy Benoist
36054f5dd4
Merge pull request #3636 from flozz/syntax-highlight
Highlight code in articles using highlight.js
2018-06-07 06:22:14 +00:00
Simounet
f136d288d6 Fix Firefox mobile unneeded resize
Before that, on Firefox Mobile, when you were moving to the top or to
the bottom of the page, you were stopped before to go to the opposite
side.
2018-05-24 09:04:02 +02:00
Simounet
a6e5637507 Fix overflow wrap issue 2018-05-21 19:47:28 +02:00
Fabien LOISON
b2e7b8b600
Highlight code in articles using highlight.js 2018-04-23 19:11:24 +02:00
Simounet
91f5992423 Close add entry and search nav JS action improved 2018-01-12 10:07:46 +01:00
Simounet
2831e77cce Nav close button alignment and nav boxes improved 2018-01-12 10:07:46 +01:00
Simounet
63771b9ae3 Fix nav new entry and search form alignment 2018-01-12 10:07:46 +01:00
Simounet
f86c2b5fa6 Label replaced by a button on the nav search form 2018-01-12 10:07:46 +01:00
Simounet
e9e3f93805 Label replaced by a button on the nav new entry form 2018-01-12 10:07:46 +01:00
Simounet
49fb9e7cab Card tags template shared 2017-12-26 09:02:00 +01:00
Simounet
a8541089be Useless span removed from the card's title 2017-12-26 09:00:33 +01:00
Simounet
f072829ce3 More space for navbar actions on mobile 2017-12-08 21:10:36 +01:00
Simounet
da2a5fe222 Toggle menu anchor replaced by a button 2017-12-08 21:01:44 +01:00
Simounet
93e3329c58 Fix nav title nowrap on mobile 2017-12-07 23:46:29 +01:00
Simounet
7475924eac Border radius on every corner of tag's list 2017-12-08 10:20:58 +01:00
Simounet
c235cb75cd Fix duplicated code removed 2017-12-08 10:18:49 +01:00
Simounet
3e7d86b2c5 Tags list view improved
No text ellipsis so we can see the whole tag, better responsiveness, bigger
touch height on links.
2017-12-08 10:18:49 +01:00
Simounet
a6beec1bd2 Footer's stats displayed on mobile 2017-12-06 22:46:24 +01:00
Simounet
39217f3108 Fix line-height issue on the footer 2017-12-06 22:21:19 +01:00
Simounet
1f84aa903d Fix wrong selected page number alignment on pagination 2017-12-04 22:46:35 +01:00
Simounet
f836b98fa6 Fix pagination on list mode 2017-12-04 22:31:30 +01:00
Simounet
2784f674ea Figure image and figcaption centered on share page 2017-12-03 14:41:15 +01:00
Simounet
970e107524 Share page improved (mobile + header's padding) 2017-12-03 14:38:46 +01:00
Kevin Decherf
2f510787e7 material: replace card activator with article link on card preview
Fixes #2424

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-11-06 20:49:41 +01:00
Kevin Decherf
3d46eeeb33 material: disable editing of entry url input when submitting new url
Fixes #1871

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-11-05 13:14:47 +01:00
Kevin Decherf
7a1e1247cb webpack: handle _global img folder
Fixes missing image files after composer cleaning assets

Source of requireAll(): https://stackoverflow.com/a/30652110

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-10-16 00:01:52 +02:00
Kevin Decherf
ef7f187fa8 Fix non-centered login form
Fixes #3343

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-10-16 00:01:52 +02:00
Nicolas Lœuillet
ed5e175c20 Merge pull request #3347 from Kdecherf/entry-stats
Entry view: update .stats margins and color
2017-09-16 13:01:33 +02:00
Kevin Decherf
79ea33c9d3 Entry view: update .stats margins and color
Decreasing margin of .stats, increasing vertical margin of .stats li,
increasing right margin of material icons and reducing contrast of
material icons.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-09-09 21:35:19 +02:00
Kevin Decherf
e317a5ab60 Fix webpack error on comments
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-09-06 22:42:23 +02:00
Thomas Citharel
77255d6688 Add css on share public page 2017-06-22 12:15:24 +02:00
Jeremy Benoist
6b1b148d65 Add share.scss file
Still needs to include it in the twig template
2017-06-22 12:13:22 +02:00