Jojo144
7412d67ed6
[History] Truncate external links in history when they are too long
2023-10-01 23:57:47 +02:00
43289b8dd2
Fix project deletion in the dashboard. Fixes #1094
...
This was broken due to changes introduced to make project deletion more
secure. Rather than doing some complicated if branches, I decided this
dashboard stuff is probably better handled with separate routes instead.
So I've reintroduced a way to delete the projects without specifying the
project code (otherwise it's not possible for admins to do it).
2023-01-29 23:03:14 +01:00
Glandos
f90db8381d
- factor confirm deletion between project and bill
...
- better look for bill deletion confirm, using an absolute positionning in the action cell
2023-01-28 17:06:33 +01:00
cbrosnan
4bef5ad922
added confirmation for expense deletion ( #1096 )
2022-12-11 21:19:31 +01:00
7714ed9198
Favicon update. ( #1102 )
...
Original work by @asya99 in #1024 . Thanks for this :-)
2022-12-11 12:44:47 +01:00
Glandos
a0d13e4081
Top pagination and new bill button are sticky ( #956 )
2021-12-14 22:51:06 +01:00
Glandos
b9fee9e886
Rework flash messages ( #943 )
2021-12-01 22:42:20 +01:00
Youe Graillot
db1379be34
Legal link fixes ( #950 )
...
* fix default legal link value in docker
* fix footer-right overflow
2021-11-28 18:45:45 +01:00
Glandos
521838ace4
small css cleanup by using bootstrap classes ( #945 )
2021-11-26 00:06:36 +01:00
Nikos Epping
05ac991a55
Allow clicking buttons behind messages div ( #929 )
2021-11-24 21:56:14 +01:00
Glandos
9bffe72607
Upgrade jquery
2021-11-13 22:33:18 +01:00
Glandos
c59aaadcde
sidebar_table_layout switches to flex column layout ( #905 )
...
* Fixes #896
sidebar_table_layout switches to flex column layout
remove all 'float' buttons, replace them with nice flexboxes.
bill_table needs a flex-basis because with a very small width, it has a 0 height. I don't really know why, but adding a flex-basis: auto shows it.
* ensure new bill is on top of pagination
2021-11-01 20:08:48 +01:00
JocelynDelalande
18aebb618f
Avoid showcase-guy to point his finger at nothing ( #901 )
...
That occured on some screen sizes.
2021-10-30 17:36:42 +02:00
Glandos
ff4de78b56
Reduce the size of showcase images ( #899 )
...
Fixes #875
Original showcase images are kept in another directory, and compressed
in webp in the distributed directory.
Since they won't change so much, let's keep them in git.
2021-10-30 17:30:59 +02:00
53c88c3b13
Add a LEGAL_LINK setting. Fixes #761 ( #883 )
2021-10-21 19:16:32 +02:00
d1297c9c64
Reduce the resolution of showcase pictures by 50%.
...
Done with `mogrify -quality 75% -resize 50% ihatemoney/static/showcase/*.jpg`.
Before :
```
du -hsc ihatemoney/static/showcase/?.jpg
576K ihatemoney/static/showcase/1.jpg
512K ihatemoney/static/showcase/2.jpg
424K ihatemoney/static/showcase/3.jpg
464K ihatemoney/static/showcase/4.jpg
464K ihatemoney/static/showcase/5.jpg
712K ihatemoney/static/showcase/6.jpg
492K ihatemoney/static/showcase/7.jpg
592K ihatemoney/static/showcase/8.jpg
788K ihatemoney/static/showcase/9.jpg
5.0M total
```
After :
```
184K ihatemoney/static/showcase/1.jpg
140K ihatemoney/static/showcase/2.jpg
136K ihatemoney/static/showcase/3.jpg
132K ihatemoney/static/showcase/4.jpg
144K ihatemoney/static/showcase/5.jpg
208K ihatemoney/static/showcase/6.jpg
160K ihatemoney/static/showcase/7.jpg
164K ihatemoney/static/showcase/8.jpg
224K ihatemoney/static/showcase/9.jpg
1,5M total
```
Fixes #875
2021-10-21 09:34:45 +02:00
zorun
97447c96f5
Improve pagination style ( #873 )
...
The style for top and bottom pagination was different, and the top part
was confusing.
Also translate bottom pagination text.
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-20 00:53:50 +02:00
Glandos
e2286676f1
Flash messages must be dimissed manually
2021-10-14 00:09:20 +02:00
HarshVT8999
cb8f6aaafb
Changed Font Size of the Logo ( #828 )
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2021-10-11 19:30:00 +02:00
Oleg
0d8d57c5b0
Fix language list scrollable on mobile ( #811 )
2021-07-18 23:28:27 +02:00
Baptiste Jonglez
2bb6f2b6a7
Rework project deletion to add CSRF validation
...
It requires reworking the user interface, but it's probably for the best.
2021-07-17 13:54:11 +02:00
Baptiste Jonglez
109d7fca17
Add CSRF validation to most disruptive actions
...
This also switches all such actions to POST requests.
Deleting the project is handled in another commit because it requires more
changes.
2021-07-17 13:54:11 +02:00
Mayank Choudhary
6ec7dd6077
Added a page for downloading mobile application ( #688 )
...
Fixes #597
Fixes #697
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-11-24 22:22:46 +01:00
kanta
65988d4993
Changed @media max-width for .home .card to 450px to make it more responsive
2020-07-18 00:50:11 +02:00
Glandos
4c8b90b8cc
Rename see to show ( #638 )
2020-05-30 14:36:50 +02:00
Glandos
76911983af
compress jpeg with mozjpeg and png with zopfli ( #611 )
2020-05-07 22:54:55 +02:00
Jojo144
bd1122cc0e
Integrate illustrations as a showcase ( #544 )
...
Integrate some custom graphics, and a whole comics explanation, only in French for now.
Fix #363
2020-05-07 22:34:31 +02:00
Andrew Dickinson
026a072235
Add Project History Page ( #553 )
...
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
All project activity can be tracked, using SQLAlchemy-continuum.
IP addresses can optionally be recorded.
2020-04-20 15:30:27 +02:00
eMerzh
03251c090e
merge settings and import to avoid clutter ( #550 )
2020-04-08 14:00:24 +02:00
eMerzh
23b7e397f2
fix(Home): correct responsive width of cards ( #549 )
2020-04-05 23:39:50 +02:00
bmatt
a8e74c98df
Bmatticus/feature/112 dashboard sorting ( #538 )
...
* Added DataTables for table sorting, pagination, and searching of bill_table for dashboard. Issue #112
* Moved datatables CSS/JS to dashboard to reduce loaded data throughout
* Moved link back to proper place, in head tab, but added if to prevent loading CSS/JS for datatables outside of the dashboard. Also added eye icon to drill into list_billa API to be more consistent with the look and feel of the overall site.
Co-authored-by: bmatt <bmatt@nuc01.attlocal.net>
2020-03-06 23:06:17 +01:00
Glandos
5ec3dc0acc
Align tables in statistics ( #535 )
...
* Align tables in statistics
The table in sidebar is now aligned with the one in content, to avoid
redundant informations.
All tables are back to normal on small devices.
* fix test
* run black on tests
2020-02-20 09:43:50 +01:00
zorun
9378694034
Paginate the list of bills ( #480 )
...
We display 100 bills on each page. We only show previous/next buttons (at
the top of the view) and the list of pages (at the bottom) if there are
more than one pages.
This uses built-in pagination support from Flask-SQLAlchemy:
https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.BaseQuery.paginate
https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.Pagination
2020-02-20 09:43:00 +01:00
Edwin Smulders
02242f2e12
Initial montly expenses ( #526 )
2020-02-09 13:03:52 +01:00
f51a02005c
Remove jQuery datepicker.
...
We don't need this anymore because all major browser now have implemented that feature on the browser itself.
Closes #221 .
2019-10-19 12:31:17 +02:00
José Antonio de la Torre
5158135ac6
Prettify css
2019-10-17 20:17:38 +02:00
José Antonio de la Torre
5e37e33716
Added support to split messages #133
2019-10-17 20:17:38 +02:00
Leo Mouyna
afc9353180
feat: Optional field 'external link' in bill form.
...
An optional field has been added to the bill form to add a link to a real bill. A new action button allow user to see this bill. Breaking change with Bill model update for database, a migration is needed.
See issue #429 .
2019-10-03 18:15:50 +02:00
Brice Maron
9c9832704d
bill list: add placeholder and disable add bill when no members
2019-09-06 22:00:39 +02:00
Adrien CLERC
8531ea5b19
use zopflipng to the max to recompress png
2019-09-02 13:34:53 +02:00
Brice Maron
3d7ab656e1
Rework invite people to project
2019-08-26 20:11:42 +00:00
Brice Maron
0edf8634a4
Move export form to links
2019-08-26 19:59:55 +00:00
Brice Maron
09d887cde2
add homepage design
2019-08-18 21:37:20 +00:00
Brice Maron
5b2fa36efa
fix flash messages position
2019-08-18 21:37:20 +00:00
Brice Maron
60b76f32f5
Add project switcher on login page if already logged
2019-08-18 21:37:20 +00:00
Brice Maron
72acde7122
Add footer with links
2019-08-18 21:37:20 +00:00
Brice Maron
fd49599cc7
Arrange navbar items by functions
2019-08-18 21:37:20 +00:00
Brice Maron
89e78bb4d0
Remove Added on column from bill list.
...
to avoid breaking anyone's workflow, i've instead use a tooltip to display the creation date.
fix #418
2019-07-27 03:44:42 +02:00
Brice Maron
2a9f447054
remove console log
2019-07-26 17:02:43 +02:00
Brice Maron
227ce0a1fb
prettier the css file
2019-07-25 13:26:46 +02:00